[Customdrawn] Some patches

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Apr 2 09:52:38 CEST 2012


On Fri, Mar 30, 2012 at 9:50 PM, Giuliano Colla
<giuliano.colla at fastwebnet.it> wrote:
> Here's a new diff, against last revision.
> I have added some comments, and moved TCDX11Timer from customdrawnint to
> customdrawn_x11proc.
> I've added there the include of customdrawndefines, and uses CustomDrawnInt
> but under ifdef.

Hello,

Ok, now this is a pretty excellent patch with many comments =)

I applied it, but I had to disabled the new timer by default because
it crashes one of our test cases:

lazarus/examples/android/nonandroidtest.lpi

It probably crashes the timer of TCDEdit

Sorry for the long delay in applying, but in weekends I am less available.

I think that we should consider from now on giving you direct commit
rights to the customdrawn directory. 1.0 was already branched so there
will be a long time till trunk becomes a release again and clearly you
know more about X11 then I do. And I am also focused in the Android
and Cocoa backends now.

My main challange now is to speed up the painting. I already wrote
many optimizations, but it is still too slow in the Virtual Magnifying
Glass, which is a full screen application which makes custom drawings.
In this case there is no easy way to cache operations because it
really repaints the entire screen each time.

It also could be faster in scrolling the form in Android.

-- 
Felipe Monteiro de Carvalho




More information about the Customdrawn mailing list