RFE: Make glxgears a better GL client. Currently glxgears sends GL rendering instructions in an endless loop to the GL engine without waiting for any response, making interactive usage of the application quite problematic for GL implementations which have a large command queue (in the case of one Win32 Xserver product it even rendered the whole Xserver inaccessible as the GL engine allowed an nearly unlimited amount of instructions queued - in that case it took around 5mins between a keypress and the matching response).
Created attachment 1630 [details] [review] Patch for 2005-01-04-trunk
Patch checked-in... /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.641; previous revision: 1.640 /cvs/xorg/xc/programs/glxgears/glxgears.c,v <-- glxgears.c new revision: 1.9; previous revision: 1.8 Mailing the commit message to xorg-commit@lists.freedesktop.org... ... marking bug as FIXED.
please don't do this when using a direct context.
Created attachment 1631 [details] [review] Proposed patch to restore original behaviour The patch turns off the usage of |glFinish()| (but still allows to turn it "on" again via a command-line option) ... ajax: Is the patch OK for you ?
the issue here is that the software renderer is a pig. changing glxgears is not a solution.
(In reply to comment #5) > the issue here is that the software renderer is a pig. changing glxgears is not > a solution. Agreed. I either backout the complete patch as-is or apply attachment #1631 [details] [review] ... right now I am waiting for feedback from Sun staff about the original issue (but if I am not getting feedback by friday I just rip the patch out... question is then what we should do with the timing patch added a while ago - should we make it optional or what ?).
OK... I'll back the junk out as there is no response from Sun yet... ;-(
Created attachment 2035 [details] [review] Backout attachment #1630 [details] [review], patch for 2005-03-07-trunk
Attachment #1630 [details] backed-out... /cvs/xorg/xc/ChangeLog,v <-- xc/ChangeLog new revision: 1.801; previous revision: 1.800 /cvs/xorg/xc/programs/glxgears/glxgears.c,v <-- xc/programs/glxgears/glxgears.c new revision: 1.10; previous revision: 1.9 Mailing the commit message to xorg-commit@lists.freedesktop.org... ... marking bug as INVALID.
ajax: Is there a bug which asks to get the issue fixed in the Xorg GLX implementation ?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.