Go to file
Ben Wagner 738a25645d Properly restore from image filter save layers.
SkCanvas::internalSaveLayer calls internalSetMatrix to smash the matrix.
SkCanvas::internalRestore tried to restore the state by setting just the
matrix on the canvas. However, this misses restoring the matrix on the
top devices. Correct this by making internalRestore mirror
internalSaveLayer and call internalSetMatrix.

Without this change some draw calls will not respect the matrix
correctly when they follow a draw with an image filter.

Change-Id: If2660cd3799c3050604d9d8754b140507ec3f5e1
Reviewed-on: https://skia-review.googlesource.com/123241
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
2018-04-24 15:26:56 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench ccpr: Cull extremely thin triangles 2018-04-24 15:23:06 +00:00
bin remove fetch-gn dependency on buildtools 2018-02-21 20:42:26 +00:00
dm Revert "Reland "Exercise the threaded backend in test bots"" 2018-04-23 23:58:37 +00:00
docs Remove SkPaint::kGenA8FromLCD_Flag. 2018-04-16 21:11:10 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental Fix many return-std-move-in-c++11 warnings 2018-04-16 20:31:50 +00:00
fuzz Make fuzz autodetect file names 2018-04-24 14:48:37 +00:00
gm ccpr: Cull extremely thin triangles 2018-04-24 15:23:06 +00:00
gn ccpr: Cull extremely thin triangles 2018-04-24 15:23:06 +00:00
include (Mostly) respect FilterQuality in draw[stretchy] 2018-04-23 14:27:30 +00:00
infra Roll recipe dependencies (trivial). 2018-04-24 03:09:06 +00:00
platform_tools Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
resources Add color fonts. 2018-03-28 20:14:44 +00:00
samplecode Revert "Remove ambient clamp hack for analytic shadows." 2018-04-23 18:40:47 +00:00
site Document minimum OS requirements. 2018-04-19 19:38:44 +00:00
src Properly restore from image filter save layers. 2018-04-24 15:26:56 +00:00
tests Revert "Add arcs as a specialized geometry to GrShape." 2018-04-24 12:18:47 +00:00
third_party Roll skia/third_party/skcms 6a4194e..5cbdc0a (1 commits) 2018-04-24 14:55:06 +00:00
tools Add Transform section to viewer tools window. 2018-04-23 17:21:30 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn Enable skcms by default 2018-04-23 17:55:10 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2/ b3474d9d7..66410530a (1 commit) 2018-04-24 14:27:17 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Presubmit that modified json files are valid json. 2018-02-12 16:32:12 +00:00
public.bzl disable -Wself-assign in Google3 2018-04-16 19:59:05 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Reland "Whitespace change" 2018-04-14 01:24:11 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.