/third_party/skia/include/sksl/ |
D | DSLVar.h | 42 DSLVarBase(const DSLModifiers& modifiers, DSLType type, skstd::string_view name, 45 DSLVarBase(const DSLModifiers& modifiers, DSLType type, DSLExpression initialValue, 56 const DSLModifiers& modifiers() const { in modifiers() 121 DSLModifiers fModifiers; 165 DSLVar(const DSLModifiers& modifiers, DSLType type, skstd::string_view name = "var", 169 DSLVar(const DSLModifiers& modifiers, DSLType type, const char* name, 213 DSLGlobalVar(const DSLModifiers& modifiers, DSLType type, skstd::string_view name = "var", 217 DSLGlobalVar(const DSLModifiers& modifiers, DSLType type, const char* name, 276 DSLParameter(const DSLModifiers& modifiers, DSLType type, skstd::string_view name = "var", 280 DSLParameter(const DSLModifiers& modifiers, DSLType type, const char* name,
|
D | DSLModifiers.h | 33 class DSLModifiers { 35 DSLModifiers(int flags = 0) 36 : DSLModifiers(DSLLayout(), flags) {} in DSLModifiers() function 38 DSLModifiers(DSLLayout layout, int flags = 0)
|
D | DSLFunction.h | 31 : DSLFunction(DSLModifiers(), returnType, name, parameters...) {} in DSLFunction() 34 DSLFunction(const DSLModifiers& modifiers, const DSLType& returnType, skstd::string_view name, in DSLFunction() 50 this->init(DSLModifiers(), returnType, name, std::move(parameters), pos); 53 DSLFunction(const DSLModifiers& modifiers, const DSLType& returnType, skstd::string_view name, 105 void init(DSLModifiers modifiers, const DSLType& returnType, skstd::string_view name,
|
D | DSLType.h | 91 DSLModifiers* modifiers, 227 : DSLField(DSLModifiers(), type, name, pos) {} in DSLField() argument 229 DSLField(const DSLModifiers& modifiers, const DSLType type, skstd::string_view name, 237 DSLModifiers fModifiers;
|
D | BUILD.bazel | 13 "DSLModifiers.h",
|
D | DSL.h | 24 using Modifiers = DSLModifiers;
|
D | DSLLayout.h | 87 friend class DSLModifiers; variable
|
D | DSLCore.h | 94 void Declare(const DSLModifiers& modifiers, PositionInfo pos = PositionInfo::Capture()); 146 DSLGlobalVar InterfaceBlock(const DSLModifiers& modifiers, skstd::string_view typeName,
|
/third_party/skia/src/sksl/ |
D | SkSLDSLParser.h | 146 bool functionDeclarationEnd(const dsl::DSLModifiers& modifiers, 152 dsl::DSLModifiers fModifiers; 165 SkTArray<dsl::DSLGlobalVar> structVarDeclaration(const dsl::DSLModifiers& modifiers); 171 void globalVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods, 174 dsl::DSLStatement localVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods, 185 dsl::DSLModifiers modifiers(); 189 skstd::optional<dsl::DSLType> type(dsl::DSLModifiers* modifiers); 191 bool interfaceBlock(const dsl::DSLModifiers& mods);
|
D | SkSLDSLParser.cpp | 320 DSLModifiers modifiers = this->modifiers(); in declaration() 352 bool DSLParser::functionDeclarationEnd(const DSLModifiers& modifiers, in functionDeclarationEnd() 445 void DSLParser::globalVarDeclarationEnd(PositionInfo pos, const dsl::DSLModifiers& mods, in globalVarDeclarationEnd() 484 DSLStatement DSLParser::localVarDeclarationEnd(PositionInfo pos, const dsl::DSLModifiers& mods, in localVarDeclarationEnd() 594 DSLModifiers modifiers = this->modifiers(); in structDeclaration() 627 SkTArray<dsl::DSLGlobalVar> DSLParser::structVarDeclaration(const DSLModifiers& modifiers) { in structVarDeclaration() 644 DSLModifiers modifiers = this->modifiers(); in parameter() 755 DSLModifiers DSLParser::modifiers() { in modifiers() 767 return DSLModifiers(std::move(layout), flags); in modifiers() 818 skstd::optional<DSLType> DSLParser::type(DSLModifiers* modifiers) { in type() [all …]
|
/third_party/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 28 : DSLVarBase(DSLModifiers(), std::move(type), name, std::move(initialValue), pos) {} in DSLVarBase() 33 DSLVarBase::DSLVarBase(const DSLModifiers& modifiers, DSLType type, DSLExpression initialValue, in DSLVarBase() 37 DSLVarBase::DSLVarBase(const DSLModifiers& modifiers, DSLType type, skstd::string_view name, in DSLVarBase()
|
D | DSLFunction.cpp | 24 void DSLFunction::init(DSLModifiers modifiers, const DSLType& returnType, skstd::string_view name, in init()
|
D | DSLCore.cpp | 144 static void Declare(const DSLModifiers& modifiers) { in Declare() 235 static DSLGlobalVar InterfaceBlock(const DSLModifiers& modifiers, skstd::string_view typeName, in InterfaceBlock() 387 void Declare(const DSLModifiers& modifiers, PositionInfo pos) { in Declare() 449 DSLGlobalVar InterfaceBlock(const DSLModifiers& modifiers, skstd::string_view typeName, in InterfaceBlock()
|
D | DSLType.cpp | 172 DSLType::DSLType(skstd::string_view name, DSLModifiers* modifiers, PositionInfo position) in DSLType()
|
/third_party/skia/gn/ |
D | sksl.gni | 28 "$_include/sksl/DSLModifiers.h",
|
/third_party/skia/tests/ |
D | SkSLDSLTest.cpp | 1839 DEF_GPUTEST_FOR_MOCK_CONTEXT(DSLModifiers, r, ctxInfo) { in DEF_GPUTEST_FOR_MOCK_CONTEXT() argument 1883 Var v1(DSLModifiers(DSLLayout().location(1).set(2).binding(3).offset(4).index(5).builtin(6) in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1900 DSLGlobalVar v(DSLModifiers(DSLLayout().srgbUnpremul(), kUniform_Modifier), kHalf4_Type, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
|