diff options
author | Robert Phillips <robertphillips@google.com> | 2016-11-01 17:28:40 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-02 15:32:04 +0000 |
commit | 8bc06d07f57ede17ccabfa38f1d7e31bbf311ab5 (patch) | |
tree | 5b983d773fd391bfc07e6c9429f28ad941fa4bfc /tests/ProxyTest.cpp | |
parent | 9caeb0bc83ab45859a996efecbcd1215be0f1b1e (diff) |
Back SkSpecialImage_Gpu with a GrTextureProxy
This is split out of https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus))
The addition of the gpuMemorySize methods is for the SkSpecialImage cache.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4227
Change-Id: Ia9b9d42fb2a0caf61bbfa3ebcc84308c56f541fc
Reviewed-on: https://skia-review.googlesource.com/4227
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/ProxyTest.cpp')
-rw-r--r-- | tests/ProxyTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ProxyTest.cpp b/tests/ProxyTest.cpp index 9a7697c8ae..b69e410103 100644 --- a/tests/ProxyTest.cpp +++ b/tests/ProxyTest.cpp @@ -116,7 +116,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(DeferredProxyTest, reporter, ctxInfo) { desc.fSampleCnt = 0; - sk_sp<GrTextureProxy> texProxy(GrTextureProxy::Make(desc, + sk_sp<GrTextureProxy> texProxy(GrTextureProxy::Make(provider, + desc, fit, budgeted)); check_surface(reporter, texProxy.get(), origin, |