Searched refs:ProgramElements (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/tests/ |
D | SkSLDSLTest.cpp | 1301 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/ |
D | DSLFunction.cpp | 70 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()
|
D | DSLCore.cpp | 145 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()
|
D | DSLType.cpp | 285 ThreadContext::ProgramElements().push_back(std::make_unique<SkSL::StructDefinition>(/*line=*/-1, in Struct()
|
/third_party/skia/src/sksl/transform/ |
D | SkSLBuiltinVariableScanner.cpp | 70 for (auto& e : ThreadContext::ProgramElements()) { in FindAndDeclareBuiltinVariables()
|
/third_party/skia/src/sksl/ |
D | SkSLThreadContext.h | 76 static std::vector<std::unique_ptr<SkSL::ProgramElement>>& ProgramElements() { in ProgramElements() function
|
D | SkSLDSLParser.cpp | 244 std::move(ThreadContext::ProgramElements()) }; in moduleInheritingFrom()
|
/third_party/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 124 ThreadContext::ProgramElements().clear(); in Reset()
|