tack patch

SVN revision: 15497
This commit is contained in:
Carsten Haitzler 2005-06-23 02:25:29 +00:00
parent 1c6ef60b3c
commit ec3566fcf0
1 changed files with 20 additions and 10 deletions

View File

@ -237,18 +237,28 @@ evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int
}
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;