Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_x11
Modified Files:
evas_outbuf.c
Log Message:
rotation patches for 180 degrees - thankyoooo! :)
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_x11/evas_outbuf.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evas_outbuf.c 28 Dec 2006 12:45:32 -0000 1.8
+++ evas_outbuf.c 2 Mar 2007 14:51:17 -0000 1.9
@@ -147,7 +147,7 @@
}
if (buf->priv.pal)
{
- if (buf->rot == 0)
+ if (buf->rot == 0 || buf->rot == 180)
conv_func = evas_common_convert_func_get(0, buf->w, buf->h,
evas_software_x11_x_output_buffer_depth
(xob),
buf->priv.mask.r,
@@ -155,15 +155,7 @@
buf->priv.mask.b,
buf->priv.pal->colors,
buf->rot);
- else if (buf->rot == 270)
- conv_func = evas_common_convert_func_get(0, buf->h, buf->w,
-
evas_software_x11_x_output_buffer_depth
- (xob),
buf->priv.mask.r,
- buf->priv.mask.g,
- buf->priv.mask.b,
-
buf->priv.pal->colors,
- buf->rot);
- else if (buf->rot == 90)
+ else if (buf->rot == 90 || buf->rot == 270)
conv_func = evas_common_convert_func_get(0, buf->h, buf->w,
evas_software_x11_x_output_buffer_depth
(xob),
buf->priv.mask.r,
@@ -174,21 +166,14 @@
}
else
{
- if (buf->rot == 0)
+ if (buf->rot == 0 || buf->rot == 180)
conv_func = evas_common_convert_func_get(0, buf->w, buf->h,
evas_software_x11_x_output_buffer_depth
(xob),
buf->priv.mask.r,
buf->priv.mask.g,
buf->priv.mask.b, PAL_MODE_NONE,
buf->rot);
- else if (buf->rot == 270)
- conv_func = evas_common_convert_func_get(0, buf->h, buf->w,
-
evas_software_x11_x_output_buffer_depth
- (xob),
buf->priv.mask.r,
- buf->priv.mask.g,
- buf->priv.mask.b,
PAL_MODE_NONE,
- buf->rot);
- else if (buf->rot == 90)
+ else if (buf->rot == 90 || buf->rot == 270)
conv_func = evas_common_convert_func_get(0, buf->h, buf->w,
evas_software_x11_x_output_buffer_depth
(xob),
buf->priv.mask.r,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs