aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-31 18:01:21 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-31 18:01:21 +0000
commit5c6b03cff78286c766b96e57a6f8e0603f1142b8 (patch)
treed9d86476e2c45d99a24be370f39692e204435121
parent8ddc26b68c4e41199c06961da3bff2ce72afff14 (diff)
disable passing discards through GrIODB.
R=robertphillips@google.com Review URL: https://codereview.chromium.org/219563003 git-svn-id: http://skia.googlecode.com/svn/trunk@13994 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/GrInOrderDrawBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index 5b3bc3a7f5..3e8dc1805b 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -645,7 +645,7 @@ void GrInOrderDrawBuffer::flush() {
++currClip;
break;
case kClear_Cmd:
- if (GrColor_ILLEGAL == fClears[currClear].fColor) {
+ if (false && GrColor_ILLEGAL == fClears[currClear].fColor) {
fDstGpu->discard(fClears[currClear].fRenderTarget);
} else {
fDstGpu->clear(&fClears[currClear].fRect,