Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
SkRuntimeEffect::TracedShader Struct Reference

#include <SkRuntimeEffect.h>

Public Attributes

sk_sp< SkShadershader
 
sk_sp< SkSL::DebugTracedebugTrace
 

Detailed Description

Creates a new Runtime Effect patterned after an already-existing one. The new shader behaves like the original, but also creates a debug trace of its execution at the requested coordinate. After painting with this shader, the associated DebugTrace object will contain a shader execution trace. Call writeTrace on the debug trace object to generate a full trace suitable for a debugger, or call dump to emit a human-readable trace.

Debug traces are only supported on a raster (non-GPU) canvas.

Debug traces are currently only supported on shaders. Color filter and blender tracing is a work-in-progress.

Definition at line 240 of file SkRuntimeEffect.h.

Member Data Documentation

◆ debugTrace

sk_sp<SkSL::DebugTrace> SkRuntimeEffect::TracedShader::debugTrace

Definition at line 242 of file SkRuntimeEffect.h.

◆ shader

sk_sp<SkShader> SkRuntimeEffect::TracedShader::shader

Definition at line 241 of file SkRuntimeEffect.h.


The documentation for this struct was generated from the following file: