Update of bug #20822 (project mypaint):
Status: Ready For Test => Fixed
_______________________________________________________
Follow-up Comment #18:
Thanks for all the testing on this. I've had no reports of any regressions,
and event processing rates are now comparable with 1.1.0 (not git, GTK2). So
that's a win, I think.
*Pushed to master*
https://gitorious.org/mypaint/mypaint/commit/e6092eb3ac1c40eafbd535aeed72e28f62a2edd7/diffs/877108796deb007a18cbc8c4f3a5dbdd194471d9
I'm most concerned about *pressure and tilt smoothness* now. For the
eventhack-captured events, these axes are faked as linear interpolations of
the "real" axis values to either side (we use the real x and y values,
however). It's possible that linear interpolation is insufficiently smooth
here: I could try a spline-based interpolation instead. Catmull-Rom won't work
for this unfortunately: we'd need two successive "real" events in the
recombined stream to make it work, and that can't be guaranteed in a timely
fashion.
If pressure looks stripey (when it varies opacity) or staircasey (when
pressure adjusts the brush radius) when it wouldn't with earlier GTK2
revisions, I'd like to know. Can try fancier splines, but please report such
regressions as a separate bug ☺
This won't break for Windows people, but someone will have to write some
Win32-specific workaround code to get events at the rate the tablet is
reporting them. *Windows patches would be very welcome*. Please look in
lib/eventhack.hpp to see how we do it for X11 and see the docs for
gdk_window_add_filter().
_______________________________________________________
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