DescriptionAPI changes to GrTextureAdjuster.
These changes are to facilitate converting SkGpuDevice::drawTextureAdjuster to SkGpuDevice::drawTextureProducer.
Make constraint rect relative to content area
Store dimensions in GrTextureProducer
Make originalTexture() protected.
Remove getContentArea()
Provide pre-normalized texture matrix to GrTextureAdjuster::createFragmentProcessor. Define it to be be relative to content area.
Committed: https://skia.googlesource.com/skia/+/3aa5fce54e1d8f4a682eaf6446fa73df962b3778
Patch Set 1 #Patch Set 2 : small updates #Patch Set 3 : fix comment #Patch Set 4 : back away from lambdas #
Total comments: 2
Depends on Patchset: Messages
Total messages: 12 (5 generated)
|