diff options
author | Antti S. Lankila <alankila@bel.fi> | 2012-07-29 21:56:18 +0300 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-07-30 15:40:16 -0400 |
commit | a161a6ba2394aed68148304de83b8f2c185f4c32 (patch) | |
tree | a21ed26fb62a8e918f9316ebff5db66e8e70bd33 /.gitignore | |
parent | 7460457f80b1482338318f0ddcdf5311659fae7b (diff) |
Add sRGB blending demo program
Simple sRGB color blender test can be used to determine if the sRGB processing
works as expected. It blends alpha ramps of purple and green together such that
at midpoint of image, 50 % blend of both is realized. At that point, sRGB-aware
processing yields a result close to #bbb rather than #888, which is the linear
light blending result.
The demo also contains the sample computation for sRGB premultiplied alpha.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ demos/gradient-test demos/quad2quad demos/radial-test demos/screen-test +demos/srgb-test demos/trap-test demos/tri-test pixman/pixman-combine32.c |