aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-08-27 06:58:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-27 06:58:54 -0700
commit5219e57a021303444ecd7e054fd56a9efc884904 (patch)
treeeb9df47e3328765640bf864c72504b67685eb106 /src/gpu
parent4473be874f70d4a8833180a7aebcc9d8a0b1de9e (diff)
Remove skip draw check in GrContext
BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/488563003
Diffstat (limited to 'src/gpu')
-rwxr-xr-xsrc/gpu/GrContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 63beb7de22..3b44b7e7c0 100755
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1753,10 +1753,6 @@ GrDrawTarget* GrContext::prepareToDraw(const GrPaint* paint,
GrPrintf("Partial pixel coverage will be incorrectly blended.\n");
}
#endif
- if (fDrawState->getBlendOpts() & GrDrawState::kSkipDraw_BlendOptFlag) {
- are->set(NULL);
- return NULL;
- }
// Clear any vertex attributes configured for the previous use of the
// GrDrawState which can effect which blend optimizations are in effect.
fDrawState->setDefaultVertexAttribs();