+2013-04-14 Carsten Haitzler (The Rasterman)
+
+ * Evas: Fix evas gl_x11 to use default depth when visual
+ matching so lower depth displays work
+
2013-04-15 ChunEon Park
* Evas: If an object goes to be hidden without replacing the cur/prev
state info, the object context can be corrupted at the next show time.
* Evas: fix gif bug related with scale down decode.
* Evas textblock: Fixed a bug with deletion of ranges that end just a visual format.
* Evas: If an object goes to be hidden without replacing the cur/prev state info, the object context can be corrupted at the next show time. Now it replaces the cur/prev in that rare case.
-
+ * Evas: Fix evas gl_x11 in 16bpp and lower depths than 24/32 bpp.
config_attrs[i++] = GLX_RED_SIZE;
config_attrs[i++] = 1;
config_attrs[i++] = GLX_GREEN_SIZE;
- config_attrs[i++] =1;
+ config_attrs[i++] = 1;
config_attrs[i++] = GLX_BLUE_SIZE;
config_attrs[i++] = 1;
if (alpha)
if (!alpha)
{
config = configs[i];
- _evas_gl_x11_vi = malloc(sizeof(XVisualInfo));
- memcpy(_evas_gl_x11_vi, visinfo, sizeof(XVisualInfo));
- fbconf = config;
- XFree(visinfo);
- break;
+ // ensure depth matches default depth!
+ if (DefaultDepth(einfo->info.display, 0) ==
+ visinfo->depth)
+ {
+ _evas_gl_x11_vi = malloc(sizeof(XVisualInfo));
+ memcpy(_evas_gl_x11_vi, visinfo,
+ sizeof(XVisualInfo));
+ fbconf = config;
+ XFree(visinfo);
+ break;
+ }
}
else
{