diff options
author | 2014-07-11 09:56:03 -0700 | |
---|---|---|
committer | 2014-07-11 09:56:03 -0700 | |
commit | 6ca0b6a46cbe9bef3e2b9b9db813ec864efd62de (patch) | |
tree | 777045a1ad412b4a0e6856b152a499f7782bc3ae /gm/variedtext.cpp | |
parent | c855ca0c9408d2a218655a138fab9cc18a2b3940 (diff) |
Fix for saveLayer() with filters vs. the BBox Hierarchy.
When building acceleration structures for SkPicture, we must transform
the primitive's bounds not only by its own SkPaint, but by the paints of
any saveLayer()s currently active above it.
We do this by pushing the SkPaint onto a stack on
saveLayer(), and popping them on restore(). We also push
a NULL paint in save(), so that the pushes and pops are
balanced.
BUG=skia:2734
R=mtklein@google.com, reed@google.com
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/380373003
Diffstat (limited to 'gm/variedtext.cpp')
0 files changed, 0 insertions, 0 deletions