Fix saveLayer() clipping w/filters, GPU path.
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 24 Feb 2014 15:16:42 +0000 (15:16 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 24 Feb 2014 15:16:42 +0000 (15:16 +0000)
commit89f077ced4918ded7e911bc5052b61c90ad57a9a
tree18c4a5aee569e081fba83607fde8f8bdca361948
parentf54ea1073bdb81018b18a307a50947d20b180d3a
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:

Review URL: https://codereview.chromium.org/164203002

git-svn-id: http://skia.googlecode.com/svn/trunk@13561 2bbb7eff-a529-9590-31e7-b0007b416f81
expectations/gm/ignored-tests.txt
src/core/SkCanvas.cpp
tests/CanvasStateTest.cpp