Home
last modified time | relevance | path

Searched refs:fExpression (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/sksl/dsl/
DDSLExpression.cpp33 : fExpression(std::move(other.fExpression)) {} in DSLExpression()
36 : fExpression(std::move(expression)) { in DSLExpression()
44 : fExpression(SkSL::FloatLiteral::Make(DSLWriter::Context(), in DSLExpression()
57 : fExpression(SkSL::IntLiteral::Make(DSLWriter::Context(), in DSLExpression()
62 : fExpression(SkSL::IntLiteral::Make(DSLWriter::Context(), in DSLExpression()
67 : fExpression(SkSL::BoolLiteral::Make(DSLWriter::Context(), in DSLExpression()
72 : fExpression(std::make_unique<SkSL::VariableReference>( in DSLExpression()
78 : fExpression(std::make_unique<SkSL::VariableReference>( in DSLExpression()
88 fExpression = std::move(expr.fExpression); in DSLExpression()
93 if (fExpression && DSLWriter::InFragmentProcessor()) { in ~DSLExpression()
[all …]
DDSLVar.cpp126 std::swap(fInitialValue.fExpression, other.fInitialValue.fExpression); in swap()
/external/skqp/src/sksl/ir/
DSkSLReturnStatement.h25 , fExpression(std::move(expression)) {} in ReturnStatement()
28 if (fExpression) { in clone()
29 return std::unique_ptr<Statement>(new ReturnStatement(fExpression->clone())); in clone()
35 if (fExpression) { in description()
36 return "return " + fExpression->description() + ";"; in description()
42 std::unique_ptr<Expression> fExpression; member
DSkSLExpressionStatement.h22 , fExpression(std::move(expression)) {} in ExpressionStatement()
25 return std::unique_ptr<Statement>(new ExpressionStatement(fExpression->clone())); in clone()
29 return fExpression->description() + ";"; in description()
32 std::unique_ptr<Expression> fExpression; member
/external/skqp/src/sksl/ast/
DSkSLASTIndexSuffix.h23 , fExpression(nullptr) {} in ASTIndexSuffix()
27 , fExpression(std::move(expression)) {} in ASTIndexSuffix()
30 if (fExpression) { in description()
31 return "[" + fExpression->description() + "]"; in description()
38 std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTReturnStatement.h22 , fExpression(std::move(expression)) {} in ASTReturnStatement()
26 if (fExpression) { in description()
27 result += " " + fExpression->description(); in description()
32 const std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTExpressionStatement.h21 , fExpression(std::move(expression)) {} in ASTExpressionStatement()
24 return fExpression->description() + ";"; in description()
27 const std::unique_ptr<ASTExpression> fExpression; member
/external/skia/src/sksl/ir/
DSkSLReturnStatement.h25 , fExpression(std::move(expression)) {} in ReturnStatement()
32 return fExpression; in expression()
36 return fExpression; in expression()
40 fExpression = std::move(expr); in setExpression()
56 std::unique_ptr<Expression> fExpression;
DSkSLExpressionStatement.h25 , fExpression(std::move(expression)) {} in ExpressionStatement()
33 return fExpression; in expression()
37 return fExpression; in expression()
49 std::unique_ptr<Expression> fExpression;
/external/skia/include/private/
DSkSLSampleUsage.h58 std::string fExpression; member
62 : fKind(kind), fExpression(expression), fHasPerspective(hasPerspective) { in SampleUsage()
64 SkASSERT(!fExpression.empty()); in SampleUsage()
66 SkASSERT(fExpression.empty() && !fHasPerspective); in SampleUsage()
/external/skqp/src/sksl/
DSkSLCFGGenerator.h33 , fExpression(expression) in Node()
38 return fExpression; in expression()
43 *fExpression = std::move(expr); in setExpression()
61 return (*fExpression)->description(); in description()
78 std::unique_ptr<Expression>* fExpression;
DSkSLMetalCodeGenerator.cpp999 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1127 if (r.fExpression) { in writeReturnStatement()
1129 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()
1458 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
1461 if (r.fExpression) { in requirements()
1462 return this->requirements(*r.fExpression); in requirements()
DSkSLCFGGenerator.cpp481 this->addExpression(cfg, &((ExpressionStatement&) **s).fExpression, true); in addStatement()
510 if (r.fExpression) { in addStatement()
511 this->addExpression(cfg, &r.fExpression, true); in addStatement()
DSkSLGLSLCodeGenerator.cpp1264 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1446 if (r.fExpression) { in writeFunctionCall()
1448 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeFunctionCall()
DSkSLJIT.cpp1203 if (r.fExpression) { in compileReturn()
1204 LLVMBuildRet(builder, this->compileExpression(builder, *r.fExpression)); in compileReturn()
1227 this->compileExpression(builder, *((ExpressionStatement&) stmt).fExpression); in compileStatement()
1648 *((const ExpressionStatement&) stmt).fExpression, in compileVectorStatement()
DSkSLInterpreter.cpp109 this->evaluate(*((const ExpressionStatement&) stmt).fExpression); in runStatement()
DSkSLIRGenerator.cpp193 Expression& expr = *((ExpressionStatement&) *result).fExpression; in convertStatement()
517 std::unique_ptr<Expression> e = this->convertExpression(*s.fExpression); in convertExpressionStatement()
531 if (r.fExpression) { in convertReturn()
532 std::unique_ptr<Expression> result = this->convertExpression(*r.fExpression); in convertReturn()
2112 const ASTExpression* expr = ((ASTIndexSuffix&) *expression.fSuffix).fExpression.get(); in convertSuffixExpression()
DSkSLCompiler.cpp1106 if (!e.fExpression->hasSideEffects()) { in simplifyStatement()
1108 if (!b.tryRemoveExpressionBefore(iter, e.fExpression.get())) { in simplifyStatement()
DSkSLSPIRVCodeGenerator.cpp2791 this->writeExpression(*((ExpressionStatement&) s).fExpression, out); in writeStatement()
3007 if (r.fExpression) { in writeReturnStatement()
3008 this->writeInstruction(SpvOpReturnValue, this->writeExpression(*r.fExpression, out), in writeReturnStatement()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentProcessor.cpp92 SkString matrixExpr(childProc->sampleUsage().fExpression); in invokeChildWithMatrix()
96 args.fFp, SkString(childProc->sampleUsage().fExpression)); in invokeChildWithMatrix()
DGrGLSLGeometryProcessor.cpp193 *base->parent(), SkString(base->sampleUsage().fExpression)); in emitTransformCode()
202 matrix = SkString(base->sampleUsage().fExpression); in emitTransformCode()
/external/skia/include/sksl/
DDSLExpression.h130 std::unique_ptr<SkSL::Expression> fExpression; variable
243 std::unique_ptr<SkSL::Expression> fExpression;