diff options
Diffstat (limited to 'src/gpu/GrProxyProvider.h')
-rw-r--r-- | src/gpu/GrProxyProvider.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gpu/GrProxyProvider.h b/src/gpu/GrProxyProvider.h index c466c98475..64b9ac4355 100644 --- a/src/gpu/GrProxyProvider.h +++ b/src/gpu/GrProxyProvider.h @@ -178,20 +178,19 @@ public: sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrSurfaceDesc&, GrSurfaceOrigin, GrMipMapped, SkBackingFit, SkBudgeted); - - /** - * Fully lazy proxies have unspecified width and height. Methods that rely on those values - * (e.g., width, height, getBoundsRect) should be avoided. - */ - sk_sp<GrTextureProxy> createFullyLazyProxy(LazyInstantiateCallback&&, - Renderable, GrSurfaceOrigin, GrPixelConfig); - sk_sp<GrRenderTargetProxy> createLazyRenderTargetProxy(LazyInstantiateCallback&&, const GrSurfaceDesc&, GrSurfaceOrigin origin, GrInternalSurfaceFlags, Textureable, GrMipMapped, SkBackingFit, SkBudgeted); + /** + * Fully lazy proxies have unspecified width and height. Methods that rely on those values + * (e.g., width, height, getBoundsRect) should be avoided. + */ + static sk_sp<GrTextureProxy> MakeFullyLazyProxy(LazyInstantiateCallback&&, Renderable, + GrSurfaceOrigin, GrPixelConfig, const GrCaps&); + // 'proxy' is about to be used as a texture src or drawn to. This query can be used to // determine if it is going to need a texture domain or a full clear. static bool IsFunctionallyExact(GrSurfaceProxy* proxy); |