diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-06-16 17:22:59 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-18 15:32:48 +0000 |
commit | 4c458b12f68d8704a297c1ec252127c77bdee595 (patch) | |
tree | 588efa8ae1870e6d20107c371cc1077662c5ff15 /tests/OnFlushCallbackTest.cpp | |
parent | 3567c14a41cd55860fcc836af32d8748c1e3c856 (diff) |
ccpr: Use lazy proxies with GrCCAtlas
Bug: skia:
Change-Id: I576d9303d451352778de0425e3ecbc561331cd09
Reviewed-on: https://skia-review.googlesource.com/135362
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index 7932fdc458..e2f6fbf9e1 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -300,7 +300,7 @@ public: return fAtlasProxy; } - fAtlasProxy = proxyProvider->createFullyLazyProxy( + fAtlasProxy = GrProxyProvider::MakeFullyLazyProxy( [](GrResourceProvider* resourceProvider) { if (!resourceProvider) { return sk_sp<GrTexture>(); @@ -319,7 +319,8 @@ public: }, GrProxyProvider::Renderable::kYes, kBottomLeft_GrSurfaceOrigin, - kRGBA_8888_GrPixelConfig); + kRGBA_8888_GrPixelConfig, + *proxyProvider->caps()); return fAtlasProxy; } |