summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
2009-11-23shaderutil: Fix detection of shadersIan Romanick
Check for versions >= 2.0 (because some drivers return 3.0), and return GL_FALSE if shaders are not detected.
2009-11-19progs: Fix quoting issue with empty set of PROGRAM_DIRS.Tom Fogal
Quotes are important to make sure the argument to test -n really is the empty string, but that requires stringifying PROGRAM_DIRS. Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-04progs/tests: Fix MSVC build.Vinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-29progs/tests: fixes for drawbuffers.cBrian Paul
Disable GL_DEPTH_TEST before glDrawPixels. Show color buffer 0 on left, color buffer 1 on right.
2009-10-28progs/tests: added test for GL_EXT_texture_compression_s3tc supportBrian Paul
2009-10-27progs/tests: added new blitfb.c testBrian Paul
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces. In particular, blit from level[1] of a cube map face to a 2D texture. Used to find/fix bug in intel do_copy_texsubimage(). See commit aef1ab1073f3e30d699b99dae17518ed48b57c72
2009-10-23progs/tests: print requested/internal format infoBrian Paul
2009-10-22progs/xdemos: fix command line flag typoBrian Paul
2009-10-20progs/trivial: check if GL_ARB_occlusion_query is supportedBrian Paul
2009-10-14progs/Makefile: remove extra quotingBrian Paul
This reverts part of commit 115edf24a9128b79dfa5f30482c990e2cb898357 and fixes the error: "/bin/sh: line 0: test: too many arguments".
2009-10-13Fix build when PROGRAM_DIRS is empty.Tom Fogal
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set to the empty string (as can happen when building only OSMesa), a 'for' loop will lack anything to iterate over, causing a parse error. This fixes the issue by making sure SUBDIRS is the null string when PROGRAM_DIRS is, and wrapping the for loops in if's, causing them only to execute if there are directories to iterate over.
2009-10-07progs/xdemos: test glXQueryDrawable()Brian Paul
2009-10-07progs/xdemos: fix swapped parameters to CreatePbuffer()Brian Paul
2009-10-07progs/test: Fix MSVC build.Vinson Lee
2009-10-05Fix building of GLSL demos which use M_PIJon TURNEY
Some <math.h> files do not define M_PI, in which case, provide our own definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-09-15Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-14progs/vp: print program and error info when program does not compileBrian Paul
2009-09-07prog/glsl: fix Makefile for samplers_array.Peter Hutterer
The rule added in 488b3c4d1bc3d830477180759a42dbaf8f5801b0 does not use the right INCDIR, breaking the build when GL isn't installed in the default include paths. 7.5 branch only fix, already fixed in master by rewriting the Makefile (ceb9459ed5e63207defa5d715958c2757933272f) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-03progs/tests: re-enable exit() callBrian Paul
See bug 21267.
2009-09-03tests/texcmp: glewInit in wrong placeDave Airlie
2009-09-01progs/tests: re-enable exit() callBrian Paul
See bug 21267.
2009-08-31progs/samples: added test/debug code for cullingBrian Paul
2009-08-31progs/tests: disable depth test for second glDrawPixelsBrian Paul
We don't want to z-test that glDrawPixels. Also, set the raster color to red when drawing GL_DEPTH_COMPONENT image to aid in debugging.
2009-08-30progs/util: minor updates to glutskel.cBrian Paul
2009-08-27progs: EGL/X progs should link to libX11.Chia-I Wu
Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26mesa: gitignoreYounes Manton
2009-08-26progs/glsl: asst. changes in shtest.cBrian Paul
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-26progs/glsl: handle window resizes in texaaline.cBrian Paul
2009-08-26progs/glsl: add special Makefile rule for samplers_arrayBrian Paul
2009-08-26progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul
Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
2009-08-25progs/glsl: call ValidateShaderProgram()Brian Paul
2009-08-25progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul
2009-08-20progs/glsl: report compile/link times in shtest.cBrian Paul
2009-08-20progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul
2009-08-20progs/glsl: update multitex.shtest for new texture syntaxBrian Paul
2009-08-20progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT texturesBrian Paul
2009-08-20progs/glsl: tweaks to shtest.cBrian Paul
1. Larger sphere to match cube size 2. Allow -geometry option to override window size 3. Cube samplers
2009-08-20progs/glsl: more comments in shtest.cBrian Paul
2009-08-19progs/xdemos: add multictx to .gitignoreBrian Paul
2009-08-18Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-18egl: Make lookup functions static inline.Chia-I Wu
progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-17demos/glsl: remove glutInitWindowPosition() callsBrian Paul
2009-08-15mesa: Add 2 new demos to .gitignore.Pauli Nieminen
2009-08-14progs/demos: print more info in fbotexture.cBrian Paul
2009-08-14demos/cubemap: Add support for GL_ARB_seamless_cube_mapIan Romanick
2009-08-14Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-14glsl: re-write Makefile after I called it bad.Dave Airlie
2009-08-13progs/glsl: added multitex.shtest config fileBrian Paul
2009-08-13progs/glsl: set generic vertex attribute valuesBrian Paul