summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAntti S. Lankila <alankila@bel.fi>2012-07-29 21:46:58 +0300
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-07-30 15:37:26 -0400
commit7460457f80b1482338318f0ddcdf5311659fae7b (patch)
tree7004b38e2b38b02034149ebf559357d18a5c2059 /.gitignore
parent1dcca0f7ae64e9a96f2feba85dd728c636744009 (diff)
Add support for sRGB surfaces
sRGB format is defined as a new format type, PIXMAN_TYPE_ARGB_SRGB. One form of this type is provided, PIXMAN_a8r8g8b8_sRGB. Use of an sRGB format triggers wide processing, and the pixel fetch/store functions handle the relevant conversion between color spaces. Pixman itself is thought to compose in the linearized sRGB color space. sRGB conversion is tabularized. For sRGB to linear, we are using only 256 values because the current source format uses 8 bits per component precision. For linear to sRGB, it turns out that only 4096 brightness levels are required to generate all of the 256 sRGB color values, and therefore only 12 bits per component are considered during store. As a special case, a no-op sRGB->linear->sRGB conversion is constructed to be lossless by adjusting the sRGB->linear conversion table where necessary.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b9853b11..3cdf3c10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,6 +42,7 @@ pixman/pixman-combine32.c
pixman/pixman-combine32.h
pixman/pixman-combine64.c
pixman/pixman-combine64.h
+pixman/pixman-srgb.c
pixman/pixman-version.h
test/a1-trap-test
test/affine-test