Commit Graph

361 Commits

Author SHA1 Message Date
Brian Paul 5692e09be8 disable GL_TEXTURE_1D at end of frame to fix failed assertion 2008-04-29 15:03:06 -06:00
Brian 8a8e7b22c0 mesa: test code to exercise more GLSL functions 2008-04-04 18:56:22 -06:00
Brian 8bef18f47b mesa: destroy window upon exit 2008-04-01 14:56:10 -06:00
Brian Paul f654ab40d6 mesa: call glutDestroyWindow (help find mem leaks) 2008-03-24 17:21:18 -06:00
José Fonseca 2573f0e5d6 Convert crlf->lf line endings.
Windows/DOS users should enable core.autocrlf from now on.
2008-02-28 15:53:13 +09:00
José Fonseca 2d38d1b300 Remove files of unsupported build systems. 2008-02-25 17:11:28 +09:00
Brian 4697cee78b press 0,1,2,etc keys for specific bias values 2008-02-12 15:01:44 -07:00
Brian bd299093ec push out far clip plane to 200 2008-01-28 12:42:37 -07:00
Brian ba083bae69 Added d/D keys to change viewing distance, 'a' to toggle animation 2008-01-28 12:37:35 -07:00
Michal Krol 918ea5168b Rename 'mms-config.' to 'mms.config'.
It looks like Windows does not like filenames ending with a dot,
in effect renaming it to 'mms-config'.
2007-10-29 19:50:10 +00:00
michal a1b4285c5c Fix fragment shader. 2007-10-27 19:04:19 +01:00
michal 9c22f91030 Optimize fragment program. 2007-10-27 19:04:19 +01:00
José Fonseca 414a933ad2 Ignore generated files. 2007-10-25 23:25:02 +01:00
Brian 2727cfddbf hack in some code to test loops, break 2007-09-29 10:44:05 -06:00
Brian 9405ec6251 temporary hack to test nested conditionals 2007-09-28 21:04:56 -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
Keith Whitwell 48e6fff3a9 merge the (rest of) texmem branch 2006-11-01 14:26:10 +00:00
Ian Romanick e4298b9492 Add missing call to glutInit. 2006-10-24 20:50:08 +00:00
Brian Paul 1ad12874b3 allocate larger TempImage, use COMBO var to choose test format/type 2006-09-23 16:09:26 +00:00
Roland Scheidegger af1dc7e487 move initialization code aroudn so glPointParameter isn't called before checking the extension is present 2006-08-28 21:19:34 +00:00
Brian Paul a394f546a4 check for GL_ARB_point_parameters 2006-08-28 14:20:19 +00:00
Michal Krol 1616f5b621 Change fragment shader to utilize faster vec4 operations. 2006-08-02 14:46:50 +00:00
Brian Paul cc738e004f casts and assertions 2006-08-01 20:03:29 +00:00
Brian Paul f05e7eba95 code to draw engine block 2006-08-01 20:03:05 +00:00
Michal Krol 39dd5196e6 Optimize shaders.
Use frame counter.
2006-07-29 09:42:03 +00:00