Add code for ecore_evas_<engine>_pixmap_new/get functions.
authorChris Michael <cp.michael@samsung.com>
Fri, 5 Jul 2013 09:38:43 +0000 (10:38 +0100)
committerChris Michael <cp.michael@samsung.com>
Fri, 5 Jul 2013 09:44:18 +0000 (10:44 +0100)
commit2c322cc7b144ec626ec8b34fae738b2f2784303e
treee1cdbcdd598f84b6af8c6d70e12081b53a08f53e
parent159232b593aa014581bb6def758dc1e085130d33
Add code for ecore_evas_<engine>_pixmap_new/get functions.
    - Add "pixmap" structure to engine_data.
    - Free the front and back pixmaps when the ecore_evas gets freed.
    - On resize, drop the backing pixmap if size is different.
    - Before we render, check pixmap size vs EE size and create new
backing pixmap if needed.
    - After we have rendered into the backing pixmap, flip it to the
front so that any calls to "pixmap_get" will return the proper one.
    - Add pixmap_new_internal code (the actual guts for all this)

NB: These can be used to create an internally double-buffered
ecore_evas that renders to a pixmap (not a window).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/x/ecore_evas_x.c