Descriptioncc: Set opaque rect of TextureDrawQuad in NinePatchLayerImpl.
We can know the resource opaqueness from UIResourceData.
And if the resource is opaque such as jpeg or bmp,
we can set opaque_rect to allow disabling blending if
opaque.
Committed: https://crrev.com/c9ca78264c5593114e116e58e76dbdb67e828a2d
Cr-Commit-Position: refs/heads/master@{#304132}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 1
Patch Set 4 : #Patch Set 5 : change to EXPECT_FALSE #Patch Set 6 : Fix DCHECK #Messages
Total messages: 14 (6 generated)
|