This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10865 - Mandelbrot: Yield buttons during painting of the fractal
Attached to Project:
Rockbox
Opened by Tomer Shalev (tomers) - Thursday, 17 December 2009, 19:44 GMT+2
Last edited by Tomer Shalev (tomers) - Wednesday, 13 January 2010, 20:08 GMT+2
Opened by Tomer Shalev (tomers) - Thursday, 17 December 2009, 19:44 GMT+2
Last edited by Tomer Shalev (tomers) - Wednesday, 13 January 2010, 20:08 GMT+2
|
DetailsIn Mandelbrot demo application, increasing iteration depth causes slow painting of the fractal. The painting function yields during the painting, but does not responds to user interactions. If you want to move / zoom in/out the fractal, you have to wait until drawing ends.
This implementation yields the buttons during painting (each 0.25 sec). Currently, pressing a button redraws the entire screen. This can be optimized further, but it is better in terms of usability than current implementation. I don't see a reason for it to hurt drawing performance much. I would like to get some more comments for this so I know if its ready to be committed, |
This task depends upon
Closed by Tomer Shalev (tomers)
Wednesday, 13 January 2010, 20:08 GMT+2
Reason for closing: Out of Date
Additional comments about closing: Superseded by:
FS#10911 - Plugins: Fractals (formerly Mandelbrot)
Wednesday, 13 January 2010, 20:08 GMT+2
Reason for closing: Out of Date
Additional comments about closing: Superseded by:
I'd prefer something like this: check tick before calling check_button() and check_button() returns button code.