DescriptionTrack nested picture xform state for layer hoisting
The accumulated matrix state of any enclosing SkPictures must be stored separate from the picture-local CTM. Any setMatrix calls inside a layer need to replace the picture-local CTM but concatenate with the enclosing SkPicture transform state (and the transform state needed to translate the layer to the correct location in the cached GrTexture).
Committed: https://skia.googlesource.com/skia/+/9e6835da41e344ef3c4c35036fabfdb0a4146c33
Patch Set 1 #
Total comments: 4
Patch Set 2 : rename variable (fInitialMat -> fPreMat) #
Messages
Total messages: 7 (2 generated)
|