softare_x11 engine can now rotate on the fly :) ecore_evas relies on this btw.

SVN revision: 6680
This commit is contained in:
Carsten Haitzler 2003-02-12 23:31:38 +00:00
parent 29c3f54a87
commit bdb20a4f9d
6 changed files with 11 additions and 4 deletions

View File

@ -209,7 +209,7 @@ suggested configure options for an ipaq 38xx:
--enable-cpu-c \
--enable-scale-smooth \
--enable-scale-sample \
--enable-convert-16-rgb-ipq \
--enable-convert-16-rgb-565 \
--enable-convert-16-rgb-rot-90
make CFLAGS="-O9"

View File

@ -16,7 +16,6 @@ AC_HEADER_STDC
AC_C_CONST
AM_ENABLE_SHARED
AM_PROG_LIBTOOL
AM_WITH_DMALLOC
dnl Add the languages which your application supports here.

View File

@ -357,7 +357,7 @@ Suggested configure options for an ipaq 38xx:
--enable-cpu-c \
--enable-scale-smooth \
--enable-scale-sample \
--enable-convert-16-rgb-ipq \
--enable-convert-16-rgb-565 \
--enable-convert-16-rgb-rot-90
make CFLAGS="-O9"

View File

@ -239,6 +239,7 @@ evas_engine_software_x11_setup(Evas *e, void *in)
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 *

View File

@ -103,7 +103,7 @@ void evas_software_x11_outbuf_software_x11_init (void)
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 @@ int evas_software_x11_outbuf_software_x11_get_have_backbuf (Outbu
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);

View File

@ -35,6 +35,12 @@ evas_software_x11_outbuf_software_x11_free(Outbuf * buf)
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,