Chromium Code Reviews
Descriptioncc: make partially-resident textures use 1 - y, not h - y.
In Skia, partially-resident textures of "flipped" textures
occupy texcoords 1 to 1 - h (in Y). In cc, they occupy h to
0. In order to ease interop, we should pick a convention and unify.
I chose the Skia model, since coords can flipped with a
simple 1 - y, which doesn't require knowing the height
of the active region. I also added a new test case for
masks, since the math is a little hinky.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/fbfb39d126f7a6e24f369c950954298949d718a3
Cr-Commit-Position: refs/heads/master@{#371930}
Patch Set 1 #Patch Set 2 : More plausible mask fix; new test #
Messages
Total messages: 15 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||