diff options
author | Ian Romanick <[email protected]> | 2013-02-22 19:01:40 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-02-26 09:42:31 -0800 |
commit | 68a147e9a9e8f171d9aacdc7d78d2107009c4741 (patch) | |
tree | 824e47ec7ba7c8a1e9327fe53bf8e67baed76c25 /src/gallium/winsys | |
parent | e2148ab0438a670e1ce1068fe40346faa4e50598 (diff) |
egl: Allow 24-bit visuals for 32-bit RGBA8888 configs
Previously only the 32-bit X visual would match the 32-bit RGBA8888
configs. This resulted in every config with alpha getting the "magic"
visual whose alpha is used by the compositor. This also resulted in no
multisample visuals being advertised. How many ways could we lose?
This patch inverts the problem... now you can't get the visual with
alpha used by the compositor even if you want it. I think we need to
invent a new value for EGL_TRANSPARENT_TYPE that apps can use to get
this. I'm surprised that there isn't already a choice for
EGL_TRANSPARENT_ALPHA.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Ian Romanick <[email protected]>
Tested-by: Tian Ye <[email protected]>
Acked-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59783
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions