Searched refs:ProgramElements (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | SkSLDSLTest.cpp | 1252 REPORTER_ASSERT(r, DSLWriter::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1253 EXPECT_EQUAL(*DSLWriter::ProgramElements()[0], in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1272 REPORTER_ASSERT(r, DSLWriter::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1273 EXPECT_EQUAL(*DSLWriter::ProgramElements()[0], in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1318 REPORTER_ASSERT(r, DSLWriter::ProgramElements().size() == 2); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1319 EXPECT_EQUAL(*DSLWriter::ProgramElements()[0], "int x = 0;"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1320 EXPECT_EQUAL(*DSLWriter::ProgramElements()[1], "uniform float2 y;"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1380 REPORTER_ASSERT(r, DSLWriter::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1381 EXPECT_EQUAL(*DSLWriter::ProgramElements()[0], in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1392 REPORTER_ASSERT(r, DSLWriter::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT() [all …]
|
/external/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 97 DSLWriter::ProgramElements().push_back(std::move(function)); in define()
|
D | DSLType.cpp | 189 DSLWriter::ProgramElements().push_back(std::make_unique<SkSL::StructDefinition>(/*offset=*/-1, in Struct()
|
D | DSLCore.cpp | 94 DSLWriter::ProgramElements().push_back(std::make_unique<SkSL::GlobalVarDeclaration>( in DeclareGlobal()
|
/external/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 90 ProgramElements().clear(); in Reset() 284 SkASSERT(ProgramElements().empty()); in ReleaseProgram()
|
D | DSLWriter.h | 71 static std::vector<std::unique_ptr<SkSL::ProgramElement>>& ProgramElements() { in ProgramElements() function
|