On 7/16/07, Cedric BAIL <[EMAIL PROTECTED]> wrote:
> Hi,
>
>         During my development of the SDL engine I did notice that always 
> seems a
> little bit faster than software x11. I think it was only an artefact, or
> something strange with my config, but as Caro also notice this. We did find
> something that could be the source of the slow down.
>
>         In the software_x11 implementation, we create a new RGBA_Image for 
> each
> region to be update (in evas_engine.c:eng_output_redraws_next_update_get with
> evas_outbuf.c:evas_software_x11_outbuf_new_region_for_update). Then they are
> flushed on the final surface and destroyed.
>         In software_sdl, I just copy to the final destination without 
> creating new
> surface (I need to reset the background to start from a fresh copy).

Raster is aware of this, while writing 16bpp I opted to do this
differently and this was the motivation behind idle_flush() call, so
I'm now able to create my X pixmap, operate on it and destroy after
some time it's unused.

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to