DescriptionAdd clip to layer cache
This CL adds the clip region to the GPU layer hoisting image cache. It also switches back to the old caching behavior of using the entire CTM in the cache key rather then just the upper 2x2. This latter change is to focus more on hoisting rather then caching.
It also includes 2 smaller fixes:
a) layer's that have an image filter are no longer atlased (b.c. doing so complicates applying the image filter)
b) the result of clipping the layer's bounds to the current clip is used as the hoisted layer's size. This reduces the amount of pixels drawn to match a normal (non-hoisted) draw pass.
Committed: https://skia.googlesource.com/skia/+/3aac6e0848010efe046bd86bcb341dad5a23e174
Patch Set 1 #Patch Set 2 : clean up #
Messages
Total messages: 6 (2 generated)
|