Flutter Engine
The Flutter Engine
Functions | Variables
SkRuntimeShader.cpp File Reference
#include "src/shaders/SkRuntimeShader.h"
#include "include/core/SkCapabilities.h"
#include "include/core/SkData.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkShader.h"
#include "include/core/SkString.h"
#include "include/effects/SkRuntimeEffect.h"
#include "include/private/SkSLSampleUsage.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTArray.h"
#include "include/sksl/SkSLDebugTrace.h"
#include "src/base/SkTLazy.h"
#include "src/core/SkEffectPriv.h"
#include "src/core/SkPicturePriv.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkRuntimeEffectPriv.h"
#include "src/core/SkWriteBuffer.h"
#include "src/shaders/SkShaderBase.h"
#include "src/sksl/codegen/SkSLRasterPipelineBuilder.h"
#include "src/sksl/tracing/SkSLDebugTracePriv.h"
#include <cstdint>
#include <optional>
#include <string>
#include <utility>

Go to the source code of this file.

Functions

static sk_sp< SkSL::DebugTracePrivmake_debug_trace (SkRuntimeEffect *effect, const SkIPoint &coord)
 

Variables

constexpr bool kLenientSkSLDeserialization = false
 

Function Documentation

◆ make_debug_trace()

static sk_sp< SkSL::DebugTracePriv > make_debug_trace ( SkRuntimeEffect effect,
const SkIPoint coord 
)
static

Definition at line 62 of file SkRuntimeShader.cpp.

63 {
64 auto debugTrace = sk_make_sp<SkSL::DebugTracePriv>();
65 debugTrace->setSource(effect->source());
66 debugTrace->setTraceCoord(coord);
67 return debugTrace;
68}
const std::string & source() const

Variable Documentation

◆ kLenientSkSLDeserialization

constexpr bool kLenientSkSLDeserialization = false
constexpr

Definition at line 38 of file SkRuntimeShader.cpp.