Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/software_x11
Modified Files:
evas_engine.c evas_engine.h evas_outbuf.c
Log Message:
softare_x11 engine can now rotate on the fly :) ecore_evas relies on this btw.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/software_x11/evas_engine.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_engine.c 25 Nov 2002 07:42:58 -0000 1.3
+++ evas_engine.c 12 Feb 2003 23:31:36 -0000 1.4
@@ -239,6 +239,7 @@
re = e->engine.data.output;
evas_software_x11_outbuf_software_x11_drawable_set(re->ob, info->info.drawable);
evas_software_x11_outbuf_software_x11_mask_set(re->ob, info->info.mask);
+ evas_software_x11_outbuf_software_x11_rotation_set(re->ob, info->info.rotation);
}
static void *
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/software_x11/evas_engine.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_engine.h 14 Nov 2002 05:38:10 -0000 1.2
+++ evas_engine.h 12 Feb 2003 23:31:37 -0000 1.3
@@ -103,7 +103,7 @@
void evas_software_x11_outbuf_software_x11_free (Outbuf
*buf);
Outbuf *evas_software_x11_outbuf_software_x11_setup_x (int w, int
h, int rot, Outbuf_Depth depth, Display *disp, Drawable draw, Visual *vis, Colormap
cmap, int x_depth, Outbuf_Perf *perf, int grayscale, int max_colors, Pixmap mask, int
shape_dither);
-
+
char *evas_software_x11_outbuf_software_x11_perf_serialize_x
(Outbuf_Perf *perf);
void evas_software_x11_outbuf_software_x11_perf_deserialize_x
(Outbuf_Perf *perf, const char *data);
Outbuf_Perf *evas_software_x11_outbuf_software_x11_perf_new_x (Display
*disp, Window draw, Visual *vis, Colormap cmap, int x_depth);
@@ -127,6 +127,7 @@
void evas_software_x11_outbuf_software_x11_set_have_backbuf (Outbuf
*buf, int have_backbuf);
void evas_software_x11_outbuf_software_x11_drawable_set (Outbuf
*buf, Drawable draw);
void evas_software_x11_outbuf_software_x11_mask_set (Outbuf
*buf, Pixmap mask);
+void evas_software_x11_outbuf_software_x11_rotation_set (Outbuf
+*buf, int rot);
void evas_software_x11_outbuf_software_x11_debug_set (Outbuf
*buf, int debug);
void evas_software_x11_outbuf_software_x11_debug_show (Outbuf
*buf, Drawable draw, int x, int y, int w, int h);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/software_x11/evas_outbuf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_outbuf.c 14 Nov 2002 05:38:10 -0000 1.2
+++ evas_outbuf.c 12 Feb 2003 23:31:38 -0000 1.3
@@ -35,6 +35,12 @@
free(buf);
}
+void
+evas_software_x11_outbuf_software_x11_rotation_set(Outbuf *buf, int rot)
+{
+ buf->rot = rot;
+}
+
Outbuf *
evas_software_x11_outbuf_software_x11_setup_x(int w, int h, int rot, Outbuf_Depth
depth,
Display * disp, Drawable draw, Visual * vis,
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs