[waffle] [PATCH 0/2] Test and fix for EGL configs with alpha
Pauli Nieminen
pauli.nieminen at linux.intel.com
Thu May 24 07:33:35 PDT 2012
Only EGL configs [1] that are available with alpha are using 32bit composite
visual. To create a window with that visual requires a bit more parameters
than waffle is currently providing. The fix is relatively simple
I hit this with piglit tests using GLUT_ALPHA.
I don't actually know any reason why mesa doesn't provide alpha bits for
24bit X visuals. Application could still use framebuffer alpha bits for
rendering even tough compositor won't read those values. But I suppose
that is topic of later discussion in mesa list.
Will waffle provide application control to select between opaque and
translucent window even if selecting config with alpha bit?
[1] example config:
0x3d 32 0 8 8 8 8 0 0 0 0 0x66TC a y y y win,pb,pix
Pauli Nieminen (2):
gl_basic_test: Add test that config with alpha works
x11: Support visuals that don't match root visual
src/waffle/x11/x11.c | 23 ++++++++++++++++++++---
tests/functional/gl_basic_test.c | 31 ++++++++++++++++++++-----------
2 files changed, 40 insertions(+), 14 deletions(-)
--
1.7.5.4
More information about the waffle
mailing list