Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
2007-07-11 13:12:33 -06:00
Brian
985e37eedb
clean-up, comments
2007-07-10 14:46:15 -06:00
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
2007-07-10 11:53:27 -06:00
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
2007-07-10 11:39:08 -06:00
Brian
8733ee9dc9
use cursor keys to translate triangle
2007-07-10 11:33:10 -06:00
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
2007-07-06 12:56:21 -06:00
michal
3b8bc1f467
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-06 17:53:44 +02:00
Brian
e8e5d9effe
support more modes, added -f cmd line option
2007-07-04 09:23:12 -06:00
Brian
3b10f50efb
use larger point/sprite size
2007-06-28 07:16:13 -06:00
Brian
05b2297bef
better triangle Z coords
2007-06-25 09:41:49 -06:00
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
2007-06-21 18:11:29 -06:00
Brian
3c0790ca92
triangles w/ depth test
2007-06-20 17:19:13 -06:00
Brian
03933ad656
don't request GLUT_ALPHA
2007-06-19 19:17:48 -06:00
Brian
9ec2e16223
change clear color
2007-06-18 06:57:36 -06:00
Keith Whitwell
477e18cb02
Add GLUT_ALPHA for softpipe
2007-06-14 18:25:10 +01:00
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
2007-06-08 13:10:01 -06:00
Brian
5e9cff0b97
disable shader program before glDrawPixels
2007-06-08 13:02:14 -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
0c5662acc7
use glXGetProcAddress to get extension funcs
2007-05-29 08:08:03 -06:00
Keith Whitwell
572dc0864e
Modifications to run with softpipe test harness
...
RGB->RGBA
double buffer by default.
2007-05-24 10:38:57 +01:00
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
2007-05-21 20:57:09 -06:00
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
2007-05-19 08:30:31 -06:00
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
2007-05-16 14:46:13 -07:00
Brian
16c503f39a
Tweak the shell scripting for descending into and building subdirs.
...
In general, use this:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1; \
fi \
done
Basically, silently skip missing subdirs but generate an error and stop if
there's a compilation or install problem.
This was done inconsistantly before. In once case, a missing subdir was
causing us to go into an infinte loop!
2007-05-09 16:23:11 -06:00
Brian
da37ac5ee7
remove some debug code
2007-05-08 14:08:45 -06:00
Brian
58eaf0acca
a somewhat nicer demo w/ command line options
2007-05-08 13:48:52 -06:00
Brian
3cddba688d
get rid of normal vector
2007-05-02 18:55:45 -06:00
Brian
dc881e1909
get rid of OSMESA stuff
2007-05-02 18:54:57 -06:00
Brian
2dfb03beb2
New test of the dFdx(), dFdy() functions.
2007-05-02 18:48:51 -06:00
Brian
02e958a1e4
added glGetActiveAttrib
2007-04-27 16:27:36 -06: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
e7e5279fc0
Remove unused Imakefiles.
2007-04-20 19:18:13 -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
0d3d930912
add 2.1 functions
2007-04-08 15:41:02 -06:00
Brian
8f3fc5221c
added glActiveStencilFaceEXT
2007-04-07 08:38:36 -06:00
Brian
0420d8505a
disable MakeTexture()
2007-03-27 16:06:48 -06:00
Brian
d619cceea4
merge of glsl-compiler-1 branch
2007-03-26 10:13:02 -06:00
Brian
6fda763989
destroy window on exit
2007-03-25 10:25:29 -06:00
Brian
180cc2f845
disable assertion
2007-03-21 11:41:41 -06:00
Brian
d2a6f43eaf
extra stuff for drawbuffers test
2007-03-12 10:30:36 -06:00
Brian
3f7ef618b6
added drawbuffers.c
2007-03-11 17:30:13 -06:00
Brian
ccb80d7ec4
Test the GL_ARB_draw_buffers extension.
...
Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL).
2007-03-11 17:03:29 -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
2282d81536
destroy window during cleanup
2007-03-06 16:33:00 -07:00
Brian
d592eaeb83
fix clipping, display name, warnings
2007-03-01 07:56:11 -07:00
Brian
887d3c67cb
s/unsigned int/size_t/ (bug 10135)
2007-03-01 07:42:42 -07:00
Brian
03b9e16507
include assert.h
2007-03-01 07:39:27 -07:00
Brian
9f37be694e
s/ARB/MESA/ in extension check (bug 10126)
2007-02-28 11:58:06 -07:00
Brian
f68067e101
add texture rotation
2007-02-25 17:24:40 -07:00
Brian
21625d729c
output texcoord in vertex program
2007-02-25 12:46:56 -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
edf24e699e
shading language texture demo/test
2007-02-03 11:36:16 -07:00
Brian
8e0c6fc0be
added texdemo1
2007-02-03 11:33:13 -07:00
Brian
a4f4ca7767
added newline at end
2007-02-02 13:54:24 -07:00
Keith Whitwell
b59657ad96
Merge branch 'vbo-0.2'
...
Conflicts:
src/mesa/main/texcompress_s3tc.c
src/mesa/tnl/t_array_api.c
2007-02-02 12:26:10 +00:00
Keith Whitwell
48c638b671
New tests for the array functions which also provoke rebasing.
2007-01-30 19:19:51 +00:00
Brian
f94e4f216f
simple noise test
2007-01-28 19:01:04 -07:00
Brian
e4e66476a9
remove debug code
2007-01-18 15:23:45 -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
271d504ed7
draw a box, press 'a' to animate
2007-01-16 15:27:11 -07:00
Brian
9d0ae967d4
added some VerteAttrib funcs
2007-01-16 14:57:12 -07:00
Brian
f44ba11815
Added toyball and bumpmap tests using shaders from the OpenGL Shading Language (orange) book.
2007-01-16 14:55:43 -07:00
Keith Whitwell
c53df49b8b
Additional display list tests
2007-01-16 13:29:01 +00:00
Brian
0d55346156
Use arrow keys to pan and z/Z to zoom in/out to explore the fractal.
2007-01-15 17:48:19 -07:00
Brian
2ccd264695
Added new directory of GL shading language demos: glsl
2007-01-15 17:27:24 -07:00
Brian
64414ea0e9
added glUniform1fv_func, glUniform2fv_func
2007-01-13 14:51:02 -07:00
Brian
cc858bfa84
added a few more 2.0 functions
2007-01-09 17:49:53 -07:00
Brian
7b4d10b4a3
added glUniform1i_func
2007-01-04 14:40:56 -07:00
Brian
1ff1e89ff4
added glUniformMatrix2/3fv_func
2006-12-20 17:56:29 -07: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
Brian
e55b771a1e
simple extension function wrangler
2006-12-15 09:30:31 -07:00
Michel Dänzer
78a6e05439
mipmap_limits: Fix display of current texture filtering mode.
2006-12-14 11:01:38 +01:00
Brian
6c305c0831
Remove the xdemo.c program from PROGS since it doesn't work with GLX/DRI.
2006-12-13 08:57:06 -07:00
Brian
73eee2402e
Use XDisplayName() when reporting errors (bug 8079).
2006-12-13 08:30:26 -07:00
Michel Dänzer
b46e359f58
glxinfo: When direct rendering is not enabled, print some hints.
...
If indirect rendering is forced, say how. Otherwise, suggest setting
LIBGL_DEBUG=verbose.
Inspired by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379323 .
2006-12-06 14:54:43 +01:00
Michel Dänzer
14f92636b0
Make git ignore files only generated at build time.
2006-12-06 14:17:56 +01:00
Claudio Ciccani
73fdecca9f
Remove DirectFBGL header from Mesa bacause since 1.0.0 DirectFB installs its own header.
...
Updated to the current DirectFBGL interface (i.e. added GetProcAddress()).
2006-12-01 14:12:05 +00:00
Roland Scheidegger
22b74ff2b7
fix the gl version test
2006-11-22 19:37:21 +00: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
Brian Paul
036173e0d8
test OpenGL 2.0 stencil funcs
2006-11-02 15:47:30 +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
8dff54e71d
Added -clip option to test glCopyPixels beyond window bounds.
...
Clear dest window to black before copying.
Use glWindowPos2iARB().
2006-10-16 23:22:44 +00:00
Brian Paul
07fd19f572
allow specifying image size on cmd line
2006-10-14 23:24:45 +00:00
Michal Krol
ea87987dda
Prepend #extension 'MESA_shader_debug: require' to each shader.
2006-09-26 16:06:35 +00:00
Brian Paul
1ad12874b3
allocate larger TempImage, use COMBO var to choose test format/type
2006-09-23 16:09:26 +00:00
Keith Whitwell
54d3ab4878
npot version of redbook/mipmap.c
2006-09-15 10:41:54 +00:00
Brian Paul
c6f8176b3f
make prog2 a legal program (texture reference fix)
2006-08-30 23:40:53 +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
Brian Paul
0c46a12365
delete buffers, destroy window upon exit
2006-08-25 22:13:08 +00:00
Keith Whitwell
39f222a421
add point-position.c
2006-08-24 17:49:37 +00:00
Keith Whitwell
28536e6c4f
Test for fragment.position in points primitives. Currently renders
...
incorrectly on software mesa.
2006-08-24 17:48:53 +00:00
Ian Romanick
5208d93a41
Add test for GL_EXT_gpu_program_parameters.
2006-08-15 16:44:32 +00:00
Michal Krol
edefc658e4
More GLSL code - more support for vec4 operations on x86 back-end.
2006-08-09 20:05:26 +00:00
Michal Krol
1616f5b621
Change fragment shader to utilize faster vec4 operations.
2006-08-02 14:46:50 +00:00
Michal Krol
7a70391575
Add test for vec4 extension.
2006-08-02 14:45:24 +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
c26999fd2c
Fix dependencies.
2006-07-30 14:33:53 +00:00
Michal Krol
39dd5196e6
Optimize shaders.
...
Use frame counter.
2006-07-29 09:42:03 +00:00
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
...
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
2006-07-13 02:50:27 +00:00
Brian Paul
59cfd3cd3f
destroy window upon exit, remove CVS log comment
2006-07-12 02:34:43 +00:00
Brian Paul
d8bb5ea967
call glutDestroyWindow() to allow checking for mem leaks upon exit
2006-07-12 02:32:21 +00:00
Brian Paul
04f43226a8
fixup OSMESA_LIBS and make clean target
2006-07-07 14:32:02 +00:00
Brian Paul
8c140c9c37
remove GLUT dependency
2006-07-07 14:31:28 +00:00
Brian Paul
3ae1905744
remove dependency on GLUT
2006-07-07 14:12:04 +00:00
Brian Paul
1ff8daf21e
New animated engine demo.
2006-07-04 21:43:21 +00:00
Brian Paul
66c9be06f9
remove occlude.c demo since GL_HP_occlusion_test no longer available
2006-06-30 15:57:05 +00:00
Brian Paul
4e0617849c
use trackball code for mouse rotation
2006-06-26 23:00:15 +00:00
Brian Paul
9671548424
virtual trackball code
2006-06-26 22:59:28 +00:00
Brian Paul
0e794a1bc6
New 'install' targets in makefile. See bug 2372.
2006-06-22 22:50:48 +00:00
Keith Whitwell
b4517527eb
A bunch of tiny tests that I've found helpful bringing up drivers from
...
scratch. These exercise single pieces of functionality and provide a
gentler ramp than trying to use the mesa demos to bring up drivers with.
2006-06-22 16:32:19 +00:00
Keith Whitwell
5fb9f80e37
exercise min/max lod
2006-06-21 14:04:04 +00:00
Keith Whitwell
942b5b7bc0
exercise position invarient vertex program
2006-06-21 14:03:39 +00:00
Michel Dänzer
73e73ffdd5
Fix command line parsing.
2006-06-13 08:37:03 +00:00
Brian Paul
18d0efb555
removed incorrect const qualifier
2006-06-13 01:14:48 +00:00
Ian Romanick
ee34e6ef71
Add support for GL_APPLE_vertex_array_object. Several test programs
...
and demos are also added.
Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
2006-06-12 16:26:29 +00:00
Brian Paul
65ced47453
Thomas Sondergaard's API tracer
2006-06-02 14:50:28 +00:00
Brian Paul
1ec9b5a5a9
fix extension_supported() function, added comments
2006-05-31 20:36:52 +00:00
Claudio Ciccani
fe94d0b335
Added some example progs using DirectFBGL.
2006-05-31 17:05:11 +00:00
Michal Krol
23b7c7dc14
Make it running under Linux.
2006-05-30 09:38:16 +00:00
Brian Paul
4e470db0b9
print 2D vs 3D in window
2006-05-19 16:48:42 +00:00
Brian Paul
5ec34f0ff9
also test 3D textures (press '2'/'3' to toggle)
2006-05-19 16:42:01 +00:00
Brian Paul
fd02ca7711
Demonstrate rendering 8, 16 and 32-bit/channel images all in one program.
...
Like older osdemo.c program, but test more OpenGL features like texturing,
blending, lines.
2006-05-19 03:43:39 +00:00
Brian Paul
4c6319db9c
call reshape() after init() to set initial projection/viewing transform (see bug 6941)
2006-05-17 22:44:18 +00:00
Tilman Sauerbeck
601c02f783
bug 6941: fixed initial rendering problems in glxgears
2006-05-16 16:27:54 +00:00
Michal Krol
32c2f939e6
GLSL regression test suite.
2006-05-16 09:32:30 +00:00
Brian Paul
2ca741ad4b
added a few extension #ifdef tests
2006-05-15 15:35:38 +00:00
Brian Paul
c8ea111166
usage() function
2006-05-15 15:14:37 +00:00
Brian Paul
ad7805dfee
Expanded output with -l option: vertex/fragment program and vertex/fragment
...
shader limits.
Misc sync-ups with x.org copy of glxinfo.
2006-05-13 00:18:12 +00:00
Brian Paul
fa489dd043
simplify image setup code, added LOD Bias control (l/L keys)
2006-05-11 01:15:48 +00:00
Brian Paul
aecd02b391
simple texture compression test
2006-05-10 22:47:06 +00:00
Brian Paul
932c2fc291
new test image - Delicate Arch, Utah
2006-05-10 22:44:26 +00:00
Brian Paul
bb2dd388d0
Test program for exercising GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL.
2006-05-10 22:37:56 +00:00
Tilman Sauerbeck
9ecd280f33
fptest1 requires GL_NV_fragment_program
2006-04-28 21:50:41 +00:00
Michal Krol
6acf1e93a2
Remove carriage returns.
2006-04-25 10:11:59 +00:00
Brian Paul
9cd1cc0535
fprintf() clean-up (bug 6730)
2006-04-24 16:32:05 +00:00
Brian Paul
a95dd106e3
fix indentation
2006-04-21 01:02:49 +00:00
Brian Paul
fb87976ef6
use vertex.attrib[3] instead of vertex.color
2006-04-21 01:02:27 +00:00
Brian Paul
8743d00571
s/NV/ARB/
2006-04-21 01:01:58 +00:00
Brian Paul
28bc3cdfba
another simple FBO test
2006-04-14 16:25:27 +00:00
Brian Paul
3adee0829b
test glReadPixels speed w/ various formats/types, PBOs
2006-04-14 16:20:55 +00:00
Brian Paul
1d886a81ad
If the image file is RGB, convert to RGBA (fixes segfault).
...
Added CheckError() calls.
Remove -ci option.
2006-04-13 19:45:42 +00:00
Brian Paul
ecc0d10d2d
Use -I$(INCDIR) to get Mesa, not system headers (Dan Schikore)
2006-04-13 01:54:04 +00:00
Brian Paul
c4a4864210
compile fix from Dan Schikore
2006-04-13 01:49:45 +00:00
Brian Paul
68ad7ca3ba
allow rotation w/ mouse
2006-04-11 23:41:40 +00:00
Brian Paul
e099ce85ca
re-enable animation
2006-04-06 04:34:09 +00:00
Brian Paul
762c3618f5
Added render to depth texture support with GL_EXT_framebuffer_object.
...
Only render the shadow/depth texture when really needed, not every frame.
Remove support for old SGIX shadow extensions.
2006-04-06 04:11:28 +00:00
Brian Paul
1979b6b2de
set the texture border color for the depth texture
2006-04-05 03:26:12 +00:00
Brian Paul
ec83f38e2e
fix bad call to FindLine()
2006-03-30 14:26:29 +00:00
Brian Paul
197d725601
added -f option for full-screeen
2006-03-30 14:25:54 +00:00
Brian Paul
693a66aea9
press '0' for glDrawBuffer(GL_NONE)
2006-03-30 14:24:58 +00:00
Brian Paul
62c325af3f
fix GETPROCADDRESS usage, remove carriage return chars (bug 6430)
2006-03-29 23:20:49 +00:00
Brian Paul
32244ac7e9
s/glslnose.c/glslnoise/ (bug 6430)
2006-03-29 23:18:13 +00:00
Karl Schultz
b7a5a9db88
Windows makefile to easily build all demo programs.
2006-03-29 04:02:44 +00:00
Karl Schultz
b687531f69
Undef a conflicting symbol in Windows.
2006-03-29 03:42:32 +00:00
Karl Schultz
54b65e080e
add showbuffer.[ch] which could be in this dir after the targets are built.
2006-03-29 03:41:38 +00:00
Karl Schultz
4f21180416
Remove unneeded includes of time.h
2006-03-29 02:09:47 +00:00
Brian Paul
6494541eaa
lots of debug options, some code movement, etc
2006-03-24 23:17:06 +00:00
Brian Paul
c4f2710f9d
Added -l option for explicit locking around Xlib and GLX calls in
...
threaded code. Seems to improve reliability quite a bit.
2006-03-23 17:17:23 +00:00
Brian Paul
436d72e994
Added -p option to create a display connection per thread.
...
This seems more stabile than using one display connection for all threads.
Still get an occasional Xlib: unexpected async reply error, unfortunately.
2006-03-23 16:58:22 +00:00
Brian Paul
30655c211c
updated some printfs, added comment about sched_yield
2006-03-15 20:30:17 +00:00
Brian Paul
10f08cc202
use 'p' key to toggle use of GL_EXT_packed_depth_stencil
2006-03-15 01:44:03 +00:00
Ian Romanick
448d23331d
Display the correct bug number in the information text.
2006-03-06 16:42:12 +00:00
Ian Romanick
66df1731e6
Don't try to bind to proxy texture target. This is defined by the spec to be
...
an error. Since we're working with a proxy target, don't bother using real
texture data.
Add a missing new-line in an error printf.
2006-03-06 16:31:50 +00:00
Ian Romanick
5820f7998a
Build test for bugzilla #3050
2006-03-04 04:46:10 +00:00
Ian Romanick
780d270312
Test case for bugzilla #3050 .
2006-03-04 04:44:47 +00:00
Brian Paul
81b8aa9ecd
test glBlitFramebufferEXT w/ -blit flag
2006-03-02 03:54:14 +00:00
Michal Krol
cc1591667d
More GLSL code:
...
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos);
- fix bugs and optimize array size handling;
- 2D texture sampling (needs Enable(TEXTURE_2D) to work);
- decrease built-in library assembly size by 30%.
2006-02-21 12:35:06 +00:00
Michal Krol
3654193a4d
More GLSL code.
...
- general constructors allowed;
- implement noise functions (from Stefan Gustavson - thanks!)
- cosmetic stuff.
2006-02-18 15:11:18 +00:00
Michal Krol
3699751b0b
Demonstrate GLSL fragment and vertex shaders.
2006-02-15 10:58:52 +00:00
Brian Paul
111281f1fc
s/malloc/calloc/, fix mem leak
2006-01-31 03:00:14 +00:00
Brian Paul
4b4cc650e1
updated comment
2006-01-30 17:13:19 +00:00
Brian Paul
781c54a5b8
silence warning about duplicate M_PI definition
2006-01-30 17:12:10 +00:00
Brian Paul
6a36407a00
added more tests (Pedro Maia)
2006-01-30 17:11:47 +00:00
Brian Paul
7905b19ec9
use fmod() when incrementing CubeRot
2006-01-30 15:35:35 +00:00
Brian Paul
daf3093f28
Test glCopyTexSubImage2D by drawing gears as texture on sides of a box.
2006-01-28 00:30:07 +00:00
Brian Paul
0b3c2a9a24
Don't do swapbuffers if -nodraw specified. Get t0 after setup code.
2006-01-27 15:44:40 +00:00
Brian Paul
77667266a7
Test glTexSubImage and glCopyTexSubImage rate.
...
Run with -nodraw to skip rendering of test quad to get "pure" sub-tex rate.
2006-01-26 17:35:31 +00:00
Brian Paul
32a6468014
copypixrate.c - measure the speed of glCopyPixels.
2006-01-26 16:37:47 +00:00
Brian Paul
74235b1cf1
remove the GL_HP_occlusion_test code
2006-01-26 01:27:17 +00:00
Brian Paul
361bccb4ec
Free visinfo object (Tilman Sauerbeck)
2006-01-16 16:17:18 +00:00
Adam Jackson
93d0935ef7
Fix the default target to remake readtex.o if needed
2006-01-13 16:34:00 +00:00
Keith Whitwell
eda59aa87e
Oops - bad file-completion typo.
2006-01-05 11:01:18 +00:00
Keith Whitwell
ca188de098
add simple test for program local parameters
2006-01-05 10:57:57 +00:00
Dave Airlie
1b6a081885
update to new API
2005-12-23 08:42:29 +00:00
Brian Paul
1add059bd1
Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be
...
done with fragment programs nowadays.
2005-12-14 03:04:58 +00:00