aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrOptDrawState.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-12-22 07:35:52 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-22 07:35:52 -0800
commit080e673b10ac607305f140ddb245e140ccde40c6 (patch)
treec8e51428edeeb5fff1075c68a3a408e1f2f0110b /src/gpu/GrOptDrawState.h
parentebc11635e40ccf2a34fb1cdbc9dec635cb3d74d8 (diff)
Add XP to handle the cases where we disable color write.
Diffstat (limited to 'src/gpu/GrOptDrawState.h')
-rw-r--r--src/gpu/GrOptDrawState.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h
index 9c42b7cebe..111f920e59 100644
--- a/src/gpu/GrOptDrawState.h
+++ b/src/gpu/GrOptDrawState.h
@@ -125,14 +125,12 @@ public:
/// @}
-
///////////////////////////////////////////////////////////////////////////
/// @name Boolean Queries
////
bool isDitherState() const { return SkToBool(fFlags & kDither_Flag); }
bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); }
- bool isColorWriteDisabled() const { return SkToBool(fFlags & kDisableColorWrite_Flag); }
bool mustSkip() const { return NULL == this->getRenderTarget(); }
/// @}
@@ -179,7 +177,6 @@ private:
enum Flags {
kDither_Flag = 0x1,
kHWAA_Flag = 0x2,
- kDisableColorWrite_Flag = 0x4,
};
typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget;