GTK2 performance problem
Original Reporter info from Mantis: desmondc
-
Reporter name: Desmond C
Original Reporter info from Mantis: desmondc
- Reporter name: Desmond C
Description:
When painting on a canvas excessively, the paint events appear to slow down the bigger the canvas gets. I'm not sure anymore exactly what the problem is, but using tcanvas.copyrect slows down as the size of the canvas area increases.
Steps to reproduce:
Check sample projects attached. It's two identical projects. One built against GTK1, the other against GTK2. Run the GTK1 binary, MAXIMISE the form, drag the balls accross the form like a crazy person. It works fine for GTK1 project.
Now do the same for the GTK2 project (remember to MAXIMIZE the form), and see what the render on drag effect becomes. Slow! (At least so on my 1.6 GHz single core machine with 64MB ATI video card)
Additional information:
My GTK version is wxGTK-2.8.10
Mantis conversion info:
- Mantis ID: 14936
- OS: OpenSuSE
- OS Build: 11.0
- Platform: Linux i386
- Version: 2.2.4
- Fixed in revision: 28107 (#cdeb7f8f)
- Monitored by: » henryv (Henry Vermaak), » Vladimir (Vladimir Zhirov), » Kjow (Kjow), » luizamerico (Luiz Americo), » bruce (Bruce Tulloch), » AntonK (Anton Kavalenka), » @michaliskambi (Michalis Kamburelis)
- Target version: 1.0.0
- LazTarget: 1.0