Descriptionflag imageinfo as srgb
intended uses:
- flag a SkSurface as sRGB (only supported by Ganesh for now)
- flag images (e.g. png or jpeg) as sRGB if the codec tells us that
wins:
- faster gamma-correct text (esp. w/ distance-fields) when we can use sRGB for text
- better color fidelity when the screen really is sRGB
Committed: https://skia.googlesource.com/skia/+/7c74885e017a2473383fed72bd629cc07c773942
Patch Set 1 #Patch Set 2 : sniff CGImage for sRGB-ness #Patch Set 3 : rebase #Patch Set 4 : rebase #
Total comments: 3
Patch Set 5 : add test for flattening #Patch Set 6 : #
Total comments: 6
Patch Set 7 : fix copy/paste error in loop limits #
Messages
Total messages: 19 (3 generated)
|