Add GrMipMapsStatus to GrTextureProxy
Bug: skia:
Change-Id: I5adf10f730b04c2b3b62c3b12aa5899da4db3431
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229922
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrProxyProvider.h b/src/gpu/GrProxyProvider.h
index bfaca5d..6a971a6 100644
--- a/src/gpu/GrProxyProvider.h
+++ b/src/gpu/GrProxyProvider.h
@@ -166,20 +166,21 @@
*/
sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrBackendFormat&,
const GrSurfaceDesc&, GrRenderable,
- int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
- GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
- GrProtected, LazyInstantiationType);
+ int renderTargetSampleCnt, GrSurfaceOrigin,
+ GrMipMapped, GrMipMapsStatus, GrInternalSurfaceFlags,
+ SkBackingFit, SkBudgeted, GrProtected,
+ LazyInstantiationType);
sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrBackendFormat&,
const GrSurfaceDesc&, GrRenderable,
int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
- GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
- GrProtected);
+ GrMipMapsStatus, GrInternalSurfaceFlags, SkBackingFit,
+ SkBudgeted, GrProtected);
sk_sp<GrTextureProxy> createLazyProxy(LazyInstantiateCallback&&, const GrBackendFormat&,
const GrSurfaceDesc&, GrRenderable,
int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
- SkBackingFit, SkBudgeted, GrProtected);
+ GrMipMapsStatus, SkBackingFit, SkBudgeted, GrProtected);
/** A null TextureInfo indicates a non-textureable render target. */
sk_sp<GrRenderTargetProxy> createLazyRenderTargetProxy(LazyInstantiateCallback&&,
@@ -188,10 +189,8 @@
int renderTargetSampleCnt,
GrSurfaceOrigin origin,
GrInternalSurfaceFlags,
- const TextureInfo*,
- SkBackingFit,
- SkBudgeted,
- GrProtected,
+ const TextureInfo*, GrMipMapsStatus,
+ SkBackingFit, SkBudgeted, GrProtected,
bool wrapsVkSecondaryCB);
/**