Flutter Engine
The Flutter Engine
|
Public Member Functions | |
void | emitCode (EmitArgs &) override |
Public Member Functions inherited from GrFragmentProcessor::ProgramImpl | |
ProgramImpl ()=default | |
virtual | ~ProgramImpl ()=default |
void | setData (const GrGLSLProgramDataManager &pdman, const GrFragmentProcessor &processor) |
int | numChildProcessors () const |
ProgramImpl * | childProcessor (int index) const |
void | setFunctionName (SkString name) |
const char * | functionName () const |
SkString | invokeChild (int childIndex, EmitArgs &parentArgs, std::string_view skslCoords={}) |
SkString | invokeChildWithMatrix (int childIndex, EmitArgs &parentArgs) |
SkString | invokeChild (int childIndex, const char *inputColor, EmitArgs &parentArgs, std::string_view skslCoords={}) |
SkString | invokeChildWithMatrix (int childIndex, const char *inputColor, EmitArgs &parentArgs) |
SkString | invokeChild (int childIndex, const char *inputColor, const char *destColor, EmitArgs &parentArgs, std::string_view skslCoords={}) |
SkString | invokeChildWithMatrix (int childIndex, const char *inputColor, const char *destColor, EmitArgs &parentArgs) |
Private Member Functions | |
void | onSetData (const GrGLSLProgramDataManager &, const GrFragmentProcessor &) override |
Additional Inherited Members | |
Public Types inherited from GrFragmentProcessor::ProgramImpl | |
using | UniformHandle = GrGLSLUniformHandler::UniformHandle |
using | SamplerHandle = GrGLSLUniformHandler::SamplerHandle |
Definition at line 532 of file GrRRectEffect.cpp.
|
overridevirtual |
Implements GrFragmentProcessor::ProgramImpl.
Definition at line 545 of file GrRRectEffect.cpp.
|
overrideprivatevirtual |
A ProgramImpl instance can be reused with any GrFragmentProcessor that produces the same the same key; this function reads data from a GrFragmentProcessor and uploads any uniform variables required by the shaders created in emitCode(). The GrFragmentProcessor parameter is guaranteed to be of the same type that created this ProgramImpl and to have an identical key as the one that created this ProgramImpl.
Reimplemented from GrFragmentProcessor::ProgramImpl.
Definition at line 638 of file GrRRectEffect.cpp.