Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » High Performance Drawing
Re: High Performance Drawing [message #13430 is a reply to message #13355] |
Sat, 05 January 2008 19:55 |
phirox
Messages: 49 Registered: December 2007
|
Member |
|
|
Edit: Ok problem was actually quite simply solved
As a last resort I tried to compile it without debugging, it worked well then. The solution: Turn off XSyncronization by disabling the flag SYNCHRONIZE in X11App.cpp
---OLD---
I've actually come across another issue regarding high speed drawing. My program had no real speed problems until I upgraded to the latest development release.
The lay down: It looks like it doesn't effect Windows just X11. No problems with 701-dev1 and 2007.1, it starts to go really slow with 708-dev2b(I have not tried versions between those).
I've added a test case, the difference in paint update speed is huge.
I've tried for 2 days to find the core of the problem myself, but I'm at a loss. It doesn't seem to be the palette changes, or the drawlock.
Only workaround I found to make it just as fast as 2007.1 is to comment out this line in the function Draw::DrawRectOp
XFillRectangle(Xdisplay, dw, gc, x + actual_offset.x, y + actual_offset.y, cx, cy);
Which is really weird, I'm guessing something changed for the Xdisplay; dw; and gc variable or something.
-
Attachment: drawtest.zip
(Size: 0.90KB, Downloaded 429 times)
[Updated on: Sat, 05 January 2008 23:51] Report message to a moderator
|
|
|
|
|
High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 16 December 2007 23:15
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Mon, 17 December 2007 14:47
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 26 December 2007 14:16
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Tue, 01 January 2008 10:54
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 21:21
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 23:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 02 January 2008 22:00
|
|
|
Re: High Performance Drawing
By: phirox on Sat, 05 January 2008 19:55
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 06 January 2008 08:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 23 January 2008 17:01
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
Goto Forum:
Current Time: Thu May 30 14:07:30 CEST 2024
Total time taken to generate the page: 0.01403 seconds
|