aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTexturePriv.h
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/GrTexturePriv.h
parent0ec28af1a7259ef0deec44bd3cba74aafc3c2ad1 (diff)
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
Diffstat (limited to 'src/gpu/GrTexturePriv.h')
-rw-r--r--src/gpu/GrTexturePriv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h
index a2da946987..d6c2dc2bf8 100644
--- a/src/gpu/GrTexturePriv.h
+++ b/src/gpu/GrTexturePriv.h
@@ -17,15 +17,15 @@
implemented privately in GrTexture with a inline public method here). */
class GrTexturePriv {
public:
- void setFlag(GrTextureFlags flags) {
+ void setFlag(GrSurfaceFlags flags) {
fTexture->fDesc.fFlags = fTexture->fDesc.fFlags | flags;
}
- void resetFlag(GrTextureFlags flags) {
+ void resetFlag(GrSurfaceFlags flags) {
fTexture->fDesc.fFlags = fTexture->fDesc.fFlags & ~flags;
}
- bool isSetFlag(GrTextureFlags flags) const {
+ bool isSetFlag(GrSurfaceFlags flags) const {
return 0 != (fTexture->fDesc.fFlags & flags);
}
@@ -46,9 +46,9 @@ public:
static GrResourceKey ComputeKey(const GrGpu* gpu,
const GrTextureParams* params,
- const GrTextureDesc& desc,
+ const GrSurfaceDesc& desc,
const GrCacheID& cacheID);
- static GrResourceKey ComputeScratchKey(const GrTextureDesc& desc);
+ static GrResourceKey ComputeScratchKey(const GrSurfaceDesc& desc);
static bool NeedsResizing(const GrResourceKey& key);
static bool NeedsBilerp(const GrResourceKey& key);