Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/gl_x11
Modified Files:
evas_engine.c evas_x_main.c
Log Message:
umm... handle rgba dest properly...
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/gl_x11/evas_engine.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_engine.c 7 Mar 2006 02:44:16 -0000 1.5
+++ evas_engine.c 8 Mar 2006 08:02:33 -0000 1.6
@@ -235,17 +235,29 @@
if (!e->engine.data.output)
e->engine.data.output =
eng_output_setup(e->output.w,
- e->output.h,
- info->info.display,
- info->info.drawable,
- info->info.visual,
- info->info.colormap,
- info->info.depth);
+ e->output.h,
+ info->info.display,
+ info->info.drawable,
+ info->info.visual,
+ info->info.colormap,
+ info->info.depth);
+ else
+ {
+ re = e->engine.data.output;
+ eng_window_free(re->win);
+ re->win = eng_window_new(info->info.display,
+ info->info.drawable,
+ 0,/* FIXME: screen 0 assumption */
+ info->info.visual,
+ info->info.colormap,
+ info->info.depth,
+ e->output.w,
+ e->output.h);
+ }
if (!e->engine.data.output) return;
if (!e->engine.data.context)
e->engine.data.context =
e->engine.func->context_new(e->engine.data.output);
- re = e->engine.data.output;
}
static void *
@@ -258,8 +270,8 @@
re = calloc(1, sizeof(Render_Engine));
re->win = eng_window_new(disp, draw,
- 0 /* FIXME: screen 0 assumption */,
- vis, cmap, depth, w, h);
+ 0 /* FIXME: screen 0 assumption */,
+ vis, cmap, depth, w, h);
if (!re->win)
{
free(re);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/gl_x11/evas_x_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_x_main.c 7 Mar 2006 00:24:37 -0000 1.2
+++ evas_x_main.c 8 Mar 2006 08:02:33 -0000 1.3
@@ -25,13 +25,13 @@
Evas_GL_X11_Window *
eng_window_new(Display *disp,
- Window win,
- int screen,
- Visual *vis,
- Colormap cmap,
- int depth,
- int w,
- int h)
+ Window win,
+ int screen,
+ Visual *vis,
+ Colormap cmap,
+ int depth,
+ int w,
+ int h)
{
Evas_GL_X11_Window *gw;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs