Home
last modified time | relevance | path

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

/external/skia/src/sksl/dsl/
DDSLVar.cpp24 DSLVar::DSLVar(const char* name) in DSLVar() function in SkSL::dsl::DSLVar
61 DSLVar::DSLVar(DSLType type, const char* name, DSLExpression initialValue) in DSLVar() function in SkSL::dsl::DSLVar
62 : DSLVar(DSLModifiers(), std::move(type), name, std::move(initialValue)) {} in DSLVar()
64 DSLVar::DSLVar(DSLType type, DSLExpression initialValue) in DSLVar() function in SkSL::dsl::DSLVar
65 : DSLVar(type, "var", std::move(initialValue)) {} in DSLVar()
67 DSLVar::DSLVar(DSLModifiers modifiers, DSLType type, DSLExpression initialValue) in DSLVar() function in SkSL::dsl::DSLVar
68 : DSLVar(modifiers, type, "var", std::move(initialValue)) {} in DSLVar()
70 DSLVar::DSLVar(DSLModifiers modifiers, DSLType type, const char* name, DSLExpression initialValue) in DSLVar() function in SkSL::dsl::DSLVar
111 DSLVar::~DSLVar() { in ~DSLVar()
118 void DSLVar::swap(DSLVar& other) { in swap()
[all …]
DDSLCore.cpp44 static DSLVar sk_FragColor() { in sk_FragColor()
45 return DSLVar("sk_FragColor"); in sk_FragColor()
48 static DSLVar sk_FragCoord() { in sk_FragCoord()
49 return DSLVar("sk_FragCoord"); in sk_FragCoord()
74 static DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare()
86 static void DeclareGlobal(DSLVar& var, PositionInfo pos) { in DeclareGlobal()
191 DSLVar sk_FragColor() { in sk_FragColor()
195 DSLVar sk_FragCoord() { in sk_FragCoord()
219 DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare()
223 void DeclareGlobal(DSLVar& var, PositionInfo pos) { in DeclareGlobal()
DDSLFunction.cpp22 SkTArray<DSLVar*> params) { in init()
30 for (DSLVar* param : params) { in init()
DDSLExpression.cpp71 DSLExpression::DSLExpression(DSLVar& var) in DSLExpression()
77 DSLExpression::DSLExpression(DSLVar&& var) in DSLExpression()
/external/skia/include/sksl/
DDSLVar.h22 class DSLVar {
27 DSLVar() : fType(kVoid_Type), fDeclared(true) {} in DSLVar() function
35 DSLVar(DSLType type, const char* name = "var", DSLExpression initialValue = DSLExpression());
37 DSLVar(DSLType type, DSLExpression initialValue);
39 DSLVar(DSLModifiers modifiers, DSLType type, const char* name = "var",
42 DSLVar(DSLModifiers modifiers, DSLType type, DSLExpression initialValue);
44 DSLVar(DSLVar&&) = default;
46 ~DSLVar();
52 void swap(DSLVar& other);
90 DSLPossibleExpression operator=(DSLVar& var) {
[all …]
DDSLFunction.h31 SkTArray<DSLVar*> parameterArray; in DSLFunction()
41 DSLFunction(const DSLType& returnType, const char* name, SkTArray<DSLVar*> parameters) { in DSLFunction()
75 void collectArgs(SkTArray<DSLWrapper<DSLExpression>>& args, DSLVar& var, in collectArgs()
88 void init(const DSLType& returnType, const char* name, SkTArray<DSLVar*> params);
DDSLExpression.h29 class DSLVar; variable
71 DSLExpression(DSLVar& var);
73 DSLExpression(DSLVar&& var);
137 friend class DSLVar; variable
DDSLCore.h64 DSLVar sk_FragColor();
66 DSLVar sk_FragCoord();
81 DSLStatement Declare(DSLVar& var, PositionInfo pos = PositionInfo());
86 void DeclareGlobal(DSLVar& var, PositionInfo pos = PositionInfo());
DDSL.h25 using Var = DSLVar;
DDSLType.h158 static void CollectArgs(SkTArray<DSLExpression>& args, DSLVar& var, in CollectArgs()
176 friend class DSLVar; variable
DDSLModifiers.h50 friend class DSLVar; variable
DDSLStatement.h31 class DSLVar; variable
/external/skia/src/sksl/dsl/priv/
DDSLWriter.h91 static const SkSL::Variable& Var(DSLVar& var);
96 static std::unique_ptr<SkSL::Variable> ParameterVar(DSLVar& var);
101 static std::unique_ptr<SkSL::Statement> Declaration(DSLVar& var);
107 static void MarkDeclared(DSLVar& var);
148 static GrGLSLUniformHandler::UniformHandle VarUniformHandle(const DSLVar& var);
244 friend class DSLVar; variable
DDSLFPs.cpp28 DSLVar sk_SampleCoord() { in sk_SampleCoord()
29 return DSLVar("sk_SampleCoord"); in sk_SampleCoord()
61 GrGLSLUniformHandler::UniformHandle VarUniformHandle(const DSLVar& var) { in VarUniformHandle()
DDSLFPs.h26 DSLVar sk_SampleCoord();
30 GrGLSLUniformHandler::UniformHandle VarUniformHandle(const DSLVar& var);
DDSLWriter.cpp124 GrGLSLUniformHandler::UniformHandle DSLWriter::VarUniformHandle(const DSLVar& var) { in VarUniformHandle()
224 const SkSL::Variable& DSLWriter::Var(DSLVar& var) { in Var()
248 std::unique_ptr<SkSL::Variable> DSLWriter::ParameterVar(DSLVar& var) { in ParameterVar()
257 std::unique_ptr<SkSL::Statement> DSLWriter::Declaration(DSLVar& var) { in Declaration()
262 void DSLWriter::MarkDeclared(DSLVar& var) { in MarkDeclared()
/external/skia/tests/
DSkSLDSLTest.cpp189 DSLVar x(kFloat_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
193 DSLVar y(kFloat2_Type, "y"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1221 DSLVar a(kFloat_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1222 DSLVar b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1470 DSLVar p(kFloat_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1479 DSLVar p(kFloat_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1489 DSLVar p(kFloat_Type, 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1881 DSLVar child(kUniform_Modifier, kFragmentProcessor_Type, "child"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1896 DSLVar shader(kUniform_Modifier, kShader_Type, "shader"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1913 DSLVar result(simpleStruct, "result"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
/external/skia/src/sksl/
DSkSLIRGenerator.h39 class DSLVar; variable
285 friend class dsl::DSLVar;
/external/skia/gn/
Dsksl.gni33 "$_include/sksl/DSLVar.h",
90 "$_src/sksl/dsl/DSLVar.cpp",
/external/skia/
DAndroid.bp833 "src/sksl/dsl/DSLVar.cpp",
1320 "src/sksl/dsl/DSLVar.cpp",