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

Issue 164203002: Don't modify the clipstack in saveLayer() if the kClipToLayer_SaveFlag is (Closed)

Created:
6 years, 10 months ago by Stephen White
Modified:
6 years, 10 months ago
Reviewers:
robertphillips, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix saveLayer() clipping w/filters, GPU path. Don't modify the clipstack in saveLayer() if the kClipToLayer_SaveFlag is not set. Without this the GPU path will clip the offscreen to the layer's bounds, even if the flag is not set. R=robertphillips@google.com BUG=skia: Committed: https://code.google.com/p/skia/source/detail?r=13561

Patch Set 1 #

Patch Set 2 : Add GM suppression #

Total comments: 1

Patch Set 3 : Use allocN32Pixels() shortcut. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -6 lines) Patch
M expectations/gm/ignored-tests.txt View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M tests/CanvasStateTest.cpp View 1 2 1 chunk +34 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Stephen White
Rob: PTAL. Thanks!
6 years, 10 months ago (2014-02-13 18:29:10 UTC) #1
reed1
https://codereview.chromium.org/164203002/diff/20001/tests/CanvasStateTest.cpp File tests/CanvasStateTest.cpp (right): https://codereview.chromium.org/164203002/diff/20001/tests/CanvasStateTest.cpp#newcode236 tests/CanvasStateTest.cpp:236: bitmap.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT); nit: try using the new pattern ...
6 years, 10 months ago (2014-02-13 18:57:40 UTC) #2
Stephen White
On 2014/02/13 18:57:40, reed1 wrote: > https://codereview.chromium.org/164203002/diff/20001/tests/CanvasStateTest.cpp > File tests/CanvasStateTest.cpp (right): > > https://codereview.chromium.org/164203002/diff/20001/tests/CanvasStateTest.cpp#newcode236 > ...
6 years, 10 months ago (2014-02-13 19:04:52 UTC) #3
robertphillips
lgtm + 1 question https://codereview.chromium.org/164203002/diff/60001/tests/CanvasStateTest.cpp File tests/CanvasStateTest.cpp (right): https://codereview.chromium.org/164203002/diff/60001/tests/CanvasStateTest.cpp#newcode251 tests/CanvasStateTest.cpp:251: without -> with in comment?
6 years, 10 months ago (2014-02-13 19:12:34 UTC) #4
Stephen White
6 years, 10 months ago (2014-02-24 15:16:46 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r13561 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698