Hi guys,

Working with embedded devices is tricky and you have to "lie" a lot,
one of the tricks we use is to take a screenshot of the whole screen,
operate on it and then restore, this is really useful to make a whole
screen fadeout, resize, etc...

But today Evas render and forget, there is no way to retrieve this painting.

I'd like to write a evas_screenshot() that returns an evas_image, but
in order to do that I need to draw things to a buffer. At first I
thought about marking the whole screen as dirty and rendering, but
with some engines, at least X, it won't help. So I want to introduce a
"screenshot" engine call to support that.

However I don't see how to implement that easily. AFAIU we have to
copy evas_render_updates_internal() and replace engine calls with
screenshot primitives (I cannot call
output_redraws_next_update_get())... this is a big problem. :-/

Creating a Buffer engine is of no help as recreating all the objects
is really cumbersome. Maybe it's possible to change engine, mark the
whole screen as dirty, render, copy the buffer and reset the engine?

Ideas? Until I get some I'll try using the way aforementioned using
new engine calls.

-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to