forked from enlightenment/efl
softare_x11 engine can now rotate on the fly :) ecore_evas relies on this btw.
SVN revision: 6680
This commit is contained in:
parent
29c3f54a87
commit
bdb20a4f9d
|
@ -209,7 +209,7 @@ suggested configure options for an ipaq 38xx:
|
||||||
--enable-cpu-c \
|
--enable-cpu-c \
|
||||||
--enable-scale-smooth \
|
--enable-scale-smooth \
|
||||||
--enable-scale-sample \
|
--enable-scale-sample \
|
||||||
--enable-convert-16-rgb-ipq \
|
--enable-convert-16-rgb-565 \
|
||||||
--enable-convert-16-rgb-rot-90
|
--enable-convert-16-rgb-rot-90
|
||||||
|
|
||||||
make CFLAGS="-O9"
|
make CFLAGS="-O9"
|
||||||
|
|
|
@ -16,7 +16,6 @@ AC_HEADER_STDC
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AM_ENABLE_SHARED
|
AM_ENABLE_SHARED
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
AM_WITH_DMALLOC
|
|
||||||
|
|
||||||
dnl Add the languages which your application supports here.
|
dnl Add the languages which your application supports here.
|
||||||
|
|
||||||
|
|
|
@ -357,7 +357,7 @@ Suggested configure options for an ipaq 38xx:
|
||||||
--enable-cpu-c \
|
--enable-cpu-c \
|
||||||
--enable-scale-smooth \
|
--enable-scale-smooth \
|
||||||
--enable-scale-sample \
|
--enable-scale-sample \
|
||||||
--enable-convert-16-rgb-ipq \
|
--enable-convert-16-rgb-565 \
|
||||||
--enable-convert-16-rgb-rot-90
|
--enable-convert-16-rgb-rot-90
|
||||||
|
|
||||||
make CFLAGS="-O9"
|
make CFLAGS="-O9"
|
||||||
|
|
|
@ -239,6 +239,7 @@ evas_engine_software_x11_setup(Evas *e, void *in)
|
||||||
re = e->engine.data.output;
|
re = e->engine.data.output;
|
||||||
evas_software_x11_outbuf_software_x11_drawable_set(re->ob, info->info.drawable);
|
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_mask_set(re->ob, info->info.mask);
|
||||||
|
evas_software_x11_outbuf_software_x11_rotation_set(re->ob, info->info.rotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|
|
@ -103,7 +103,7 @@ void evas_software_x11_outbuf_software_x11_init (void)
|
||||||
void evas_software_x11_outbuf_software_x11_free (Outbuf *buf);
|
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);
|
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);
|
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);
|
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);
|
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_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_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_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_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);
|
void evas_software_x11_outbuf_software_x11_debug_show (Outbuf *buf, Drawable draw, int x, int y, int w, int h);
|
||||||
|
|
|
@ -35,6 +35,12 @@ evas_software_x11_outbuf_software_x11_free(Outbuf * buf)
|
||||||
free(buf);
|
free(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
evas_software_x11_outbuf_software_x11_rotation_set(Outbuf *buf, int rot)
|
||||||
|
{
|
||||||
|
buf->rot = rot;
|
||||||
|
}
|
||||||
|
|
||||||
Outbuf *
|
Outbuf *
|
||||||
evas_software_x11_outbuf_software_x11_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
evas_software_x11_outbuf_software_x11_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
||||||
Display * disp, Drawable draw, Visual * vis,
|
Display * disp, Drawable draw, Visual * vis,
|
||||||
|
|
Loading…
Reference in New Issue