diff options
author | Greg Daniel <egdaniel@google.com> | 2018-02-20 10:25:54 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-20 15:32:33 +0000 |
commit | 2a30390ce6130b27c18152edf75d48616adeb934 (patch) | |
tree | 0985a31a81f35df3111540319bbcb25dcf087854 /src/gpu/GrProxyProvider.h | |
parent | 0c7861ff0c727160ab5306f531e94d40650d7466 (diff) |
Update createWrappedRenderTargetProxy with BackendRT to work with lazy proxies.
This change also triggered a bunch of side changes thanks to WrappedProxyTest
fixing/improving how we handle wrapped proxies in genernal.
Bug: skia:
Change-Id: I743a458923cff1c2e947627d0e9154a4c808a668
Reviewed-on: https://skia-review.googlesource.com/108102
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrProxyProvider.h')
-rw-r--r-- | src/gpu/GrProxyProvider.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gpu/GrProxyProvider.h b/src/gpu/GrProxyProvider.h index 01b3b1f305..dfd06dfe80 100644 --- a/src/gpu/GrProxyProvider.h +++ b/src/gpu/GrProxyProvider.h @@ -168,6 +168,10 @@ public: * callback should cleanup any resources it captured and return an empty sk_sp<GrTextureProxy>. */ sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrSurfaceDesc&, + GrMipMapped, GrRenderTargetFlags, SkBackingFit, + SkBudgeted); + + sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrSurfaceDesc&, GrMipMapped, SkBackingFit, SkBudgeted); /** @@ -178,7 +182,8 @@ public: Renderable, GrSurfaceOrigin, GrPixelConfig); sk_sp<GrRenderTargetProxy> createLazyRenderTargetProxy(LazyInstantiateCallback&&, - const GrSurfaceDesc&, Textureable, + const GrSurfaceDesc&, + GrRenderTargetFlags, Textureable, GrMipMapped, SkBackingFit, SkBudgeted); // 'proxy' is about to be used as a texture src or drawn to. This query can be used to |