summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxgears.c
Commit message (Collapse)AuthorAgeFilesLines
* glxgears: Support GLX_EXT_swap_control for querying the current swap interval.Aaron Plattner2010-01-261-3/+10
| | | | | Signed-off-by: Aaron Plattner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* glxgears: unbind current context before "destroying" itMarcin Slusarz2010-01-181-0/+1
| | | | | | | glXDestroyContext does not destroy the context if it's still connected to some window. Unbind context from window to test it. Signed-off-by: Brian Paul <[email protected]>
* glxgears: make functions static, update commentsBrian Paul2009-08-071-10/+3
|
* demos: Fix vsync checking in glxgearsIan Romanick2009-07-061-19/+16
| | | | | | | | | | Of course glXGetVideoSyncSGI doesn't return the swap interval. The feature only exists in the Mesa extension... which is the whole reason I created the Mesa extension! Note that the Mesa extension allows drivers to default to a swap interval of 0. If the Mesa extension exists, use its value. Only consider the SGI extension when the Mesa extension is not available. Fixes bug #22604.
* glxgears: No, really. Fix the dyslexia.Ian Romanick2009-02-011-1/+1
|
* Fix dyslexia.Ian Romanick2009-01-301-1/+1
|
* glxgears: Log a message if synched to vblankIan Romanick2009-01-301-0/+74
| | | | | | | | Tries to use either GLX_MESA_swap_control or GLX_SGI_video_sync to detect whether the display is synchronized to the vertical blank. If it detects this, a message will be printed. HOPEFULLY this will prevent some of the bug reports such as "glxgears only gets 59.7fps. What's wrong with my driver?"
* glxgears: for fullscreen, disable window borders the right wayBrian Paul2008-10-161-2/+50
|
* fix event handling issues (such as when resizing when not animating)Brian Paul2008-06-041-10/+22
|
* press 'a' to toggle animationBrian Paul2008-06-041-1/+5
|
* code refactoring (draw_frame(0, handle_event())Brian Paul2008-06-041-71/+95
|
* remove references to incorrect -winwidth/-winheight, replace with -geometryBrian Paul2008-06-041-2/+1
|
* glxgears: oops, remove accidental commit of glFinish() hack.Kristian Høgsberg2008-02-291-1/+0
|
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-291-0/+1
| | | | | | | Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
* parse standard -geometry optionBrian2007-08-071-9/+6
|
* glxgears: Add an x/y window size parameter.Ingo Molnar2007-08-071-1/+11
|
* call reshape() after init() to set initial projection/viewing transform (see ↵Brian Paul2006-05-171-2/+8
| | | | bug 6941)
* bug 6941: fixed initial rendering problems in glxgearsTilman Sauerbeck2006-05-161-0/+1
|
* usage() functionBrian Paul2006-05-151-2/+15
|
* delete display lists upon exitBrian Paul2005-08-091-0/+3
|
* improved animation rateBrian Paul2005-01-091-20/+29
|
* Add a -fullscreen optionKeith Whitwell2004-12-201-1/+12
|
* added stereo option (Jacek Rosik)Brian Paul2004-10-261-17/+92
|
* wrap angle value (Philipp Klaus Krause)Brian Paul2004-10-231-0/+2
|
* Remove all the swap_control stuff from glxgears demo (restored to vers 1.2).Brian Paul2003-09-081-331/+8
| | | | New glxswapcontrol.c file added.
* Removed an accidental addition in the previous commit.Ian Romanick2003-05-301-1/+0
|
* applied Ian's misc patchesBrian Paul2003-05-301-5/+104
|
* Committing in .Jouk Jansen2003-04-291-2/+4
| | | | | | | | Updating OpenVMS compile support Modified Files: Mesa/src/descrip.mms Mesa/xdemos/glxgears.c ----------------------------------------------------------------------
* fix typoBrian Paul2003-04-091-1/+1
|
* add support for swap and sync extensions (Ian Romanick)Brian Paul2003-04-091-3/+226
|
* Committing in .Jouk Jansen2002-10-081-0/+4
| | | | | | | | | Add compile support in the xdemos directory for OpenVMS Modified Files: Mesa/descrip.mms Mesa/xdemos/descrip.mms Mesa/xdemos/glxgears.c ----------------------------------------------------------------------
* gears using GLX instead of GLUTBrian Paul2001-03-231-0/+497