diff options
Diffstat (limited to 'tests/LazyProxyTest.cpp')
-rw-r--r-- | tests/LazyProxyTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/LazyProxyTest.cpp b/tests/LazyProxyTest.cpp index a5cda4edcf..a55593134d 100644 --- a/tests/LazyProxyTest.cpp +++ b/tests/LazyProxyTest.cpp @@ -54,8 +54,8 @@ public: DEFINE_OP_CLASS_ID Op(LazyProxyTest* test, bool nullTexture) : GrDrawOp(ClassID()), fTest(test) { - fProxy = GrSurfaceProxy::MakeLazy([this, nullTexture](GrResourceProvider* rp, - GrSurfaceOrigin* origin) { + fProxy = GrSurfaceProxy::MakeFullyLazy([this, nullTexture](GrResourceProvider* rp, + GrSurfaceOrigin* origin) { REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); fTest->fHasOpTexture = true; *origin = kTopLeft_GrSurfaceOrigin; @@ -105,8 +105,8 @@ public: : GrFragmentProcessor(kTestFP_ClassID, kNone_OptimizationFlags) , fTest(test) , fAtlas(atlas) { - fLazyProxy = GrSurfaceProxy::MakeLazy([this](GrResourceProvider* rp, - GrSurfaceOrigin* origin) { + fLazyProxy = GrSurfaceProxy::MakeFullyLazy([this](GrResourceProvider* rp, + GrSurfaceOrigin* origin) { REPORTER_ASSERT(fTest->fReporter, !fTest->fHasClipTexture); fTest->fHasClipTexture = true; *origin = kBottomLeft_GrSurfaceOrigin; |