Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkSLDSLTest.cpp1301 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1302 EXPECT_EQUAL(*SkSL::ThreadContext::ProgramElements()[0], in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1321 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().size() == 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1322 EXPECT_EQUAL(*SkSL::ThreadContext::ProgramElements()[0], in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1351 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().empty()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1355 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().size() == 2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1356 EXPECT_EQUAL(*SkSL::ThreadContext::ProgramElements()[0], "half4 a;"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1357 EXPECT_EQUAL(*SkSL::ThreadContext::ProgramElements()[1], "half4 b = half4(1.0);"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1362 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().empty()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1367 REPORTER_ASSERT(r, SkSL::ThreadContext::ProgramElements().size() == 2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
/third_party/skia/src/sksl/dsl/
DDSLFunction.cpp70 ThreadContext::ProgramElements().push_back(std::make_unique<SkSL::FunctionPrototype>( in init()
82 if (!ThreadContext::ProgramElements().empty()) { in define()
85 const SkSL::ProgramElement& last = *ThreadContext::ProgramElements().back(); in define()
89 ThreadContext::ProgramElements().pop_back(); in define()
107 ThreadContext::ProgramElements().push_back(std::move(function)); in define()
DDSLCore.cpp145 ThreadContext::ProgramElements().push_back(std::make_unique<SkSL::ModifiersDeclaration>( in Declare()
173 ThreadContext::ProgramElements().push_back( in Declare()
269 ThreadContext::ProgramElements().push_back(std::move(intf)); in InterfaceBlock()
375 ThreadContext::ProgramElements().push_back(std::make_unique<SkSL::Extension>(pos.line(), name)); in AddExtension()
DDSLType.cpp285 ThreadContext::ProgramElements().push_back(std::make_unique<SkSL::StructDefinition>(/*line=*/-1, in Struct()
/third_party/skia/src/sksl/transform/
DSkSLBuiltinVariableScanner.cpp70 for (auto& e : ThreadContext::ProgramElements()) { in FindAndDeclareBuiltinVariables()
/third_party/skia/src/sksl/
DSkSLThreadContext.h76 static std::vector<std::unique_ptr<SkSL::ProgramElement>>& ProgramElements() { in ProgramElements() function
DSkSLDSLParser.cpp244 std::move(ThreadContext::ProgramElements()) }; in moduleInheritingFrom()
/third_party/skia/src/sksl/dsl/priv/
DDSLWriter.cpp124 ThreadContext::ProgramElements().clear(); in Reset()