Home
last modified time | relevance | path

Searched refs:DSLVar (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/include/sksl/
DDSLVar.h149 class DSLVar : public DSLVarBase {
151 DSLVar() = default;
153 DSLVar(DSLType type, skstd::string_view name = "var",
158 DSLVar(DSLType type, const char* name, DSLExpression initialValue = DSLExpression(),
160 : DSLVar(type, skstd::string_view(name), std::move(initialValue), pos) {} in DSLVar() function
162 DSLVar(DSLType type, DSLExpression initialValue, PositionInfo pos = PositionInfo::Capture())
165 DSLVar(const DSLModifiers& modifiers, DSLType type, skstd::string_view name = "var",
169 DSLVar(const DSLModifiers& modifiers, DSLType type, const char* name,
171 : DSLVar(modifiers, type, skstd::string_view(name), std::move(initialValue), pos) {} in DSLVar() function
173 DSLVar(DSLVar&&) = default;
[all …]
DBUILD.bazel18 "DSLVar.h",
DDSLSymbols.h23 class DSLVar; variable
DDSL.h27 using Var = DSLVar;
DDSLStatement.h31 class DSLVar; variable
DDSLCore.h99 DSLStatement Declare(DSLVar& var, PositionInfo pos = PositionInfo::Capture());
104 DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos = PositionInfo::Capture());
DDSLFunction.h94 void collectArgs(ExpressionArray& args, DSLVar& var, RemainingArgs&&... remaining) { in collectArgs()
/third_party/skia/src/sksl/dsl/priv/
DDSLWriter.h31 class DSLVar; variable
92 static void AddVarDeclaration(DSLStatement& existing, DSLVar& additional);
104 friend class DSLVar; variable
DDSLWriter.cpp98 void DSLWriter::AddVarDeclaration(DSLStatement& existing, DSLVar& additional) { in AddVarDeclaration()
/third_party/skia/src/sksl/dsl/
DDSLVar.cpp97 void DSLVar::swap(DSLVar& other) { in swap()
101 VariableStorage DSLVar::storage() const { in storage()
167 DSLPossibleExpression DSLVar::operator=(DSLExpression expr) { in operator =()
DDSLCore.cpp149 static DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare()
157 static DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos) { in Declare()
159 for (DSLVar& v : vars) { in Declare()
410 DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare()
414 DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos) { in Declare()
/third_party/skia/tests/
DSkSLDSLTest.cpp213 DSLVar x(kFloat_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
217 DSLVar y(kFloat2_Type, "y"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1270 DSLVar a(kFloat_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1271 DSLVar b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1988 DSLVar result(simpleStruct, "result"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2020 std::vector<Wrapper<DSLVar>> vars; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2021 vars.emplace_back(DSLVar(kInt_Type, "x")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/skia/gn/
Dsksl.gni33 "$_include/sksl/DSLVar.h",
99 "$_src/sksl/dsl/DSLVar.cpp",
/third_party/skia/src/sksl/
DBUILD.bazel82 "dsl/DSLVar.cpp",
DSkSLDSLParser.cpp496 DSLVar first(mods, type, name, std::move(initializer), pos); in localVarDeclarationEnd()
513 DSLVar next(mods, type, this->text(identifierName), std::move(anotherInitializer), in localVarDeclarationEnd()