Follow-up Comment #13, bug #17650 (project mypaint):
Re profiling: the current tuneables are lib.pixbufsurface.TILES_PER_CALLBACK
(for saving), and lib.document.LOAD_CHUNK_SIZE (for loading). There will
always be at least one call to the GTK main loop, so feel free to play with
these.
The first time expose_cb is called in the insensitive state, it generates a
cached pixbuf (because otherwise you get draws of partially-loaded file
contents when loading, which is ugly). Note the odd little backflip with
get_snapshot() re-exposing the widget. Subsequent calls to it in this state
should draw using this cached copy of the window contents until the window is
made sensitive again. I'd like to move this 1st redraw earlier because
currently we draw a white background; for a dialog save this would cause the
caching redraw to happen while the user's typing the filename :)
4 calls to repaint for 4 calls to expose_cb seem wrong though. Hmm.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17650>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs