disable passing discards through GrIODB.
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 31 Mar 2014 18:01:21 +0000 (18:01 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 31 Mar 2014 18:01:21 +0000 (18:01 +0000)
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

src/gpu/GrInOrderDrawBuffer.cpp

index 5b3bc3a..3e8dc18 100644 (file)
@@ -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,