projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c18b62
)
If scissor would be empty in GrClipMaskManager::SetupClipping indicate draw can be...
author
bsalomon
<bsalomon@google.com>
Fri, 29 Jul 2016 19:24:29 +0000
(12:24 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 29 Jul 2016 19:24:29 +0000
(12:24 -0700)
BUG=chromium:632185
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2196803002
Review-Url: https://codereview.chromium.org/
2196803002
src/gpu/GrClipMaskManager.cpp
patch
|
blob
|
history
diff --git
a/src/gpu/GrClipMaskManager.cpp
b/src/gpu/GrClipMaskManager.cpp
index b2b3603b9445bca32ae66271c811d7c3f86bcc18..8e57fc84d5586570b9f73314b955e6a22e8f1287 100644
(file)
--- a/
src/gpu/GrClipMaskManager.cpp
+++ b/
src/gpu/GrClipMaskManager.cpp
@@
-258,7
+258,7
@@
bool GrClipMaskManager::SetupClipping(GrContext* context,
&clipSpaceIBounds,
&requiresAA);
if (elements.isEmpty()) {
- if (GrReducedClip::kAllOut_InitialState == initialState) {
+ if (GrReducedClip::kAllOut_InitialState == initialState
|| clipSpaceIBounds.isEmpty()
) {
return false;
} else {
SkIRect scissorSpaceIBounds(clipSpaceIBounds);