DescriptionTwo (related) changes here:
1) Our older iOS devices failed our sRGB tests, due to precision issues
with alpha. At this point, we only test on iPadMini 4, and that appears
not to have any problems.
2) iOS devices still don't have the sRGB texture decode extension. But,
some clients have no interest in mixing legacy/color-correct rendering,
and would like to use sRGB on these devices. This GrContextOptions flag
enables sRGB support in those cases.
Adjust the test code to produce sRGB capable contexts on these devices,
but only for configs that have a color space. (See comment).
BUG=skia:4148
Committed: https://skia.googlesource.com/skia/+/9db12d2341f3f8722c8b90b11dd4cce138a8a64e
Committed: https://skia.googlesource.com/skia/+/1aeb78c5d978b35b256525b711edd942bce01444
Committed: https://skia.googlesource.com/skia/+/20471894eaa441193d5ae8f2395e8244c91c55af
Patch Set 1 #Patch Set 2 : Remove decode requirement #Patch Set 3 : Add context option #Patch Set 4 : Skip SRGB mip test #Patch Set 5 : Better comment #Patch Set 6 : Remove testing hacks #
Total comments: 2
Patch Set 7 : Rename flag, pass context options, add comment #Patch Set 8 : Fix testing behavior wrt sRGB Decode #Patch Set 9 : Force to highp for testing #Patch Set 10 : highp by default #Patch Set 11 : Blacklist NexusPlayer (x86 PowerVR) #Patch Set 12 : Don't allow sRGBA on ES BGRA devices #
Messages
Total messages: 43 (27 generated)
|