diff options
author | Roland Scheidegger <[email protected]> | 2013-07-16 01:52:29 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-07-16 01:54:51 +0200 |
commit | dc1cc928edc09b3e804702d299f1c71aef014354 (patch) | |
tree | 7cf01823f5b41e56729f7ffad4dd6c055f57a8b5 /src/gallium/winsys/i915 | |
parent | a882067d74840ab87e35018bca53081f8deb460b (diff) |
llvmpipe: support sRGB framebuffers
Just use the new conversion functions to do the work. The way it's plugged
in into the blend code is quite hacktastic but follows all the same hacks
as used by packed float format already.
Only support 4x8bit srgb formats (rgba/rgbx plus swizzle), 24bit formats never
worked anyway in the blend code and are thus disabled, and I don't think anyone
is interested in L8/L8A8. Would need even more hacks otherwise.
Unless I'm missing something, this is the last feature except MSAA needed for
OpenGL 3.0, and for OpenGL 3.1 as well I believe.
v2: prettify a bit, use separate function for packing.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/winsys/i915')
0 files changed, 0 insertions, 0 deletions