Update of bug #20287 (project mypaint):

                  Status:                    None => In Progress            

    _______________________________________________________

Follow-up Comment #2:

Yeah, that seems strange. Actually it's theoretically a little faster, but
maybe it's not noticable. CanvasRenderer.get_visible_layers() in
tileddrawwidget.py is doing its thing correctly: those layers aren't being
_rendered_ at all. They are having their bbox calculated in response to the
slider move for the purposes of the screen update, however: and that seems the
be where the problem lies.

Compositing happens in C, and only happens immediately for tiles which are
on-screen, or their mipmaps. It could easily be quicker than looping over 2000
or so tiles with a hash lookup each time.

Addressed in https://gitorious.org/mypaint/mypaint/commit/aed08632feecb, but
really it looks like this is a symptom of tiledsurface.get_tiles_bbox() being
slow for very large layers. I'm wondering if replacing our simple dict index
with something that knows about its bbox would generate some nice wins (even
if it's just a UI smoothness win!).


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20287>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to