/third_party/skia/tests/ |
D | LazyProxyTest.cpp | 71 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute() 72 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute() 80 : GrDrawOp(ClassID()), fTest(test) { in Op() 88 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op() 89 fTest->fHasOpTexture = true; in Op() 103 REPORTER_ASSERT(fTest->fReporter, texture); in Op() 129 LazyProxyTest* const fTest; member in LazyProxyTest::Op 140 , fTest(test) in ClipFP() 150 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasClipTexture); in ClipFP() 151 fTest->fHasClipTexture = true; in ClipFP() [all …]
|
D | skia_test.cpp | 100 SkTestRunnable(const Test& test, Status* status) : fTest(test), fStatus(status) {} in SkTestRunnable() 120 fTest.fProc(&reporter, GrContextOptions()); in operator ()() 125 fStatus->endTest(fTest.fName, !reporter.fError, elapsed, reporter.fTestCount); in operator ()() 129 Test fTest; member in SkTestRunnable
|
/third_party/skia/src/gpu/ |
D | GrStencilSettings.cpp | 91 static_assert(2 == offsetof(Face, fTest)); in operator ==() 92 static_assert(2 == sizeof(Face::fTest)); in operator ==() 173 SkASSERT(user.fTest < (GrUserStencilTest)kGrUserStencilTestCount); in reset() 200 if (!hasStencilClip || user.fTest > kLastClippedStencilTest) { in reset() 203 fTest = gUserStencilTestToRaw[(int)user.fTest]; in reset() 204 } else if (GrUserStencilTest::kAlwaysIfInClip != user.fTest) { in reset() 207 fTest = gUserStencilTestToRaw[(int)user.fTest]; in reset() 211 fTest = GrStencilTest::kEqual; in reset() 276 static_assert(2 == offsetof(Face, fTest)); in genKey() 277 static_assert(2 == sizeof(Face::fTest)); in genKey()
|
/third_party/skia/modules/skottie/tests/ |
D | Image.cpp | 67 : fTest(tst) in DEF_TEST() 79 REPORTER_ASSERT(fReporter, t == fTest->t); in DEF_TEST() 81 return { fImage, SkSamplingOptions(), fTest++->m }; in DEF_TEST() 85 const TestData* fTest; in DEF_TEST() member in DEF_TEST::TestImageAsset 92 : fTest(tst) in DEF_TEST() 97 return sk_make_sp<TestImageAsset>(fTest, fReporter); in DEF_TEST() 100 const TestData* fTest; in DEF_TEST() member in DEF_TEST::TestResourceProvider
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 23 , fTest(std::move(test)) in TernaryExpression() 30 return fTest->hasSideEffects() || fIfTrue->hasSideEffects() || fIfFalse->hasSideEffects(); in hasSideEffects() 34 return std::unique_ptr<Expression>(new TernaryExpression(fOffset, fTest->clone(), in clone() 40 return "(" + fTest->description() + " ? " + fIfTrue->description() + " : " + in description() 44 std::unique_ptr<Expression> fTest; member
|
D | SkSLForStatement.h | 27 , fTest(std::move(test)) in ForStatement() 33 fTest->clone(), fNext->clone(), in clone() 43 if (fTest) { in description() 44 result += fTest->description(); in description() 58 std::unique_ptr<Expression> fTest; member
|
D | SkSLWhileStatement.h | 23 , fTest(std::move(test)) in WhileStatement() 27 return std::unique_ptr<Statement>(new WhileStatement(fOffset, fTest->clone(), in clone() 32 return "while (" + fTest->description() + ") " + fStatement->description(); in description() 35 std::unique_ptr<Expression> fTest; member
|
D | SkSLDoStatement.h | 24 , fTest(std::move(test)) {} in DoStatement() 28 fTest->clone())); in clone() 32 return "do " + fStatement->description() + " while (" + fTest->description() + ");"; in description() 36 std::unique_ptr<Expression> fTest; member
|
D | SkSLIfStatement.h | 24 , fTest(std::move(test)) in IfStatement() 29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() 38 result += "if (" + fTest->description() + ") " + fIfTrue->description(); in description() 46 std::unique_ptr<Expression> fTest; member
|
/third_party/flutter/skia/tests/ |
D | LazyProxyTest.cpp | 74 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute() 75 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute() 83 : GrDrawOp(ClassID()), fTest(test) { in Op() 90 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op() 91 fTest->fHasOpTexture = true; in Op() 102 REPORTER_ASSERT(fTest->fReporter, texture); in Op() 121 LazyProxyTest* const fTest; member in LazyProxyTest::Op 132 , fTest(test) in ClipFP() 139 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasClipTexture); in ClipFP() 140 fTest->fHasClipTexture = true; in ClipFP() [all …]
|
D | skia_test.cpp | 100 SkTestRunnable(const Test& test, Status* status) : fTest(test), fStatus(status) {} in SkTestRunnable() 120 fTest.proc(&reporter, GrContextOptions()); in operator ()() 125 fStatus->endTest(fTest.name, !reporter.fError, elapsed, reporter.fTestCount); in operator ()() 129 Test fTest; member in SkTestRunnable
|
/third_party/skia/src/sksl/ir/ |
D | SkSLDoStatement.h | 26 , fTest(std::move(test)) {} in DoStatement() 47 return fTest; in test() 51 return fTest; in test() 60 std::unique_ptr<Expression> fTest; variable
|
D | SkSLIfStatement.h | 28 , fTest(std::move(test)) in IfStatement() 51 return fTest; in test() 55 return fTest; in test() 79 std::unique_ptr<Expression> fTest;
|
D | SkSLTernaryExpression.h | 25 , fTest(std::move(test)) in TernaryExpression() 45 return fTest; in test() 49 return fTest; in test() 90 std::unique_ptr<Expression> fTest;
|
D | SkSLForStatement.h | 44 , fTest(std::move(test)) in ForStatement() 81 return fTest; in test() 85 return fTest; in test() 120 std::unique_ptr<Expression> fTest; variable
|
/third_party/flutter/skia/src/gpu/ |
D | GrStencilSettings.cpp | 91 GR_STATIC_ASSERT(2 == offsetof(Face, fTest)); in operator ==() 92 GR_STATIC_ASSERT(2 == sizeof(Face::fTest)); in operator ==() 173 SkASSERT(user.fTest < (GrUserStencilTest)kGrUserStencilTestCount); in reset() 200 if (!hasStencilClip || user.fTest > kLastClippedStencilTest) { in reset() 203 fTest = gUserStencilTestToRaw[(int)user.fTest]; in reset() 204 } else if (GrUserStencilTest::kAlwaysIfInClip != user.fTest) { in reset() 207 fTest = gUserStencilTestToRaw[(int)user.fTest]; in reset() 211 fTest = GrStencilTest::kEqual; in reset() 495 GR_STATIC_ASSERT(2 == offsetof(Face, fTest)); in genKey() 496 GR_STATIC_ASSERT(2 == sizeof(Face::fTest)); in genKey()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlDepthStencil.mm | 41 switch (face.fTest) { 100 SkASSERT(static_cast<int>(face.fTest) <= 7); 101 faceKey->fOps = static_cast<uint32_t>(face.fTest);
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlDepthStencil.mm | 39 switch (face.fTest) { 98 SkASSERT(static_cast<int>(face.fTest) <= 7); 99 faceKey->fOps = static_cast<uint32_t>(face.fTest);
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCFGGenerator.cpp | 144 ((TernaryExpression*) lvalue)->fTest.get())) { in tryRemoveLValueBefore() 414 this->addExpression(cfg, &t->fTest, constantPropagate); in addExpression() 453 this->addExpression(cfg, &((TernaryExpression&) **e).fTest, true); in addLValue() 480 this->addExpression(cfg, &ifs.fTest, true); in addStatement() 554 this->addExpression(cfg, &w.fTest, true); in addStatement() 556 if (!is_true(*w.fTest)) { in addStatement() 574 this->addExpression(cfg, &d.fTest, true); in addStatement() 592 if (f.fTest) { in addStatement() 593 this->addExpression(cfg, &f.fTest, true); in addStatement()
|
D | SkSLMetalCodeGenerator.cpp | 723 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression() 1209 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeIfStatement() 1225 if (f.fTest) { in writeForStatement() 1226 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeForStatement() 1238 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeWhileStatement() 1247 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeDoStatement() 1553 return this->requirements(*t.fTest) | this->requirements(*t.fIfTrue) | in requirements() 1616 return this->requirements(*i.fTest) | in requirements() 1623 this->requirements(*f.fTest) | in requirements() 1629 return this->requirements(*w.fTest) | in requirements() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 983 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall() 1355 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeFunctionCall() 1371 if (f.fTest) { in writeFunctionCall() 1374 -1, f.fTest->clone(), Token::LOGICALAND, in writeFunctionCall() 1380 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeFunctionCall() 1393 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeFunctionCall() 1403 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeFunctionCall() 1435 this->writeExpression(*d.fTest, kPrefix_Precedence); in writeFunctionCall()
|
D | SkSLJIT.cpp | 323 , fTest(test) in getLValue() 339 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue() 367 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue() 379 LLVMValueRef fTest; in getLValue() member in SkSL::JIT::getLValue::TernaryLValue 384 LLVMValueRef test = this->compileExpression(builder, *t.fTest); in getLValue() 999 LLVMValueRef test = this->compileExpression(builder, *t.fTest); in compileTernary() 1087 LLVMValueRef test = this->compileExpression(builder, *i.fTest); in compileIf() 1121 if (f.fTest) { in compileFor() 1125 LLVMValueRef test = this->compileExpression(builder, *f.fTest); in compileFor() 1157 LLVMValueRef test = this->compileExpression(builder, *d.fTest); in compileDo() [all …]
|
D | SkSLCompiler.cpp | 477 return !t.fTest->hasSideEffects() && is_dead(*t.fIfTrue) && is_dead(*t.fIfFalse); in is_dead() 750 if (t->fTest->fKind == Expression::kBoolLiteral_Kind) { in simplifyExpression() 753 if (((BoolLiteral&) *t->fTest).fValue) { in simplifyExpression() 1035 if (i.fTest->fKind == Expression::kBoolLiteral_Kind) { in simplifyStatement() 1037 if (((BoolLiteral&) *i.fTest).fValue) { in simplifyStatement() 1059 if (i.fTest->hasSideEffects()) { in simplifyStatement() 1062 new ExpressionStatement(std::move(i.fTest)))); in simplifyStatement()
|
D | SkSLByteCodeGenerator.cpp | 1125 this->writeExpression(*t.fTest); in writeTernaryExpression() 1373 this->writeExpression(*d.fTest); in writeDoStatement() 1392 if (f.fTest) { in writeForStatement() 1393 this->writeExpression(*f.fTest); in writeForStatement() 1410 this->writeExpression(*i.fTest); in writeIfStatement() 1473 this->writeExpression(*w.fTest); in writeWhileStatement()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 253 GrStencilTest test = stencilSettings.frontAndBack().fTest; in flushPathStencilSettings() 258 test != fHWPathStencilSettings.frontAndBack().fTest || in flushPathStencilSettings()
|