DescriptionUse 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
Committed: https://skia.googlesource.com/skia/+/01d6e5f462d1d52203ee1a6660415877e4cf2dde
Patch Set 1 #Patch Set 2 : update #Patch Set 3 : Compiling #
Total comments: 2
Patch Set 4 : git #Patch Set 5 : git #Patch Set 6 : update to ToT #Patch Set 7 : Fix building #Patch Set 8 : update to ToT (again) #Patch Set 9 : update #Patch Set 10 : update #Patch Set 11 : update #Patch Set 12 : upload #Patch Set 13 : update #Patch Set 14 : clean up #Patch Set 15 : more cleanup #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|