summaryrefslogtreecommitdiff
path: root/progs/xdemos
AgeCommit message (Collapse)Author
2010-01-18glxgears: unbind current context before "destroying" itMarcin Slusarz
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 <brianp@vmware.com>
2010-01-11progs/xdemos: Remove unnecessary header from corender.c.Vinson Lee
2010-01-10progs/demos: Check upper bounds of input in manywin.c.Vinson Lee
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee
2010-01-06progs/xdemos: Remove comma at end of enumerator list.Vinson Lee
2010-01-06progs/xdemos: Use temporary variables.Vinson Lee
This was missed from the previous commit to glxheads.c.
2010-01-06progs/xdemos: Prevent possible string overflow.Vinson Lee
2009-12-21Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
2009-12-19progs/xdemos: Use C-style comment.Vinson Lee
2009-12-12progs/xdemos: Silence compiler warnings in glxinfo.c.Vinson Lee
2009-12-04progs/xdemos: fix some visual/fbconfig logic in glxinfo.cBrian Paul
The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values. We only need to use the glXChooseFBConfig() code when glXChooseVisual() fails (but I don't know when that would happen). Other recent commits errantly removed some code in this area too.
2009-12-04progs/xdemos: Silence unused value warnings in sharedtex_mt.c.Vinson Lee
(cherry picked from commit 8556fad75124e1ade9af095e112ebb6ac5cbff61)
2009-12-04progs/xdemos: Fix memory leak in pbdemo.c.Vinson Lee
(cherry picked from commit e0857962b911ef317238498305651515d83029ae)
2009-12-04progs/xdemos: Add missing break statement in offset.c.Vinson Lee
(cherry picked from commit 4ab8dbe5935d5c946cbc9af6982461073a784d07)
2009-12-03progs/xdemos: Remove duplicate code in glxinfo.c.Vinson Lee
(cherry picked from commit a4720a1a3206dd2edecf47a21fce547a79b67610)
2009-12-03progs/xdemos: Fix memory leak in glxinfo.c.Vinson Lee
(cherry picked from commit f080567f4c4018c4885c105a154cb0eb39e6234f)
2009-12-03progs/xdemos: Add assert in corender.c.Vinson Lee
(cherry picked from commit 66a4ec14c38d407256545e0cf31c98974d621fe4)
2009-10-22progs/xdemos: fix command line flag typoBrian Paul
2009-10-07progs/xdemos: test glXQueryDrawable()Brian Paul
2009-10-07progs/xdemos: fix swapped parameters to CreatePbuffer()Brian Paul
2009-08-19progs/xdemos: add multictx to .gitignoreBrian Paul
2009-08-07progs/xdemos: added multictx.c (multi-context rendering demo)Brian Paul
Create one window and render into it with two GLX contexts. Setup the rendering state differently for each context to be sure there's no state "bleeding" between contexts.
2009-08-07glxgears: make functions static, update commentsBrian Paul
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-03xdemo/glxswapcontrol: Move get_framge_usage after the swap.Pauli Nieminen
This fixes the problem that first frame would report bogus usage values. Problem was caused because get_frame_usage returned data from previous buffer swap. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-03xdemos/glxcontexts: Don't leak visual info when choosing visual again.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-12-15Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: src/gallium/drivers/softpipe/sp_quad_blend.c
2009-12-07Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
2009-11-20progs/xdemos: Fix memory leak in pbinfo.c.Vinson Lee
2009-11-20progs/xdemos: Fix memory leak in pbdemo.c.Vinson Lee
2009-11-20progs/xdemos: Fix memory leak in glxpbdemo.c.Vinson Lee
2009-11-20progs/xdemos: Remove duplicate code in glxinfo.c.Vinson Lee
2009-11-20progs/xdemos: Add assert in corender.c.Vinson Lee
2009-11-20progs/xdemos: Silence unused value warnings in sharedtex_mt.c.Vinson Lee
2009-11-20progs/xdemos: Fix memory leak in glxinfo.c.Vinson Lee
2009-11-19progs/xdemos: Add missing break statement in offset.c.Vinson Lee
2009-11-17progs/xdemos: change //-style commentsBrian Paul
2009-11-17progs/xdemos: added -lX11 -lpthread for GNU gold linkerBrian Paul
2009-07-06demos: Fix vsync checking in glxgearsIan Romanick
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.
2009-07-08demos: use glEnable/DisableClientState() for vertex arraysBrian Paul
2009-06-30xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAYJon TURNEY
Fix xdemos which default to using display :0.0 to default to $DISPLAY, this is kind of irritating when testing on a display other than :0.0 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-23demos: fix issues in glxcontexts.cBrian Paul
The reshape() function was called when there was no GLX context so the viewport/modelview/projection setup wasn't doing anything. Move the call to reshape() into draw(). Also, remove -stereo, -fullscreen options and do some general clean-up.
2009-04-24demos: ensure display lists are destroyed for next generationAlan Hourihane
2009-03-24demos: add LDFLAGS for corender target, bug 20844Brian Paul
2009-03-17xdemos: Fix sharedtex_mt.Thomas Hellstrom
1) Don't allow multiple threads sharing current context, even if they are mutex protected. 2) Remove all XLockDisplay(), XUnLockDisplay() calls, as they were only workarounds for xcb. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-14mesa: .gitignoreYounes Manton
2009-03-13xdemos: Add multithreaded sharedtex_mt.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-12demos: move declaration before codeBrian Paul
2009-03-11xdemos: On termination with `esc` close the contexts correctly.Alan Hourihane