/third_party/skia/src/sksl/dsl/ |
D | DSLStatement.cpp | 29 : fStatement(block.release()) {} in DSLStatement() 34 fStatement = SkSL::ExpressionStatement::Make(ThreadContext::Context(), std::move(skslExpr)); in DSLStatement() 39 : fStatement(SkSL::ExpressionStatement::Make(ThreadContext::Context(), std::move(expr))) { in DSLStatement() 44 : fStatement(std::move(stmt)) { in DSLStatement() 54 fStatement = std::move(stmt.fStatement); in DSLStatement() 56 fStatement = SkSL::Nop::Make(); in DSLStatement() 59 fStatement->fLine = pos.line(); in DSLStatement() 65 if (fStatement && ThreadContext::InFragmentProcessor()) { in ~DSLStatement() 70 SkASSERTF(!fStatement || !ThreadContext::Settings().fAssertDSLObjectsReleased, in ~DSLStatement() 76 : fStatement(std::move(statement)) {} in DSLPossibleStatement() [all …]
|
/third_party/skia/src/sksl/ir/ |
D | SkSLSwitchCase.h | 27 , fStatement(std::move(statement)) {} in SwitchCase() 38 return fStatement; in statement() 42 return fStatement; in statement() 55 fStatement->description().c_str()); in description() 57 return String::printf("default:\n%s", fStatement->description().c_str()); in description() 63 std::unique_ptr<Statement> fStatement; variable
|
D | SkSLDoStatement.h | 25 , fStatement(std::move(statement)) in DoStatement() 39 return fStatement; in statement() 43 return fStatement; in statement() 59 std::unique_ptr<Statement> fStatement;
|
D | SkSLForStatement.h | 46 , fStatement(std::move(statement)) in ForStatement() 97 return fStatement; in statement() 101 return fStatement; in statement() 122 std::unique_ptr<Statement> fStatement; variable
|
/third_party/skia/include/sksl/ |
D | DSLStatement.h | 55 bool hasValue() { return fStatement != nullptr; } in hasValue() 59 return std::move(fStatement); in release() 64 return std::move(fStatement); in releaseIfPossible() 67 std::unique_ptr<SkSL::Statement> fStatement; variable 93 bool hasValue() { return fStatement != nullptr; } in hasValue() 100 std::unique_ptr<SkSL::Statement> fStatement;
|
/third_party/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 99 if (existing.fStatement->is<Block>()) { in AddVarDeclaration() 100 SkSL::Block& block = existing.fStatement->as<Block>(); in AddVarDeclaration() 103 } else if (existing.fStatement->is<VarDeclaration>()) { in AddVarDeclaration() 106 stmts.push_back(std::move(existing.fStatement)); in AddVarDeclaration() 108 existing.fStatement = SkSL::Block::MakeUnscoped(/*line=*/-1, std::move(stmts)); in AddVarDeclaration() 109 } else if (existing.fStatement->isEmpty()) { in AddVarDeclaration() 111 existing.fStatement = Declare(additional).release(); in AddVarDeclaration()
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLWhileStatement.h | 24 , fStatement(std::move(statement)) {} in WhileStatement() 28 fStatement->clone())); in clone() 32 return "while (" + fTest->description() + ") " + fStatement->description(); in description() 36 std::unique_ptr<Statement> fStatement; member
|
D | SkSLDoStatement.h | 23 , fStatement(std::move(statement)) in DoStatement() 27 return std::unique_ptr<Statement>(new DoStatement(fOffset, fStatement->clone(), in clone() 32 return "do " + fStatement->description() + " while (" + fTest->description() + ");"; in description() 35 std::unique_ptr<Statement> fStatement; member
|
D | SkSLForStatement.h | 29 , fStatement(std::move(statement)) {} in ForStatement() 34 fStatement->clone(), fSymbols)); in clone() 50 result += ") " + fStatement->description(); in description() 60 std::unique_ptr<Statement> fStatement; member
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCFGGenerator.h | 34 , fStatement(statement) {} in Node() 48 return fStatement; in statement() 53 *fStatement = std::move(stmt); in setStatement() 58 return (*fStatement)->description(); in description() 79 std::unique_ptr<Statement>* fStatement; member
|
D | SkSLMetalCodeGenerator.cpp | 1233 this->writeStatement(*f.fStatement); in writeForStatement() 1240 this->writeStatement(*w.fStatement); in writeWhileStatement() 1245 this->writeStatement(*d.fStatement); in writeDoStatement() 1625 this->requirements(*f.fStatement); in requirements() 1630 this->requirements(*w.fStatement); in requirements() 1635 this->requirements(*d.fStatement); in requirements()
|
D | SkSLCFGGenerator.cpp | 560 this->addStatement(cfg, &w.fStatement); in addStatement() 573 this->addStatement(cfg, &d.fStatement); in addStatement() 603 this->addStatement(cfg, &f.fStatement); in addStatement()
|
D | SkSLGLSLCodeGenerator.cpp | 1388 this->writeStatement(*f.fStatement); in writeFunctionCall() 1395 this->writeStatement(*w.fStatement); in writeFunctionCall() 1401 this->writeStatement(*d.fStatement); in writeFunctionCall() 1445 this->writeStatement(*d.fStatement); in writeFunctionCall()
|
D | SkSLJIT.cpp | 1134 this->compileStatement(builder, *f.fStatement); in compileFor() 1137 if (!ends_with_branch(*f.fStatement)) { in compileFor() 1162 this->compileStatement(builder, *d.fStatement); in compileDo() 1165 if (!ends_with_branch(*d.fStatement)) { in compileDo() 1185 this->compileStatement(builder, *w.fStatement); in compileWhile() 1188 if (!ends_with_branch(*w.fStatement)) { in compileWhile()
|
D | SkSLByteCodeGenerator.cpp | 1371 this->writeStatement(*d.fStatement); in writeDoStatement() 1398 this->writeStatement(*f.fStatement); in writeForStatement() 1477 this->writeStatement(*w.fStatement); in writeWhileStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2921 this->writeStatement(*f.fStatement, out); in writeForStatement() 2951 this->writeStatement(*w.fStatement, out); in writeWhileStatement() 2983 this->writeStatement(*d.fStatement, out); in writeDoStatement()
|