Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Issue 2456153003: Fall back on stencil clip when SW mask fails to allocate (Closed)

Created:
4 years, 1 month ago by csmartdalton
Modified:
4 years, 1 month ago
Reviewers:
hcm, bsalomon
CC:
reviews_skia.org, pbommana1
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fall back on stencil clip when SW mask fails to allocate When generating a SW clip mask, we didn't used to verify that the pixels had been successfully allocated. This would obviously crash when the allocation was not successful. This change checks the allocation first, and falls back on a stencil clip when it doesn't succeed. BUG=656589 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2456153003 Committed: https://skia.googlesource.com/skia/+/3affdc1bcd881ccf031fe18c96a1de2b9439a393

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fall back on stencil clip when SW mask fails to allocate #

Patch Set 3 : Fall back on stencil clip when SW mask fails to allocate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M src/gpu/GrClipStackClip.cpp View 1 2 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
csmartdalton
4 years, 1 month ago (2016-10-27 22:47:36 UTC) #3
csmartdalton
4 years, 1 month ago (2016-10-27 22:49:34 UTC) #5
bsalomon
lgtm w/ question about unsigned->signed change. https://codereview.chromium.org/2456153003/diff/1/src/gpu/GrClipStackClip.cpp File src/gpu/GrClipStackClip.cpp (right): https://codereview.chromium.org/2456153003/diff/1/src/gpu/GrClipStackClip.cpp#newcode389 src/gpu/GrClipStackClip.cpp:389: builder[1] = SkToS16(bounds.fLeft) ...
4 years, 1 month ago (2016-10-28 14:24:49 UTC) #6
csmartdalton
https://codereview.chromium.org/2456153003/diff/1/src/gpu/GrClipStackClip.cpp File src/gpu/GrClipStackClip.cpp (right): https://codereview.chromium.org/2456153003/diff/1/src/gpu/GrClipStackClip.cpp#newcode389 src/gpu/GrClipStackClip.cpp:389: builder[1] = SkToS16(bounds.fLeft) | (SkToS16(bounds.fRight) << 16); On 2016/10/28 ...
4 years, 1 month ago (2016-10-28 16:50:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2456153003/40001
4 years, 1 month ago (2016-10-28 18:42:03 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 19:01:13 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/3affdc1bcd881ccf031fe18c96a1de2b9439a393

Powered by Google App Engine
This is Rietveld 408576698