Index: tests/GrPorterDuffTest.cpp |
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp |
index 78c2e798f01befcaf7eceb2843dfb87b664173a2..b01277c8548f674330b95dc605d30d47e1861982 100644 |
--- a/tests/GrPorterDuffTest.cpp |
+++ b/tests/GrPorterDuffTest.cpp |
@@ -76,7 +76,7 @@ |
const GrProcOptInfo& colorPOI, const GrProcOptInfo& covPOI) { |
SkAutoTUnref<GrXPFactory> xpf(GrPorterDuffXPFactory::Create(xfermode)); |
SkAutoTUnref<GrXferProcessor> xp(xpf->createXferProcessor(colorPOI, covPOI, 0, caps)); |
- TEST_ASSERT(!xpf->willNeedDstTexture(caps, colorPOI, covPOI)); |
+ TEST_ASSERT(!xpf->willNeedDstCopy(caps, colorPOI, covPOI)); |
xpf->getInvariantOutput(colorPOI, covPOI, &fInvariantOutput); |
fOptFlags = xp->getOptimizations(colorPOI, covPOI, false, 0, caps); |
GetXPOutputTypes(xp, &fPrimaryOutputType, &fSecondaryOutputType); |
@@ -1311,7 +1311,7 @@ |
SkASSERT(covPOI.isFourChannelOutput()); |
SkAutoTUnref<GrXPFactory> xpf(GrPorterDuffXPFactory::Create(SkXfermode::kSrcOver_Mode)); |
- TEST_ASSERT(!xpf->willNeedDstTexture(caps, colorPOI, covPOI)); |
+ TEST_ASSERT(!xpf->willNeedDstCopy(caps, colorPOI, covPOI)); |
GrXPFactory::InvariantOutput invariantOutput; |
xpf->getInvariantOutput(colorPOI, covPOI, &invariantOutput); |