Dan Nicholson
738d811b04
Don't link demos directly to X libraries
...
Since the linker will just pull in the libraries needed from libGL, we
don't need to link the demos directly to the X libraries. Fixes #15886 .
2008-05-09 16:19:50 -07:00
Brian Paul
aef4ca647d
disable GL_TEXTURE_1D at end of frame to fix failed assertion
2008-04-29 18:37:41 -06:00
Kristian Høgsberg
c016f329ab
Only convert configs if screen creation was successful.
...
Thanks to Adam Jackson for pointing it out.
2008-04-08 18:31:07 -04:00
Dan Nicholson
f1e1267372
Fix include path for rain demo so glut.h is found
2008-03-11 06:24:56 -07:00
Dan Nicholson
ab5750f143
Ignore more demo programs
2008-03-10 12:36:10 -07:00
José Fonseca
60159c1b09
Convert crlf->lf line endings.
...
Windows/DOS users should enable core.autocrlf from now on:
git config --global core.autocrlf true
2008-02-28 16:34:32 +09:00
Adam Jackson
4955325ae9
chmod a-x **/glslnoise.c
2008-02-15 15:05:42 -05:00
Brian
76295f0c31
press 0,1,2,etc keys for specific bias values
2008-02-12 15:00:14 -07:00
Brian
f09b2382e9
push out far clip plane to 200
2008-01-28 12:41:47 -07:00
Brian
e7007c6fb0
Added d/D keys to change viewing distance, 'a' to toggle animation
2008-01-28 12:36:01 -07:00
Alexey Sokolov
e58c365cda
define M_PI if needed
2008-01-22 07:57:33 -07:00
Brian
85f5e6d7b9
Fix a quadstrip front/back-face inconsistancy.
...
Only set front material colors to make it noticable if front/back-face
determination is incorrect anywhere.
2007-12-18 16:24:19 -07:00
Brian
a5eb9e7b1b
Build rain demo (Gonzo <andreas.wendleder@gmail.com>)
2007-12-14 14:35:18 -07:00
joukj
a11b6f025c
Updates of some OpenVMS makefiles.
2007-11-30 13:16:05 +01:00
Brian
fb69fe58a0
Only emit texcoords for enabled units. Enable/disable units with 0..7 keys.
...
Also, asst. clean-ups.
2007-11-16 15:19:05 -07:00
Dan Nicholson
c05aa5ec4c
specify app lib dependencies in Makefiles (patch 1/3)
2007-10-29 09:03:01 -06:00
Dan Nicholson
8578534f48
Ignore new programs
2007-10-25 11:34:16 -07:00
Brian
55d4f32fc2
fix assorted bugs, works now
2007-10-24 13:55:22 -06:00
Ian Romanick
b961eccc92
Support cards that have ARB_fp but not ARB_shadow.
2007-10-17 16:25:39 -07:00
Dan Nicholson
b182613f2f
Ignore more generated files in progs/
...
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
2007-10-10 08:44:58 -06:00
Dan Nicholson
2a3e33865d
add support for LDFLAGS env var
2007-09-28 18:42:21 -06:00
Eric Anholt
45899a494c
Update .gitignore for demos.
2007-09-19 10:51:07 -07:00
Brian
bb4a9b2dce
added copypix.c test (test glCopyPixels w/ pixel zoom)
2007-09-14 09:59:08 -06:00
Brian
3a484cd794
added --noclear option to demonstrate rendering without glClear
2007-08-27 12:00:19 -06:00
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
2007-07-06 12:56:21 -06:00
Brian
3b10f50efb
use larger point/sprite size
2007-06-28 07:16:13 -06:00
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
2007-06-07 12:12:14 -07:00
Ian Romanick
2260c245fd
Refactor shadow map modelview and projection code
...
Explicitly store the modelview matrix and projection matrix used when the
shadow map is created. These matrices only need be updated when
RenderShadowMap is called. Previously, slightly different code was used to
draw and project the shadow map.
2007-06-07 12:09:44 -07:00
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
2007-06-07 11:59:42 -07:00
Brian
1dd7c00214
Windows updates
2007-04-26 07:48:35 -06:00
Brian
f42d4ab41e
move #include <GL/glut.h> after other #includes for Windows
2007-04-26 07:46:59 -06:00
Brian
4a28548cbf
use sqrt(), not sqrtf() for Windows
2007-04-26 07:46:38 -06:00
Ian Romanick
ad3cc95485
Fix FBO completeness bug in shadowtex.
2007-04-21 10:48:24 -07:00
Brian
bc74cb4c0a
destroy window upon exit
2007-04-21 10:05:05 -06:00
Brian
badc346206
lots of changes, fixes, clean-ups
2007-04-16 17:56:13 -06:00
Brian
bf287356cf
restore 200x200 window size, animation, version check
2007-04-11 14:09:32 -06:00
Brian
9612a3011f
fix some dependencies, remove some CFLAGS
2007-04-08 15:42:26 -06:00
Brian
0420d8505a
disable MakeTexture()
2007-03-27 16:06:48 -06:00
Brian
180cc2f845
disable assertion
2007-03-21 11:41:41 -06:00
Brian
2cf5fd48d1
Merge branch 'origin' into glsl-compiler-1
...
Conflicts:
src/mesa/main/context.c
2007-03-09 11:43:53 -07:00
Brian
9f37be694e
s/ARB/MESA/ in extension check (bug 10126)
2007-02-28 11:58:06 -07:00
Brian
29c471aafc
Merge branch 'origin' into glsl-compiler-1
...
Conflicts:
src/mesa/main/state.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/programopt.c
src/mesa/shader/slang/slang_execute.c
src/mesa/sources
src/mesa/swrast/s_arbshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/t_vtx_eval.c
2007-02-22 08:53:33 -07:00
Brian
917a5086b3
Use gl_LightSource[0].position intead of a light position uniform.
2007-02-21 15:57:55 -07:00
Brian
f4e345c1a8
minor fprintf() change
2007-01-17 16:30:11 -07:00
Brian
46a9241248
add texturing, other options
2007-01-17 10:25:44 -07:00
Xiang, Haihao
afba8f0d30
Fix bug#9673
...
Cast from pointer to unsinged long and cast to pointer from
unsinged long
2007-01-17 10:17:10 +08:00
Brian
becb393d42
Use extfuncs.h helper. Added command line options for loading
...
vertex/fragment shaders from files.
2006-12-15 09:31:14 -07:00
Michel Dänzer
14f92636b0
Make git ignore files only generated at build time.
2006-12-06 14:17:56 +01:00
Brian Paul
4b43054c4b
added fsligght
2006-11-03 00:16:12 +00:00
Brian Paul
24ea2c2cef
yet another deriviative of the fplight.c demo for OpenGL 2.0 shading language
2006-11-03 00:04:06 +00:00