[maemo-developers] Screenshot as loading screen on Maemo 5
From: Henrik Hedberg henrik.hedberg at innologies.fiDate: Fri Oct 23 09:29:29 EEST 2009
- Previous message: Screenshot as loading screen on Maemo 5
 - Next message: Screenshot as loading screen on Maemo 5
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
Aniello Del Sorbo wrote:
> But taking a snapshot slows down the startup... it should be then done
> in a small thread?
    The hildon_gtk_window_take_screenshot function just sends a client 
message to the root window [1] , and the screenshot is taken by the 
window manager / hildon desktop (I guess). So, it does not take too long 
from the application itself, and a thread would make it only slower.
    BR,
    Henrik
[1] 
http://maemo.gitorious.org/hildon/hildon/blobs/master/hildon/hildon-gtk.c#line463
-- 
    Henrik Hedberg  -  http://www.henrikhedberg.net/
    - Previous message: Screenshot as loading screen on Maemo 5
 - Next message: Screenshot as loading screen on Maemo 5
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
