From fe0253f8bb64857df088d5ff54e2b5b66b102b46 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 16 Mar 2018 16:47:25 -0400 Subject: Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags This CL: moves GrRenderTarget::fFlags to GrSurface::fSurfaceFlags adds a GrInternalSurfaceFlags type and uses it for GrSurfaceProxy::fSurfaceFlags The goal of this is to provide a location where GrTexture/GrTextureProxy-specific flags (i.e., isExternal & isRectangle) can be stored. Change-Id: I8df7b79036a6853dd378ff6cf10d4b37c60dd511 Reviewed-on: https://skia-review.googlesource.com/114796 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- src/gpu/effects/GrTextureStripAtlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/effects') diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp index 4159d392b1..cd102fe727 100644 --- a/src/gpu/effects/GrTextureStripAtlas.cpp +++ b/src/gpu/effects/GrTextureStripAtlas.cpp @@ -219,7 +219,7 @@ void GrTextureStripAtlas::lockTexture(GrContext* context) { texDesc.fConfig = fDesc.fConfig; proxy = proxyProvider->createProxy(texDesc, kTopLeft_GrSurfaceOrigin, SkBackingFit::kExact, - SkBudgeted::kYes, GrResourceProvider::kNoPendingIO_Flag); + SkBudgeted::kYes, GrInternalSurfaceFlags::kNoPendingIO); if (!proxy) { return; } -- cgit v1.2.3