aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images/SkImageRef_GlobalPool.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-11 11:01:48 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-11 11:01:48 +0000
commit6fbe54c663bd0eed6f6519c31a4c8e291db2613b (patch)
treeaee7c8f354f86f9d0d64e25deaa20cbf2396b4ad /src/images/SkImageRef_GlobalPool.cpp
parent7fb5373fb76951b7e8b534f04d508dd51e21be6e (diff)
Compact the clipstack for kReplace_Op'd geometry
When adding a clip rect or clip path to the stack with the kReplace_Op operation, remove all previous elements within the same save frame (elements with fSaveCount equal to the current fSaveCount of the stack). This prevents unbounded growth of the clipstack for long-lived instances that gets reused. Addresses https://code.google.com/p/skia/issues/detail?id=748 R=robertphillips@google.com Author: fs@opera.com Review URL: https://chromiumcodereview.appspot.com/16160020 git-svn-id: http://skia.googlecode.com/svn/trunk@9502 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/images/SkImageRef_GlobalPool.cpp')
0 files changed, 0 insertions, 0 deletions