Home
last modified time | relevance | path

Searched refs:ProgramElements (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DSkSLDSLTest.cpp1252 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/
DDSLFunction.cpp97 DSLWriter::ProgramElements().push_back(std::move(function)); in define()
DDSLType.cpp189 DSLWriter::ProgramElements().push_back(std::make_unique<SkSL::StructDefinition>(/*offset=*/-1, in Struct()
DDSLCore.cpp94 DSLWriter::ProgramElements().push_back(std::make_unique<SkSL::GlobalVarDeclaration>( in DeclareGlobal()
/external/skia/src/sksl/dsl/priv/
DDSLWriter.cpp90 ProgramElements().clear(); in Reset()
284 SkASSERT(ProgramElements().empty()); in ReleaseProgram()
DDSLWriter.h71 static std::vector<std::unique_ptr<SkSL::ProgramElement>>& ProgramElements() { in ProgramElements() function