diff options
author | Chia-I Wu <[email protected]> | 2014-03-03 12:44:43 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-03-06 10:59:25 +0800 |
commit | 4c68c6dcffe6c738d563eb0e0650bb865a5457b2 (patch) | |
tree | 184258c93e8ff7d80ed182e54b41cd306efd1c63 /install-lib-links.mk | |
parent | 6d23ca1621cf2c68b0bab02374061ec026cb6ef3 (diff) |
st/mesa: make winsys fbo sRGB-capable when supported
The texture formats of winsys fbo are always linear becase the st manager
(st/dri for example) could not know the colorspace used. But it does not mean
that we cannot make the fbo sRGB-capable. By
- setting rb->Visual.sRGBCapable to GL_TRUE when the pipe driver supports the
format in sRGB colorspace,
- giving rb an sRGB internal format, and
- updating code to check rb->Format instead of strb->texture->format,
we should be good.
Fixed bug 75226 for at least llvmpipe and ilo, with no piglit regression.
v2: do not set rb->Visual.sRGBCapable for GLES contexts to avoid surprises
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75226
Reviewed-by: Brian Paul <[email protected]>
Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'install-lib-links.mk')
0 files changed, 0 insertions, 0 deletions