[Bug 2655] New: glxgears should call glFinish before glXSwapBuffers
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 5 19:34:55 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2655
Summary: glxgears should call glFinish before glXSwapBuffers
Product: xorg
Version: CVS_head
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: App/glxgears
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: fxkuehl at gmx.de
When I changed the Savage driver to flush primitives less frequently to the
hardware glxgears performance decreased, which is counter intuitive. The reason
is that glFinish currently waits for the blit from back to front buffer and
after that the hardware waits for glxgears and the driver to prepare the next frame.
Moving the call to glFinish before glXSwapBuffers fixes this and improves
performance a lot on this hardware (330fps -> 355fps). Now glxgears and the
driver can prepare the next frame while the hardware is busy with the blit (the
driver is smart enough to flush after expensive primitives like swap and clear).
I'll attach a patch for consideration.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list