Home
last modified time | relevance | path

Searched refs:DSLModifiers (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/include/sksl/
DDSLVar.h42 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,
DDSLModifiers.h33 class DSLModifiers {
35 DSLModifiers(int flags = 0)
36 : DSLModifiers(DSLLayout(), flags) {} in DSLModifiers() function
38 DSLModifiers(DSLLayout layout, int flags = 0)
DDSLFunction.h31 : 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,
DDSLType.h91 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;
DBUILD.bazel13 "DSLModifiers.h",
DDSL.h24 using Modifiers = DSLModifiers;
DDSLLayout.h87 friend class DSLModifiers; variable
DDSLCore.h94 void Declare(const DSLModifiers& modifiers, PositionInfo pos = PositionInfo::Capture());
146 DSLGlobalVar InterfaceBlock(const DSLModifiers& modifiers, skstd::string_view typeName,
/third_party/skia/src/sksl/
DSkSLDSLParser.h146 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);
DSkSLDSLParser.cpp320 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/
DDSLVar.cpp28 : 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()
DDSLFunction.cpp24 void DSLFunction::init(DSLModifiers modifiers, const DSLType& returnType, skstd::string_view name, in init()
DDSLCore.cpp144 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()
DDSLType.cpp172 DSLType::DSLType(skstd::string_view name, DSLModifiers* modifiers, PositionInfo position) in DSLType()
/third_party/skia/gn/
Dsksl.gni28 "$_include/sksl/DSLModifiers.h",
/third_party/skia/tests/
DSkSLDSLTest.cpp1839 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()