[Lazarus] Lazarus IDE (GTK2) - flicker and slow redraws
Luiz Americo Pereira Camara
luizmed at oi.com.br
Tue Apr 29 04:37:59 CEST 2008
C Western wrote:
> 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?
No.
> 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).
>
This is the current behavior. I provided a patch in bug report 8871 that
you can try and see if your component works OK.
For my side, VirtualTreeView is OK.
Luiz
More information about the Lazarus
mailing list