summaryrefslogtreecommitdiff
path: root/progs/xdemos
AgeCommit message (Collapse)Author
2010-05-14glxinfo: add queries and reporting for float and sRGB buffer typesBrian Paul
Check for the GLX_ARB_fbconfig_float and GLX_NV_float_buffer extensions to determine if color bufs are floating point. Check for the GLX_EXT_framebuffer_sRGB extension to determine if the framebuffer is sRGB capable. Increase field size for some attribs (visual ID and buffer size) to accomodate today's larger values. Also print missing caveats info in verbose mode.
2010-05-04glxinfo: Get visual info when an fbconfig has an associated visualKristian Høgsberg
2010-04-14glxinfo: Print drawable type in verbose modeKristian Høgsberg
2010-04-04Merge branch '7.8'Ian Romanick
2010-04-03xdemos: Build object files firstJeremy Huddleston
This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01Revert accidental commits from the xquartz treeJeremy Huddleston
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
2010-04-01xdemos: Build object files firstJeremy Huddleston
This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01xdemos: Fix a build failure for non-autoconf configsJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-03-23Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-13Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12Add programs to .gitignore in xdemosJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-08xdemos/omlsync: improve OML WaitMsc testJesse Barnes
Use the divisor/remainder for the WaitForMscOML call if a wait_interval is passed. Allows for testing of the WaitMSC paths in the server & DDX.
2010-03-05progs/xdemos: fix up GLX extension checkingJesse Barnes
A few of my programs were using the client string in addition to the main extensions string to see if a feature was present. Correct this to only check for the currently available and working extensions.
2010-03-05xdemos/omlsync: add waitformsc and swap interval codeJesse Barnes
2010-03-04xdemos: add OML sync testJesse Barnes
Add program to test glXSwapBuffersMscOML behavior. Based on glsync.c.
2010-02-26progs/xdemos: fix typo in glxinfo helpBrian Paul
2010-02-26drop header files and demos for dropped window systemsGeorge Sapountzis
2010-02-22glxinfo: Fix User error in glGetProgramivARBBrian Paul
glxinfo needed fixing after commit 4bccd69. Move fragment program only parameters into their own list so that they are not queried for a vertex program. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit b0e5dcb859692707fec8752dd21fc61fc4c3dbcc)
2010-02-11glxgears_fbconfig: Use glXCreateWindow and glXDestroyWindowIan Romanick
2010-02-11glxgears_fbconfig: Use GLX 1.3 name for function poiner typesIan Romanick
2010-02-09progs/xdemos: Silence uninitialized variable warning.Vinson Lee
2010-02-08progs/xdemos: Silence uninitialized variable warning.Vinson Lee
2010-01-26glxgears: Support GLX_EXT_swap_control for querying the current swap interval.Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-22progs/xdemos: add z/Z keys for scaling the renderingBrian Paul
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-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-11progs/xdemos: Remove unnecessary header from corender.c.Vinson Lee
2010-01-11Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes
Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
2010-01-08xdemos/glsync: handle no sync method betterJesse Barnes
Print out count, finish rendering, etc. Makes the -sn option more useful.
2010-01-08xdemos/glsync: check glXMakeCurrent return valueJesse Barnes
Since this program is used for testing, catching this case can be helpful.
2010-01-08xdemos/glsync: Make glsync test draw a rectangleJesse Barnes
Doing simple buffer clears isn't enough to actually allocate render buffers, we need to do real drawing.
2010-01-08xdemos/glsync: Add swap interval support to glsync testJesse Barnes
2010-01-08DRI2: add OML_sync_control supportJesse Barnes
Add OML_sync_control support, along with a simple program for testing it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and DRI2WaitSBC requests. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
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)