evas gl rgba visual/rendering fix try ... again
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 25 Oct 2014 11:04:52 +0000 (20:04 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 25 Oct 2014 15:34:40 +0000 (00:34 +0900)
commit696346c4673f2d88b562c02750277a5fb3e41f9e
tree04c37b56b07d367c8ef0234e7c775e58e6f0689b
parente9e61718d1dc7d8f012ca4ee4958156ae47aea4f
evas gl rgba visual/rendering fix try ... again

so this is a re-try at the evas gl destination alpha fix. this is what
cedric tried, but done RIGHT. it required adding an ecore_x call to
create a window with correct visual/colormap. it requires doing
visuals totally correctly all the way from ecore_evas to the evas
gl_x11 core. nvidia drivers are very picky about visuals. i also had
to vid the egl/gles code too to do the same thing. nvidia gles/egl
drivers are also picky, mesa is not. this all requires a lot of code
changes. it's far from trivial

this isn't backported for a few reasons:

1. verify this fix doesn't break for anyone.

i tested:

nvidia glx + egl/gles
intel glx + egl/gles
radeon glx

it needs wider testing. nouveau, fglrx for starters and maybe
some other gles/egl drivers.

2. have some review time
3. time to settle before blasting to stable branches

@fix
src/lib/ecore_x/Ecore_X.h
src/lib/ecore_x/xcb/ecore_xcb_window.c
src/lib/ecore_x/xlib/ecore_x_window.c
src/modules/ecore_evas/engines/x/ecore_evas_x.c
src/modules/evas/engines/gl_x11/evas_engine.c
src/modules/evas/engines/gl_x11/evas_engine.h
src/modules/evas/engines/gl_x11/evas_x_main.c