Update of bug #20822 (project mypaint):
Status: In Progress => Ready For Test
Assigned to: martinxyz => achadwick
_______________________________________________________
Follow-up Comment #13:
There has been no movement on the GTK bug, so I've implemented capturing the
missing events as a GDK event filter. I'm now getting up to 200 events per
second now and smooth lines with my Intuos5.
https://gitorious.org/mypaint/achadwick-mypaint/commits/eventhack-wip
The code will only work on X11 at present, but compilation and runtime is
suitably conditional.
+verbatim-
$ cd path/to/my/mypaint/clone
$ scons --clean
$ git remote add achadwick git://gitorious.org/mypaint/achadwick-mypaint.git
$ git fetch achadwick
$ git co -b eventhack-wip achadwick/eventhack-wip
$ scons
$ MYPAINT_DEBUG=1 ./mypaint -c /tmp/cfgtmp_evhack
[...]
DEBUG: gui.canvasevent: Adding evhack filter (<TiledDrawWidget object
at 0x3ba9d20 (TiledDrawWidget at 0x30065a0)>,
<gui.canvasevent.SwitchableFreehandMode object at 0x518c6d0>)
DEBUG: gui.canvasevent: Processing at 200 events/s (t_avg=0.005s)
DEBUG: gui.canvasevent: Processing at 199 events/s (t_avg=0.005s)
[...]
Please can everyone test and report the speeds they get for continuous
scribbles when running with MYPAINT_DEBUG turned on? Thanks.
Commit 451ca93 in that branch is a good point to contrast it against if you
think you're getting no improvement.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20822>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs