DescriptionNew GM that exercises gamma-correctness in various parts of the pipeline.
Attempts to render 50% grey through many different techniques. Only the first one (black/white dither) is guaranteed to be correct. This serves as ground-truth for all the others (independent of whatever your display may or may not be doing when viewing the output of the GM).
Current tests:
- Texture bilerp
- Texture scale (ie mipmaps)
- Simple paint color
- Gradient
- A handful of Xfer modes
- 50% grey bitmaps, both linear and sRGB
Also includes a bug-fix for sRGB -> Linear bitmap case
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1734983003
Committed: https://skia.googlesource.com/skia/+/9f73a71eec0eb54783f2dcad009aae6aafbe38d5
Patch Set 1 #
Total comments: 2
Patch Set 2 : Coding standards fixes #Patch Set 3 : eraseRGB -> eraseARGB (Deprecated) #Patch Set 4 : Switched to SkString. Better labels for several tests. Added "bitmap wrapped in shader" to demonstr… #
Messages
Total messages: 22 (11 generated)
|