raster pushed a commit to branch master.

commit 36b1b06a6002d33629404061e3cb8b82346e6bc9
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Apr 20 09:13:38 2013 +0900

    note in comments som get visual info from fbconfig stuff to mach
    depths. doesn't help though.
---
 src/modules/evas/engines/gl_x11/evas_engine.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c 
b/src/modules/evas/engines/gl_x11/evas_engine.c
index 204bf87..b042b18 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -2190,6 +2190,13 @@ eng_image_native_set(void *data, void *image, void 
*native)
                              {
                                 if (found == 0)
                                   {
+//                                     XVisualInfo *vi;
+//                                     
+//                                     vi = 
glXGetVisualFromFBConfig(re->win->disp, configs[j]);
+//                                     if (!vi) continue;
+//                                     if (vi->depth != depth) continue;
+//                                     XFree(vi);
+                                     
                                      glXGetFBConfigAttrib(re->win->disp, 
configs[j],
                                                           GLX_BUFFER_SIZE, 
&val);
                                      if (val != (int) depth) continue;

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to