Flutter Engine
The Flutter Engine
|
#include <SkSLCodeGenerator.h>
Public Member Functions | |
CodeGenerator (const Context *context, const ShaderCaps *caps, const Program *program, OutputStream *stream) | |
virtual | ~CodeGenerator ()=default |
virtual bool | generateCode ()=0 |
OutputStream * | outputStream () |
void | setOutputStream (OutputStream *output) |
Protected Attributes | |
const Program & | fProgram |
Context | fContext |
const ShaderCaps & | fCaps |
OutputStream * | fOut |
Static Protected Attributes | |
static constexpr float | kSharpenTexturesBias = -.475f |
Abstract superclass of all code generators, which take a Program as input and produce code as output.
Definition at line 23 of file SkSLCodeGenerator.h.
|
inline |
Definition at line 25 of file SkSLCodeGenerator.h.
|
virtualdefault |
|
pure virtual |
Implemented in SkSL::GLSLCodeGenerator, SkSL::MetalCodeGenerator, SkSL::SPIRVCodeGenerator, and SkSL::WGSLCodeGenerator.
|
inline |
Definition at line 43 of file SkSLCodeGenerator.h.
|
inline |
Definition at line 44 of file SkSLCodeGenerator.h.
|
protected |
Definition at line 64 of file SkSLCodeGenerator.h.
|
protected |
Definition at line 63 of file SkSLCodeGenerator.h.
|
protected |
Definition at line 65 of file SkSLCodeGenerator.h.
|
protected |
Definition at line 62 of file SkSLCodeGenerator.h.
|
staticconstexprprotected |
Definition at line 59 of file SkSLCodeGenerator.h.