aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkRectShaderImageFilter.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-12-01 09:09:27 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-01 09:09:27 -0800
commit01d6e5f462d1d52203ee1a6660415877e4cf2dde (patch)
treeddbfc5b976c891adf2e318008043a76e9c4a7f8d /include/effects/SkRectShaderImageFilter.h
parente05162d15741eb642080a31f28c38a99b3142dfb (diff)
Use variable length key (rather than accumulated matrix) as save layer hoisting key
Adding the rendering canvas' CTM to the layer hoisting key (i.e., Add support for hoisting layers in pictures drawn with a matrix - https://codereview.chromium.org/748853002/) has increased the cache miss rate due to accumulated floating point error. This CL fixes part of the issue by using the chain of operation indices leading to each saveLayer as the key. The canvas' CTM must still form part of the key but should be less subject to accumulated error. BUG=skia:2315 Review URL: https://codereview.chromium.org/753253002
Diffstat (limited to 'include/effects/SkRectShaderImageFilter.h')
0 files changed, 0 insertions, 0 deletions