Home
last modified time | relevance | path

Searched refs:DSLWriter (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/src/sksl/dsl/priv/
DDSLWriter.cpp24 bool DSLWriter::ManglingEnabled() { in ManglingEnabled()
28 skstd::string_view DSLWriter::Name(skstd::string_view name) { in Name()
38 const SkSL::Variable* DSLWriter::Var(DSLVarBase& var) { in Var()
69 std::unique_ptr<SkSL::Variable> DSLWriter::CreateParameterVar(DSLParameter& var) { in CreateParameterVar()
78 std::unique_ptr<SkSL::Statement> DSLWriter::Declaration(DSLVarBase& var) { in Declaration()
89 void DSLWriter::MarkDeclared(DSLVarBase& var) { in MarkDeclared()
94 bool DSLWriter::MarkVarsDeclared() { in MarkVarsDeclared()
98 void DSLWriter::AddVarDeclaration(DSLStatement& existing, DSLVar& additional) { in AddVarDeclaration()
116 GrGLSLUniformHandler::UniformHandle DSLWriter::VarUniformHandle(const DSLGlobalVar& var) { in VarUniformHandle()
121 void DSLWriter::Reset() { in Reset()
DDSLWriter.h36 class DSLWriter {
DDSLFPs.cpp63 return DSLWriter::VarUniformHandle(var); in VarUniformHandle()
/third_party/skia/tests/
DSkSLDSLErrorLineNumbers.cpp66 DSLWriter::MarkDeclared(a); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
74 DSLWriter::MarkDeclared(a); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
81 DSLWriter::MarkDeclared(a); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
DSkSLDSLTest.cpp1342 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1350 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1361 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1373 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1380 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1388 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1468 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1481 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1496 DSLWriter::Reset(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1505 DSLWriter::MarkDeclared(varArg1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
/third_party/skia/src/sksl/dsl/
DDSLVar.cpp42 , fName(fType.skslType().isOpaque() ? name : DSLWriter::Name(name)) in DSLVarBase()
44 , fDeclared(DSLWriter::MarkVarsDeclared()) in DSLVarBase()
108 DSLWriter::MarkDeclared(*this); in DSLGlobalVar()
DDSLFunction.cpp48 std::unique_ptr<SkSL::Variable> paramVar = DSLWriter::CreateParameterVar(*param); in init()
59 name == "main" ? name : DSLWriter::Name(name), in init()
DDSLSymbols.cpp49 const SkSL::Variable* skslVar = DSLWriter::Var(var); in AddToSymbolTable()
DDSLCore.cpp154 return DSLWriter::Declaration(var); in Declare()
170 std::unique_ptr<SkSL::Statement> stmt = DSLWriter::Declaration(var); in Declare()
262 DSLWriter::MarkDeclared(var); in InterfaceBlock()
264 const SkSL::Variable* skslVar = DSLWriter::Var(var); in InterfaceBlock()
DDSLExpression.cpp78 fExpression = std::make_unique<SkSL::VariableReference>(pos.line(), DSLWriter::Var(var), in DSLExpression()
/third_party/skia/src/sksl/
DSkSLThreadContext.h34 class DSLWriter; variable
221 friend class dsl::DSLWriter;
DBUILD.bazel85 "dsl/priv/DSLWriter.cpp",
86 "dsl/priv/DSLWriter.h",
DSkSLCompiler.h45 class DSLWriter; variable
DSkSLDSLParser.cpp515 DSLWriter::AddVarDeclaration(result, next); in localVarDeclarationEnd()
/third_party/skia/include/sksl/
DDSLModifiers.h57 friend class DSLWriter; variable
DDSLStatement.h73 friend class DSLWriter; variable
DDSLType.h180 friend class DSLWriter; variable
DDSLVar.h141 friend class DSLWriter; variable
DDSLExpression.h171 friend class DSLWriter; variable
/third_party/skia/gm/
Ddsl_processor_test.cpp39 SkASSERT(DSLWriter::Var(x)->initialValue()->description() == "1"); in onMakeProgramImpl()
/third_party/skia/gn/
Dsksl.gni101 "$_src/sksl/dsl/priv/DSLWriter.cpp",
102 "$_src/sksl/dsl/priv/DSLWriter.h",