summaryrefslogtreecommitdiff
path: root/progs/glsl
AgeCommit message (Collapse)Author
2009-12-03progs/glsl: Fix memory leak in deriv.c.Vinson Lee
(cherry picked from commit 0e783c7d03128aade3ca50b28a56e254fef6b6ab)
2009-12-03progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.Vinson Lee
tangentAtrrib is assigned the result of glGetAttribLocation. The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if tangentAttrib is a GLuint. (cherry picked from commit b8dcb79c53796f37234bd2b0f5e2845f817fc218)
2009-12-03progs/glsl: Redraw upon keypress.Vinson Lee
(cherry picked from commit 881f55236ad85f95745e70f8363726fa3c201f80)
2009-12-02progs/glsl: Fix trirast GLSL compilation errors on Mac OS.Vinson Lee
(cherry picked from commit 4b3ec2acf2cc2830b0907e4fb4db8bd1ff4a18e3)
2009-12-02progs/glsl: Fix noise GLSL compilation error on Mac OS.Vinson Lee
(cherry picked from commit 0d31990b4742eccdf6ae6a3b3e16c81cc863085d)
2009-12-02demos/glsl: Add missing break statement to noise test.Vinson Lee
(cherry picked from commit 7dfea5c0722e9da101805c15b9dd26352816bca9)
2009-12-02progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.Vinson Lee
(cherry picked from commit d4dc2e30dada1be425e95ba270920db6eb210982)
2009-12-02progs/glsl: Add missing break statement in multinoise.c.Vinson Lee
(cherry picked from commit 43080e40aa0d34423e10f1d50aad15289b2b9aec)
2009-12-02progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.Vinson Lee
(cherry picked from commit 04442841fb7e9138eb50ff692952ad7e8c3877d8)
2009-12-02progs/glsl: Include local headers before installed headers during compilation.Vinson Lee
Fixes compilation errors on platforms with insufficient older installed GL headers. (cherry picked from commit d17af7d1e19e637e29db47bd8f6e3e579760c530)
2009-12-02progs/glsl: minor Makefile clean-upsBrian Paul
(cherry picked from commit 4df2f7af5e9b2c00ead92fe0ae49ed8491aef1d0)
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-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-20progs/glsl: report compile/link times in shtest.cBrian 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-17demos/glsl: remove glutInitWindowPosition() callsBrian Paul
2009-08-15mesa: Add 2 new demos to .gitignore.Pauli Nieminen
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
2009-08-13progs/glsl: add type field to shtest config filesBrian Paul
Plus, texture loading.
2009-08-14glsl/tests: skinning.oDave Airlie
worst Makefile ever. not sure what is going on here, hopefully this fixes tinderbox
2009-08-13progs/glsl: new shtest program, a simple shader test harness appBrian Paul
This commit includes some sample config files (*.shtest)
2009-08-12progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul
2009-08-12demos: rename InitUniforms() to SetUniformValues()Brian Paul
And call new PrintUniforms() in demos.
2009-08-10demos: Fix the VBO usage in glsl/multitex.Eric Anholt
The fix for 965 to be noisy when apps sent pointers instead of VBO offsets caught this app in the act of doing exactly that. Bug #23203
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-17progs/glsl: finish conversion to GLEWBrian Paul
This is a follow-on to b799af91d5ffbee1481161fec29eb4c92b161272. Remove _func function suffix and unneeded #includes.
2009-07-13Merge branch 'mesa_7_5_branch'Brian Paul
2009-07-10demos: set 4th component of texcoord to 1.0Brian Paul
Avoid potential randomness in resulting texcoords.
2009-07-08demos: indentation fixBrian Paul
2009-07-08demos: use glEnable/DisableClientState() for vertex arraysBrian Paul
2009-06-29Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-29progs/glsl: link with GLEW libraryBrian Paul
2009-06-29progs/glsl: compile with scons and glewKeith Whitwell
Get most of these working with scons.
2009-06-14Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-01Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-01demos: add missing dependencies for util filesBrian Paul
2009-05-22demos: extend glsl/multitex.c to use a vertex buffer objectBrian Paul
2009-05-22demos: fix multitex.c VertCoord attribute mappingBrian Paul
If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order.
2009-04-19progs/glsl: Update ignoreJakob Bornecrantz
2009-04-18demos: added glsl/texaaline.c program and overhaul the MakefileBrian Paul