aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrClipMaskManager.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-10-28 14:33:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-28 14:33:06 -0700
commitf2703d83da3ab2ae18b45231fd4f11e16cce3184 (patch)
tree296ec36a08899623dc5808190600f14e08c24107 /src/gpu/GrClipMaskManager.cpp
parent0ec28af1a7259ef0deec44bd3cba74aafc3c2ad1 (diff)
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
Diffstat (limited to 'src/gpu/GrClipMaskManager.cpp')
-rw-r--r--src/gpu/GrClipMaskManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index d753258868..2c3411d02f 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -481,8 +481,8 @@ void GrClipMaskManager::mergeMask(GrTexture* dstMask,
}
GrTexture* GrClipMaskManager::createTempMask(int width, int height) {
- GrTextureDesc desc;
- desc.fFlags = kRenderTarget_GrTextureFlagBit|kNoStencil_GrTextureFlagBit;
+ GrSurfaceDesc desc;
+ desc.fFlags = kRenderTarget_GrSurfaceFlag|kNoStencil_GrSurfaceFlag;
desc.fWidth = width;
desc.fHeight = height;
desc.fConfig = kAlpha_8_GrPixelConfig;
@@ -512,8 +512,8 @@ GrTexture* GrClipMaskManager::allocMaskTexture(int32_t elementsGenID,
// currently cached mask so it can be reused.
fAACache.reset();
- GrTextureDesc desc;
- desc.fFlags = willUpload ? kNone_GrTextureFlags : kRenderTarget_GrTextureFlagBit;
+ GrSurfaceDesc desc;
+ desc.fFlags = willUpload ? kNone_GrSurfaceFlags : kRenderTarget_GrSurfaceFlag;
desc.fWidth = clipSpaceIBounds.width();
desc.fHeight = clipSpaceIBounds.height();
desc.fConfig = kRGBA_8888_GrPixelConfig;