[Lazarus] Lazarus IDE (GTK2) - flicker and slow redraws

C Western l at c-m-w.me.uk
Sun Apr 27 15:44:10 CEST 2008


Luiz Americo Pereira Camara wrote:
> Mattias Gaertner wrote:
>   
>> But it is true, that the ExtTextOut function, which is used by SynEdit,
>> under gtk2 is at least 5 times slower than under gtk1. It uses pango
>> functions, which are great for full unicode support, but snail slow.
>> Probably the font system must be changed to cairo.
>>   
>>     
>
> About slowness of synedit/gtk2: i noticed, in svn logs, you are trying 
> to optimize synedit paint by using canvas.cliprect. This won't help much 
> under gtk2 because cliprect is always = clientrect.
> Take a look into bug report 8871. I posted a patch and some notes.
>
> Luiz
>   
Is PaintRect/ClipRect providing any useful information under gtk2? I am using a custom control, and it seems to always repaint the entire screen, even if only a small part is needed (such as a disappearing hint window).

Colin




More information about the Lazarus mailing list