Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/buffer Modified Files: evas_outbuf.c Log Message: tack patch =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/buffer/evas_outbuf.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- evas_outbuf.c 22 May 2005 02:49:36 -0000 1.8 +++ evas_outbuf.c 23 Jun 2005 02:25:29 -0000 1.9 @@ -237,18 +237,28 @@ } break; case OUTBUF_DEPTH_RGB_32BPP_888_8888: - if (!buf->priv.back_buf) - { - /* simple memcpy */ - /* FIXME: write this */ - } - else - { - } + printf("NOT IMPLEMENTED\n"); break; case OUTBUF_DEPTH_BGR_32BPP_888_8888: - /* simple memcpy */ - /* FIXME: write this */ + { + DATA32 *src; + DATA8 *dest; + int yy, row_bytes; + Gfx_Func_Blend_Src_Dst func; + + row_bytes = buf->dest_row_bytes; + dest = (DATA8 *)(buf->dest) + (y * row_bytes) + (x * 4); + func = evas_common_draw_func_copy_get(w, 0); + if (func) + { + for (yy = 0; yy < h; yy++) + { + src = update->image->data + (yy * update->image->w); + func(src, dest, w); + dest += row_bytes; + } + } + } break; default: break; ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs