Jon Smirl
6c2098ffd4
Fix a few compiler warnings
2005-06-16 04:25:45 +00:00
Keith Whitwell
502504de23
Add a mode to test flat shading + separate specular.
2005-06-01 07:02:23 +00:00
Daniel Borca
731f1b12a0
remove stupid flags
2005-05-23 22:02:53 +00:00
Brian Paul
e3e8067db7
use MAX_SCREENS instead of hard-coded number
2005-05-20 14:11:11 +00:00
Brian Paul
8f384f0b67
fix reversed strstr() args, print mode string
2005-05-20 14:03:35 +00:00
Brian Paul
e58d32947e
replace // with /* */
2005-05-20 14:02:02 +00:00
Jouk Jansen
063efce6ee
Committing in .
...
Update openVMS compile support
Modified Files:
Mesa/progs/demos/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
2005-05-20 11:43:54 +00:00
Adam Jackson
8f8e0f0b01
Use the 1.3 names for FogCoord*
2005-05-20 00:44:37 +00:00
Keith Whitwell
67cc1f6ba6
move osmesa demos to their own directory
2005-05-19 15:39:37 +00:00
Jon Smirl
c70dace694
Fix EGL fbdev palette problem. demo3 can save ppm of screen
2005-05-19 15:03:31 +00:00
Jon Smirl
9a1b5af333
Fix inverted y for egl fbdev, add egl demo3
2005-05-18 20:44:23 +00:00
Brian Paul
8818eae253
To better exercise pixel packing, replace regular glReadPixels with four
...
ReadPixels that get the image piece by piece.
2005-05-18 15:44:13 +00:00
Jon Smirl
9a3da7ea7b
Implement fbdev swapbuffers()
2005-05-18 01:44:11 +00:00
Jon Smirl
d06da50888
Fix several internal problems with generating the list of configs.
2005-05-17 00:59:13 +00:00
Jon Smirl
aecc05627a
Add forgotten demo2.c
...
VS: ----------------------------------------------------------------------
2005-05-14 03:51:18 +00:00
Jon Smirl
7012d01d88
First attempt at getting egl support up on dumb framebuffer.
...
Seems to be mostly working. Not all of egl API is implemented.
2005-05-13 18:31:35 +00:00
Brian Paul
6f3d16c64a
assorted warning clean-ups for x86_64, etc (Mikko T.)
2005-05-07 17:06:49 +00:00
Brian Paul
e4b2356c07
Major check-in of changes for GL_EXT_framebuffer_object extension.
...
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
2005-05-04 20:11:35 +00:00
Brian Paul
3aeae20685
updates for latest EGLScreenMESA changes
2005-05-04 03:32:39 +00:00
Keith Whitwell
2c19069182
new file
2005-04-29 15:36:38 +00:00
Brian Paul
69441868f6
no need to enable fog or set fog mode with fragment program
2005-04-26 20:58:27 +00:00
Brian Paul
fc06f9fb25
demo / test progs
2005-04-22 21:17:14 +00:00
Brian Paul
c61782958b
added wrappers/helpers for creating/destroying rendering contexts
2005-04-06 22:41:46 +00:00
Brian Paul
c3984fc015
changed implementation of GetAllFBConfigs()
2005-04-06 22:40:39 +00:00
Ian Romanick
29c909f81c
Make glxgears_fbconfig compile and respect the DISPLAY setting. Add it
...
to the Makefile as well.
2005-04-05 20:43:06 +00:00
Brian Paul
c39a4bc83c
s/Togle/Toggle/
2005-04-04 20:06:40 +00:00
Keith Whitwell
46d50d9e8e
Add more formats to test.
2005-03-22 13:32:35 +00:00
Ian Romanick
7457a648d2
If setting GL_PACK_INVERT_MESA results in a GL error, log it.
2005-03-14 22:09:31 +00:00
Dave Airlie
8ca515097f
use girl2.rgb by default
2005-02-26 04:56:25 +00:00
Dave Airlie
c68233cb35
Add glXAllocateMemoryMESA demo app using ycbcr...
...
add girl2.rgb which is a slightly resized girl.rgb so client texturing works
2005-02-26 04:51:47 +00:00
Ian Romanick
4ea4589302
Simple test for GL_MESA_pack_invert.
2005-02-14 17:07:29 +00:00
Ian Romanick
816c0c932d
Simple test for ARB_texture_env_crossbar functionality. It is difficult
...
to come up with good tests for this functionality that don't require
either ATI_texture_env_combine3 or NV_texture_env_combine4.
2005-02-09 22:16:38 +00:00
Daniel Borca
fc4cabbfa8
makefile update (readtex, showbuffer)
2005-01-31 13:23:55 +00:00
Brian Paul
98a9ad9241
added osmesa16 stuff
2005-01-29 13:48:43 +00:00
Brian Paul
371f576731
assorted fixes
2005-01-29 13:48:27 +00:00
Brian Paul
c84cde7b0b
added missing glFinish()
2005-01-29 12:57:36 +00:00
Brian Paul
5c6b391900
reenable some assertions
2005-01-24 15:41:08 +00:00
Brian Paul
31fb7648fc
added texobjshare.c
2005-01-19 14:52:13 +00:00
Brian Paul
4f6d9aaa9a
test program for texture sharing, deleting, etc
2005-01-19 14:51:41 +00:00
Daniel Borca
9ebce91a66
glVertex* is the provoking "cmd" (that is, by the time of glVertex*, we must have all other attributes already set).
...
i am committing this before i forget. however, i'm still leaving my code disabled, because the old code seems legal.
2005-01-19 07:52:49 +00:00
Brian Paul
730fabd67a
fix some weirdness accidentally checked in in the past
2005-01-17 16:14:46 +00:00
Daniel Borca
6a432a7c50
since we've already messed up this one, let we do it further and make it look like a fire...
2005-01-17 07:48:53 +00:00
Daniel Borca
a6ddd2494a
remove trailing slash from TOP definition
2005-01-17 07:47:41 +00:00
Keith Whitwell
f9b89910d1
new test to exercise context and window create/delete
2005-01-12 19:11:47 +00:00
Brian Paul
0275d921ac
VMS updates from Jouk Jansen
2005-01-11 15:23:08 +00:00
Brian Paul
14e98b7d7c
remove a debug line
2005-01-10 23:16:49 +00:00
Brian Paul
ff53a4ee13
tweak output formattting, fixed uninitialized var error
2005-01-10 23:15:59 +00:00
Brian Paul
527af7571e
minor readtex fixes
2005-01-09 18:05:02 +00:00
Brian Paul
612bf1fa2e
improved animation rate
2005-01-09 18:00:49 +00:00
Brian Paul
7a663b315e
rotate at fixed rate, changed fire effect (Marcelo Magallon)
2005-01-09 17:52:48 +00:00
Brian Paul
a00c591511
rotate at fixed rate (Marcelo Magallon)
2005-01-09 17:50:27 +00:00
Brian Paul
a4a31c5d76
use #ifdef to test for extension
2005-01-09 17:39:36 +00:00
Brian Paul
2d84ed83c4
include readtex.h
2005-01-09 17:39:06 +00:00
Brian Paul
92eddb0fd4
better animate rate (Marcelo Magallon)
2005-01-09 17:37:50 +00:00
Brian Paul
516f9bc6e3
some new/improved rules
2005-01-09 17:26:08 +00:00
Brian Paul
575d24a5ff
include readtex.h instead of readtex.c
2005-01-09 17:15:41 +00:00
Brian Paul
0fe7f406be
include readtex.h instead of readtex.c (Marcello Magallon)
2005-01-09 17:06:22 +00:00
Brian Paul
b58091a336
Add #ifdefs for extension testing (Marcello Magallon)
2005-01-09 17:00:57 +00:00
Brian Paul
429efa9f00
animation rate patch (Marcello Magallon)
2005-01-09 16:52:53 +00:00
Brian Paul
1b058a06c2
rotate at a reasonable rate
2005-01-09 16:48:52 +00:00
Brian Paul
c1065ee977
compute reasonable animate rate (Marcelo Magallon)
2005-01-08 23:52:01 +00:00
Brian Paul
0261042beb
fix-up rules for sphere demo, which uses readtex utility
2005-01-08 23:51:50 +00:00
Brian Paul
ba5ceda7e0
added GetAllFBConfigs()
2005-01-07 01:17:42 +00:00
Brian Paul
71fc6a3fc9
New GetAllFBConfigs() function. Some FBConfigs weren't reported before.
2005-01-06 23:59:37 +00:00
Keith Whitwell
a61ee65910
Redraw on keypress, as apparently intended.
2005-01-06 17:12:56 +00:00
Brian Paul
f72e4424d9
Use the GLX 1.3 pbuffer/fbconfig functions in preference to the SGIX ones.
...
Added more functions to pbutil.[ch] to better isolate API differences.
2005-01-04 00:58:29 +00:00
Keith Whitwell
16db15718d
Add a -fullscreen option
2004-12-20 14:48:19 +00:00
Daniel Borca
3f1205819a
updated makefiles for gcc 3.4.3 and bnu 2.15
2004-12-15 08:00:43 +00:00
Brian Paul
244adeb639
s/DP3/DP3_SAT/ to prevent negative values
2004-12-15 00:54:17 +00:00
Brian Paul
8402149766
removed unused visInfo var
2004-12-12 22:24:09 +00:00
Keith Whitwell
5aa1a111a4
Fix a couple of glitches
2004-12-10 17:18:00 +00:00
Keith Whitwell
fc23672327
Improve the behaviour of the build system wrt depend files.
...
- Remove the -Y option for makedepend, so that the standard
directories are searched
- No longer pipe the multiple errors that the -Y option caused
into /dev/null -- we want to know about these failures.
- Fix up a few other misc makedepend failures.
2004-12-08 15:16:36 +00:00
Keith Whitwell
e5aa3dd29b
Demonstrate using a color matrix for yuv-to-rgb conversion at texture
...
upload time.
2004-12-08 14:56:40 +00:00
Ian Romanick
596ccff699
Prevent possible divide-by-zero error.
2004-12-01 20:20:13 +00:00
Keith Whitwell
4f144b6087
EXT_422_pixels test
2004-11-30 19:15:06 +00:00
Brian Paul
0699b0bb17
silence warnings
2004-11-27 19:57:46 +00:00
Brian Paul
4fe34f340c
(GLint*) casts in glGetIntegerv calls
2004-11-26 13:43:17 +00:00
Brian Paul
b271ce8eda
allow specifying image file on command line
2004-11-10 23:16:22 +00:00
Ian Romanick
cb7f212f93
Add EXT_stencil_wrap test that doesn't depend on stencil read-back
...
functioning.
2004-11-04 22:32:41 +00:00
Brian Paul
c6136ea62c
unbind GL_PIXEL_UNPACK_BUFFER_EXT before calling glBitmap!
2004-10-31 15:27:12 +00:00
Brian Paul
9ae96a5ce8
remove debug code
2004-10-29 19:31:52 +00:00
Brian Paul
7520e25995
Updated getprocaddress test to use gl_API.xml instead of old APIspec file.
2004-10-29 19:12:08 +00:00
Brian Paul
2083131643
added stereo option (Jacek Rosik)
2004-10-26 14:36:32 +00:00
Brian Paul
07553c58fd
wrap angle value (Philipp Klaus Krause)
2004-10-23 18:55:48 +00:00
Brian Paul
e57b6d5a4f
addes osdemo32 target (J.P. Delport)
2004-10-23 16:58:32 +00:00
Ian Romanick
33899b7c35
Add support for OES_read_format. As soon as glext.h is updated with the
...
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Ian Romanick
af0a4690db
Add simple test program for Mesa bug #1028405 .
2004-10-08 00:56:08 +00:00
Karl Schultz
4c2fbb0538
Add the glut project to the demos workspace.
2004-10-01 20:55:23 +00:00
Brian Paul
b45aaa2328
moved to demos/ directory
2004-09-24 23:01:21 +00:00
Brian Paul
7d01c3480d
moved in from the tests/ directory to include in distro
2004-09-24 23:00:52 +00:00
Brian Paul
1fd4a55d09
removed hacked GL tokens, fixed a printf
2004-09-23 17:32:12 +00:00
Brian Paul
a511b70f44
silence warnings
2004-09-16 19:40:22 +00:00
Brian Paul
37c0497d98
silence warnings, re-indent code
2004-09-16 19:39:04 +00:00
Brian Paul
6fedd4e3bf
clean-up the hokey transformation code so that window resizes actually work
2004-09-16 19:32:49 +00:00
Brian Paul
6917201ede
Have the rendering contexts share textures.
...
Put simple checker pattern on the objects.
Press 'd' to delete texture, 'u' to unbind it.
2004-09-14 20:42:53 +00:00
Daniel Borca
a9ea1628da
changes towards GL_ARB_point_sprite (two-zero)
2004-09-13 08:47:01 +00:00
Brian Paul
be9b759ab0
remove BeOS conditional code. oglinfo should be moved to xdemos since it's a GLX program
2004-08-25 14:51:18 +00:00
Brian Paul
0ad6554338
print current config name before building src and progs
2004-08-25 14:49:41 +00:00
Philippe Houdoin
4ad28c9d9a
GLInfo now show GLU and GLUT infos too. Fix the includes paths
2004-08-15 14:06:00 +00:00
Philippe Houdoin
af2f26f7de
Obsoleted as demos programs build on BeOS with standard Makefile system.
2004-08-15 11:43:47 +00:00
Philippe Houdoin
789dd56699
Obsolete the BeOS-specific makefile as we now build using standard Makefiles chain.
2004-08-14 10:05:33 +00:00
Philippe Houdoin
ea446b56ab
Obsolete BeOS-specific makefile.
...
Removed the oglinfo target from samples from BeOS build, as it depends on X.
2004-08-14 10:03:11 +00:00
Philippe Houdoin
f17ddd4884
Fix demo.cpp, which wasn't working as expected.
...
Add a GLInfo app, a graphical tool displaying GL Info as a treeview.
Usefull to see which OpenGL renderer you use and which extension(s) is supported.
Convert the Makefile to be $(TOP)/configs/default-based.
2004-08-14 09:59:16 +00:00
Brian Paul
b1872fed15
silence a warning
2004-08-13 21:05:02 +00:00
Brian Paul
2fe6e913ca
minor fix for newest glxext.h header
2004-08-13 21:04:04 +00:00
Brian Paul
3bbdcdcdb8
cvs ignore file
2004-08-10 15:42:14 +00:00
Brian Paul
52a5cc0bae
minor anim tweak
2004-08-10 15:39:00 +00:00
Brian Paul
5222662f52
silence warning
2004-08-10 15:36:46 +00:00
Brian Paul
16c8dce363
use 'a' to toggle animation
2004-08-10 15:36:31 +00:00
Brian Paul
47a6749b33
minor tweaks
2004-08-10 15:34:51 +00:00
Brian Paul
f2afdcae9a
query/print max convolution filter size
2004-08-10 15:32:25 +00:00
Brian Paul
5f3b3a3827
new image (see mesa bug #993926 )
2004-07-20 21:00:34 +00:00
Brian Paul
d07859e718
redo the event loop to make event response better
2004-07-02 14:35:05 +00:00
Brian Paul
dbe1ecaa1d
option to test with display lists
2004-06-28 22:03:44 +00:00
Brian Paul
625a339a8a
make sure Q has a good value before drawing a sample
2004-06-28 15:16:28 +00:00
Roland Scheidegger
a09db0a7fa
new test which uses mixed texgen/non-texgen texture coordinates to exhibit potential bugs in hardware drivers
2004-06-25 13:49:46 +00:00
Ian Romanick
fb75ca1b65
Make the test check for core GL version 1.3 in addition to testing for
...
GL_ARB_texture_compression. Also make the test list the compression formats
the driver "encourages" the app to use.
2004-06-17 20:53:07 +00:00
Brian Paul
22dad683b1
don't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal
2004-06-11 15:07:23 +00:00
Daniel Borca
2c161cf395
small corrections
2004-06-07 06:03:08 +00:00
Eric Anholt
2fb5d15ce3
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
...
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS
more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
2004-06-01 00:06:14 +00:00
Ian Romanick
d44e9e39da
Build the fogcoord demo.
2004-05-27 15:21:44 +00:00
Ian Romanick
77bbbb3759
Minor code simplification.
2004-05-26 17:12:56 +00:00
Ian Romanick
63b2e426ac
Test the overhead of just calling a GL function. The Python script is
...
a helper to do multiple runs and compare the results.
2004-05-26 16:38:38 +00:00
Roland Scheidegger
9e29536f28
use OGL 1.1 color logic ops in addition to GL_EXT_blend_logic_op
2004-05-21 17:03:38 +00:00
Roland Scheidegger
7225a7292a
(Dieter Nuetzel) fix typo in help screen
2004-05-21 14:51:33 +00:00
Brian Paul
46bc595969
Test program to check that packed pixel formats work as expected with
...
glTexImage2D. All samples should appear identical. Press f/F to change
the internal texture format.
2004-05-12 23:05:21 +00:00
Brian Paul
751c9d096d
obsolete in favor of regular Makefiles
2004-05-12 14:04:29 +00:00
Ian Romanick
939f6a724e
Added a 4th square to the output. Expanded the message written to the
...
console.
2004-05-11 19:59:13 +00:00
Ian Romanick
5f6691f371
Added simple EXT_blend_minmax test.
2004-05-11 19:57:58 +00:00
Ian Romanick
d2f18ec6fa
Added simple NV_blend_square test.
2004-05-11 17:48:33 +00:00
Brian Paul
d6693c4294
s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/
2004-05-10 22:07:57 +00:00
Ian Romanick
216d980d53
Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
...
depending on which is available.
2004-05-07 18:20:43 +00:00
Brian Paul
1229100703
Added menu options to test border modes and linear/nearest filtering.
...
Adjust texcoords so we always have to sample the border.
Other misc changes.
2004-05-06 20:27:32 +00:00
Ian Romanick
cd6ca58c3f
Modified to use vertex arrays. Vertex arrays and immediate mode calls
...
are toggled with the 't' key.
2004-05-05 20:17:19 +00:00
Brian Paul
4045b6e5b8
don't need auto mipmaps
2004-05-05 00:28:17 +00:00
Brian Paul
cb40ebd8a2
added -c option to exercise convolution of glTexImage2D
2004-05-04 23:57:12 +00:00
Daniel Borca
33ffbd1c58
texture compression: getting warmer
2004-05-04 06:27:06 +00:00
Daniel Borca
c35dcfcf0a
FXT1 preparations
2004-04-29 09:01:41 +00:00
Brian Paul
384800fe12
assorted fixes
2004-04-23 14:14:04 +00:00
Keith Whitwell
180e28e6d4
Add fps output
2004-04-23 14:06:02 +00:00
Brian Paul
66fdc3c948
added floattex.c to test floating point textures
2004-04-22 01:10:09 +00:00
Brian Paul
2fae1bb6df
minor clean-ups
2004-04-22 00:47:28 +00:00
Brian Paul
362f1df210
obsolete
2004-04-22 00:42:38 +00:00
Brian Paul
f693b1dc2e
removed non-existant arbfpwpos.c, added UTIL_FILES target
2004-04-20 23:25:47 +00:00
Brian Paul
51060afb4e
hack to use glTexCoord4f and Q variable to test projective texcoords
2004-04-18 20:13:21 +00:00
Keith Whitwell
6fb235661a
Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
...
and execute fragment programs. Very limited and experimental, but works
well enough to run arbfplight.c.
http://fabrice.bellard.free.fr/tcc/
Compile with 'make linux-tcc', being sure to make clean first.
2004-04-14 21:19:34 +00:00
Brian Paul
32aee1fcc0
added zreaddraw.c
2004-04-08 22:45:02 +00:00
Brian Paul
62d3309dc2
no depend file
2004-04-08 21:11:12 +00:00
Brian Paul
51aa7a93ad
for make clean, include tests directory
2004-04-03 15:18:13 +00:00
Brian Paul
5c2040c768
minor fixes
2004-03-26 23:58:08 +00:00
Brian Paul
df8bc57258
Don't use pushd/popd.
2004-03-26 21:38:45 +00:00
Brian Paul
d6de4d8b33
new Makefile
2004-03-26 20:37:19 +00:00
Brian Paul
46727c7496
Tweaks for make clean / realclean.
2004-03-26 20:31:05 +00:00
Brian Paul
f132413965
clamp BiasMin, BiasMax to reasonable values
2004-03-26 18:05:36 +00:00
Brian Paul
de0ee3187c
New Makefile system
2004-03-26 15:19:11 +00:00
Brian Paul
68b38d2751
check for GLX 1.3 during init
2004-03-26 14:17:31 +00:00
Brian Paul
209fee4d33
silence warnings
2004-03-25 14:58:39 +00:00
Brian Paul
b87c5d08c7
added some code to test buffer deletion
2004-03-22 16:28:02 +00:00
Brian Paul
f6a93d3dff
use GL state vars instead of program parameters
2004-03-22 16:27:13 +00:00
Brian Paul
04da5cea31
test of aux buffer rendering
2004-03-21 17:07:30 +00:00
Brian Paul
746e59f207
GL_EXT_pixel_buffer_object test
2004-03-13 18:31:14 +00:00
Ian Romanick
c00fbd55ba
The available GLX version is now logged in addition to the client
...
version and the server version.
2004-02-23 17:37:36 +00:00
Brian Paul
4e41eb1061
compute fog coord in eye space, not clip space
2004-02-17 22:00:45 +00:00
Brian Paul
9a389d4bdb
define DO_FRAGMENT_FOG=1 to test fragment program fog option
2004-02-17 17:59:59 +00:00
Brian Paul
64d6ddabaa
remove incorrect negation in fog coord computation
2004-02-16 16:44:40 +00:00
Keith Whitwell
7b5199e8a4
glutInitWindowPosition
2004-02-16 14:45:56 +00:00
Daniel Borca
a49a08d014
fog_coord demo
2004-02-16 07:31:29 +00:00
Ian Romanick
840e82163d
Added a test case for Mesa bug #508473 that I wrote a long time ago.
...
Fixed the Makefile.X11 to actually build glxgears_fbconfig when
invoked from the top level.
2004-02-11 20:16:26 +00:00
Ian Romanick
1d6e08db95
Added yet another version of gears. This one uses fbconfigs, and is a
...
rudimentary test of fbconfigs that doesn't use pbuffers of
GLX_SGI_make_current_read.
2004-02-11 08:00:42 +00:00
Brian Paul
53c50f1667
some useful matrix functions
2004-02-10 23:41:20 +00:00
Keith Whitwell
493e6e1e90
Add comments to make decyphering the faces easier
2004-02-05 17:36:02 +00:00
Keith Whitwell
72aeea4eea
Use quads instead of lines to ensure this is testing stencil functionality
...
rather than rasterization. A crutch to hw with wonky line
rasterizers.
2004-02-04 15:27:39 +00:00
Brian Paul
b6a9cb7095
another pbuffer demo (Andrew Lentvorski)
2004-02-03 16:23:38 +00:00
Brian Paul
18a949000c
tweak comments
2004-02-02 15:38:26 +00:00
Brian Paul
c9e1c8098b
added display list option (l key)
2004-01-31 19:57:25 +00:00
Brian Paul
27ec7a5bf1
add vparray.c, fix indentation
2004-01-31 19:15:57 +00:00
Brian Paul
919404fd1d
enable program and arrays by default, minor clean-ups
2004-01-31 19:15:43 +00:00
Alan Hourihane
29b2ced167
fix printf warnings
2004-01-28 16:28:53 +00:00
Keith Whitwell
eabe7beeaa
add glutInitWindowPosition calls
2004-01-28 10:09:59 +00:00
Keith Whitwell
469d1b0f22
Add glutInitWindowPosition call
2004-01-28 10:07:48 +00:00
Keith Whitwell
740f7de085
Tweak: set z scale to one, else tnl thinks we have a 3d texcoord.
2004-01-27 16:18:00 +00:00
Keith Whitwell
ab41a96ae7
Add tests for ARB_fp trig instructions and also for 1D texturing
2004-01-26 13:45:42 +00:00
Brian Paul
b4b35bcc42
New glXUseRotatedXFontMESA() function. Like glXUseXFont(), but takes
...
a rotation parameter (either 0, 90, 180 or 270 degrees).
Also, a demo program.
2004-01-24 16:50:35 +00:00
Brian Paul
a7e6f7ba35
exercise glDeleteProgramsARB
2004-01-13 16:17:21 +00:00
Daniel Borca
0ee5f6203c
reverted TMUs for proper multitexturing
2003-12-23 14:11:22 +00:00
Daniel Borca
e9e98405e7
DMesa: removed MGA2064W driver
...
DMesa: added capability to query visuals
fxMesa: WGL_3DFX_gamma_control
fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
2003-12-19 11:26:46 +00:00
Brian Paul
520ef4b5bc
new makefiles
2003-12-12 15:33:51 +00:00
Karl Rasche
a8a4ad452e
added parsing exercises for ARL and relative offsets in ARB_vp
2003-12-09 18:17:04 +00:00
Karl Rasche
93c2dacca6
A quick little test to show disapeearing specular color between vertex and fragment program execution
2003-12-08 21:43:55 +00:00
Jouk Jansen
58f88a29d2
Committing in .
...
OpenVMS compile issues
Modified Files:
Mesa-newtree/progs/tests/cva.c
Mesa-newtree/progs/tests/dinoshade.c
Mesa-newtree/progs/tests/multipal.c
Mesa-newtree/src/mesa/main/descrip.mms
Mesa-newtree/src/mesa/tnl/descrip.mms
Mesa-newtree/src/mesa/tnl/t_vtx_api.c
----------------------------------------------------------------------
2003-12-08 09:03:35 +00:00
Brian Paul
a763123b35
glFBDev driver from embedded-2 branch.
...
Probably won't be actively used/maintained, but bring it to the trunk so
it doesn't get lost.
2003-12-06 17:20:10 +00:00
Brian Paul
15f7f4e31f
press f key to toggle front/back drawing/copying
2003-12-05 00:39:48 +00:00
Karl Schultz
f9b0ac691c
Windows needs to #define GL_GLEXT_PROTOTYPES
2003-12-04 21:03:08 +00:00
Karl Rasche
9b0dcfd408
s/inverse/invtrans.. whoopsie
2003-12-02 22:46:30 +00:00
Karl Rasche
dda09a6154
Moving NV_fragment_program tests to ARB_fragment_program
2003-11-24 13:29:54 +00:00
Karl Rasche
15955f1c5e
Porting NV_vertex_program demos to ARB_vertex_program
2003-11-23 17:48:15 +00:00
Karl Rasche
4814d79c99
Porting NV_vertex_program tests to ARB_vertex_program
2003-11-23 17:44:02 +00:00
Keith Whitwell
8525fae3b8
build fixes, rh9
2003-11-23 10:27:10 +00:00
Daniel Borca
08e6fb367e
texture compression testbed
2003-11-20 17:07:31 +00:00
Brian Paul
16c119bab2
remove GL_GLEXT_LEGACY
2003-11-13 23:09:43 +00:00
Brian Paul
35b52c72d0
added more debug code and tests
2003-10-21 14:56:53 +00:00
Brian Paul
0f22705b0b
remove some cruft
2003-10-14 16:59:44 +00:00
Brian Paul
4524274377
exercise more vertex buffer object functions
2003-10-14 15:49:12 +00:00
Daniel Borca
009d7f8ba1
Minor MinGW fixes
2003-10-09 15:15:07 +00:00
Brian Paul
5fd77da4f6
improved 'clean' targets (Otto Solares)
2003-10-03 14:03:14 +00:00
Brian Paul
a75246f8f5
updates from Daniel Borca
2003-10-02 17:36:43 +00:00
Karl Schultz
cafc787027
Add project file for new spriteblast demo. (Update dependency)
2003-09-25 19:17:30 +00:00
Karl Schultz
26577e4939
Add project file for new spriteblast demo.
2003-09-25 19:15:22 +00:00
Brian Paul
1a89978d83
GL_ARB_point_sprite demo
2003-09-24 20:41:53 +00:00
Karl Schultz
77a505a4bb
MS dev studio project file for teapots demo.
2003-09-24 17:37:00 +00:00
Karl Schultz
c1cbde2ae1
Workspace file for redbook programs
2003-09-24 17:36:00 +00:00
Karl Schultz
2c9618bb12
Change projection transform so that the top row of teapots are now visible.
2003-09-24 17:34:32 +00:00
Karl Schultz
f3a63d69ff
Create 'all' project to make it easy to build and clean all the programs in the demos directory.
2003-09-22 18:21:19 +00:00
Karl Schultz
ea9365b48a
Add remaining demos.
2003-09-22 18:03:09 +00:00
Karl Schultz
6872c21ace
New visual studio project fiile for building demos.
2003-09-22 18:02:45 +00:00
Karl Schultz
ff750fe8cb
Make binary - even though this is a text file, common practice is to store MS studio files as binary
2003-09-19 15:08:42 +00:00
Karl Schultz
85be17868c
Now obsolete.
2003-09-18 18:40:22 +00:00
Karl Schultz
84c2730866
New visual studio workspace and projects for building demos.
2003-09-18 18:39:53 +00:00
Karl Schultz
80d719f11a
Remove first attempt at using visual studio projects to compile demos.
2003-09-18 18:35:29 +00:00
Brian Paul
1ceeac29ec
s/GL_READ_WRITE_ARB/GL_WRITE_ONLY_ARB/
2003-09-17 18:20:52 +00:00
Brian Paul
de8d410a99
Exercise the GL_ELEMENT_ARRAY_BUFFER_ARB path
2003-09-17 18:15:47 +00:00
Brian Paul
6bced0148e
test GL_ARB_vertex_buffer_object
2003-09-17 16:27:07 +00:00
Brian Paul
50253ea0a3
Remove all the swap_control stuff from glxgears demo (restored to vers 1.2).
...
New glxswapcontrol.c file added.
2003-09-08 15:06:23 +00:00
Brian Paul
445ecdcebd
use GL_GLEXT_PROTOTYPES
2003-09-08 14:56:41 +00:00
Brian Paul
91253e7be5
more debugger development
2003-09-05 19:34:58 +00:00
Brian Paul
044f20d1ea
files for CVS to ignore
2003-09-05 12:51:24 +00:00
Jouk Jansen
054b5aef92
Committing in .
...
Added missing include files.
Modified Files:
Mesa-newtree/progs/demos/isosurf.c
Mesa-newtree/src/mesa/main/nvvertexec.c
----------------------------------------------------------------------
2003-09-05 09:37:32 +00:00
Brian Paul
03f0ddbe4c
include math.h
2003-09-03 17:21:51 +00:00
Ian Romanick
c8363a31cf
Added support for EXT_texture_mirror_clamp and the single wrap mode
...
that it addes to ATI_texture_mirror_once. This includes updating the
texwrap test to exercise the new mode.
2003-09-02 19:25:17 +00:00
Brian Paul
b3680df593
s/DP4/DP3/
2003-08-31 19:06:10 +00:00
Brian Paul
254e201721
s/DP4/DP3/
2003-08-31 18:57:17 +00:00
Brian Paul
760960028f
Updates from Daniel Borca
2003-08-28 16:57:01 +00:00
Brian Paul
9e94aaf6e3
remove unused bytes variable
2003-08-28 03:10:41 +00:00
Brian Paul
0b12650701
space bar to toggle animation
2003-08-28 03:07:49 +00:00
Brian Paul
2230b8518e
test program to exercise glDraw/ReadPixels(GL_DEPTH_COMPONENT) and pixel zooming
2003-08-23 21:42:57 +00:00
Jon Smirl
7c819439ba
Rename Makefile to Makefile.X11, add depend support
2003-08-23 01:34:56 +00:00
Jon Smirl
52f246bd23
Added missing includes for standard header files
2003-08-23 01:28:59 +00:00
Jon Smirl
ae530c2ff9
Renaming Makefile to Makefile.X11, added depend support, adjusted paths
2003-08-23 01:12:35 +00:00
Brian Paul
9ec58c2c5b
DOS and glide driver updates from Daniel Borca
2003-08-19 15:52:51 +00:00
Brian Paul
676cf71852
Added TOP to point to top of tree to find includes and libs
2003-08-06 18:04:32 +00:00
Keith Whitwell
a7ea785a10
miniglx test programs
2003-08-06 17:47:15 +00:00
Karl Schultz
838bb33fe1
add osdemo project
2003-07-24 17:45:27 +00:00
Karl Schultz
0a5957bfb1
project file for osdemo
2003-07-24 17:45:09 +00:00
Karl Schultz
95a791bb3e
Project to build the gears demo program.
2003-07-24 03:55:25 +00:00
Karl Schultz
c7363f7a48
Workspace to build Mesa demos and sample programs.
2003-07-24 03:54:46 +00:00
Brian Paul
6a940e8946
New interactive debugging code - vertex or fragment program.
2003-07-22 03:53:44 +00:00
Brian Paul
5366b01d86
test program for GL_MESA_program_debug extension
2003-07-21 04:22:59 +00:00
Brian Paul
356959952c
added GL_VERSION check
2003-07-10 14:39:57 +00:00
Brian Paul
b464dee72b
bigger window
2003-07-03 03:11:56 +00:00
Brian Paul
7568561fa7
GL_ARB_texture_non_power_of_two test program
2003-07-03 03:10:50 +00:00
Jouk Jansen
9826ca3ef5
Committing in .
...
Enable installation on OpenVMS ODS5 disks.
Modified Files:
Mesa-newtree/progs/demos/descrip.mms
Mesa-newtree/progs/tests/descrip.mms
Mesa-newtree/progs/xdemos/descrip.mms
Mesa-newtree/src/glut/glx/descrip.mms
Mesa-newtree/src/mesa/array_cache/descrip.mms
Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms
Mesa-newtree/src/mesa/drivers/x11/descrip.mms
Mesa-newtree/src/mesa/glapi/descrip.mms
Mesa-newtree/src/mesa/main/descrip.mms
Mesa-newtree/src/mesa/math/descrip.mms
Mesa-newtree/src/mesa/swrast/descrip.mms
Mesa-newtree/src/mesa/swrast_setup/descrip.mms
Mesa-newtree/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
2003-07-02 14:23:49 +00:00
Jouk Jansen
ccb8284a5b
Committing in .
...
OpenVMS support for new directory tree
Modified Files:
Mesa-newtree/progs/demos/descrip.mms
Mesa-newtree/progs/tests/descrip.mms
Mesa-newtree/progs/xdemos/descrip.mms
Mesa-newtree/src/glu/sgi/descrip.mms
Mesa-newtree/src/glut/glx/descrip.mms
Mesa-newtree/src/mesa/main/descrip.mms
Added Files:
Mesa-newtree/descrip.mms Mesa-newtree/mms-config.
Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms
Mesa-newtree/src/mesa/descrip.mms
Mesa-newtree/src/mesa/array_cache/descrip.mms
Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms
Mesa-newtree/src/mesa/drivers/x11/descrip.mms
Mesa-newtree/src/mesa/glapi/descrip.mms
Mesa-newtree/src/mesa/math/descrip.mms
Mesa-newtree/src/mesa/swrast/descrip.mms
Mesa-newtree/src/mesa/swrast_setup/descrip.mms
Mesa-newtree/src/mesa/tnl/descrip.mms
Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt
Mesa-newtree/vms/xlib_share.opt
----------------------------------------------------------------------
2003-06-17 07:20:22 +00:00
Brian Paul
642699a19f
DOS updates for new tree (Daniel Borca)
2003-06-16 14:32:44 +00:00
Brian Paul
8fa507592b
fix typo, added space/anim control
2003-06-13 02:42:57 +00:00
Brian Paul
86258034d5
GL_ARB_occlusion_query demo.
2003-06-13 02:38:35 +00:00
Brian Paul
9a2121cfb6
update for new directory tree
2003-06-10 14:54:37 +00:00
Brian Paul
b953bebc25
updated old-style makefiles for new tree
2003-06-10 14:46:24 +00:00
Ian Romanick
9ac51f57ef
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
2003-06-05 00:50:18 +00:00
Brian Paul
3ba8a49c81
Remove a bunch of really old/obsolete configs.
...
Use the new mklib script.
2003-06-01 16:25:02 +00:00
Ian Romanick
b2a4aecd80
Removed an accidental addition in the previous commit.
2003-05-30 18:41:38 +00:00
Brian Paul
f8f830d59d
minor clean-ups
2003-05-30 15:42:22 +00:00
Brian Paul
62dc802818
misc changes from testing
2003-05-30 15:38:26 +00:00
Brian Paul
80b8665438
include readtex.h
2003-05-30 15:37:47 +00:00
Brian Paul
f98921d344
display both YCbCr and RGB image (Ian)
2003-05-30 15:36:04 +00:00
Brian Paul
785774deb2
applied Ian's misc patches
2003-05-30 15:30:16 +00:00
Keith Whitwell
27358a24a0
move LoadYUVImage into readtex.c
2003-05-20 09:54:58 +00:00
Keith Whitwell
eea72ff722
Test programs for ycbcr extension
2003-05-20 08:50:02 +00:00
Jouk Jansen
370d7ad007
Committing in .
...
Updating OpenVMS compile support
Modified Files:
Mesa/src/descrip.mms Mesa/xdemos/glxgears.c
----------------------------------------------------------------------
2003-04-29 07:15:48 +00:00
Brian Paul
8eb2fe0e15
added a cast
2003-04-21 14:51:49 +00:00
Brian Paul
d93b68f17a
silence warnings
2003-04-21 14:51:16 +00:00
Brian Paul
ff389b00a5
casts
2003-04-21 14:50:49 +00:00
Brian Paul
95210bc806
fix minor warnings
2003-04-21 14:50:12 +00:00
Brian Paul
a0ef56fd15
fix .c / .h typo
2003-04-21 14:04:27 +00:00
Brian Paul
3ca3ab0cd1
clean up usage of extension function pointers
2003-04-17 21:43:55 +00:00
Brian Paul
24339179a4
Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting.
2003-04-17 19:20:54 +00:00
Brian Paul
ebab631c9c
fix typo
2003-04-09 22:50:52 +00:00
Brian Paul
0b77a1c635
fix typo
2003-04-09 21:50:08 +00:00
Brian Paul
ad80233d5d
add support for swap and sync extensions (Ian Romanick)
2003-04-09 21:47:19 +00:00
Brian Paul
4cef881e1f
Demo of per-pixel lighting with a fragment program.
2003-04-07 23:05:50 +00:00
Brian Paul
c0eebd723f
test glProgramNamedParameter4fNV()
2003-04-05 00:38:40 +00:00
Brian Paul
55b0ff2193
use gluSphere instead of glutSphere so we get texcoords
2003-03-31 16:51:38 +00:00
Brian Paul
c13a05547d
print GL_MULTISAMPLE_ARB
2003-03-29 16:42:57 +00:00
Brian Paul
c310570215
fix texgen msg strings
2003-03-29 16:40:23 +00:00
Brian Paul
183aea64d3
DOS updates from Daniel Borca
2003-03-29 16:14:01 +00:00
Brian Paul
add99d01ee
added fptest1, fptexture, texrect, etc
2003-03-14 15:43:46 +00:00
Brian Paul
5b8ed51501
simple NV_fragment_program texture test
2003-03-14 15:41:51 +00:00
Brian Paul
08953c318e
test GLfloat OSMesa rendering
2003-03-08 19:05:45 +00:00
Brian Paul
47d8adde43
DOS update (Daniel Borca)
2003-03-08 18:28:14 +00:00
Brian Paul
078418208f
added glFinish with comment
2003-03-03 03:14:25 +00:00
Karl Schultz
e9218448ca
fix compilation for windows
2003-02-27 19:43:02 +00:00
Brian Paul
ec35842990
more parser test programs
2003-02-25 20:06:35 +00:00
Brian Paul
60f84fcc91
latest DOS updates (Daniel Borca)
2003-02-20 15:43:52 +00:00
Brian Paul
e5ed2f07d8
read/write files, not stdio (Daniel Borca)
2003-02-04 12:34:02 +00:00
Brian Paul
398c6b7980
DOS updates (Daniel Borca)
2003-02-04 02:43:27 +00:00
Brian Paul
95e67dc99d
use ARB flavor of window_pos extension
2003-02-04 02:35:00 +00:00
Brian Paul
35d03a6b3e
updated version test
2003-01-28 15:31:35 +00:00
Brian Paul
388781a526
silence warning
2003-01-24 21:41:08 +00:00
Brian Paul
4fc647c397
simple GL_NV_fragment_program test
2003-01-14 22:50:02 +00:00
Brian Paul
76d2a77291
use/test GL_SGIS_generate_mipmaps if available
2002-12-10 16:51:28 +00:00
Brian Paul
66fa33e576
updated to use ARB extensions
2002-12-03 03:13:17 +00:00
Brian Paul
1b94df053d
use polygon offset to avoid multi-pass Z-fighting artifacts
2002-11-28 15:51:55 +00:00
Brian Paul
aa80f05484
multisample / polygon smooth test
2002-11-08 18:30:26 +00:00
Brian Paul
0b0245c160
minor clean-up
2002-11-08 15:49:31 +00:00
Brian Paul
d1efbf0456
implemented automatic code gen and individual function validation
2002-11-08 15:35:46 +00:00
Brian Paul
7348df5937
added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElements
2002-11-07 16:34:58 +00:00
Brian Paul
1cfae1adb2
added 1.4 functions
2002-11-07 16:23:40 +00:00
Brian Paul
25af66a67f
added some printfs to show current polygon mode and cull state
2002-11-05 20:59:16 +00:00
Brian Paul
d2e39bb050
add support for GLX_ARB_multisample
2002-11-04 16:24:18 +00:00
Brian Paul
36481524ba
simple GL_EXT_stencil_wrap test program
2002-10-31 15:25:07 +00:00
Keith Whitwell
9627ed0631
Add a note about window map behaviour and the autotuning of nr of loops which
...
can conspire to make it look like clearspd is exposing an intermittent driver
bug...
2002-10-31 12:38:32 +00:00
Brian Paul
a4f0b6884c
added skybox and options to load real images
2002-10-25 17:20:26 +00:00
Brian Paul
4fbdedc0d5
massive overhaul, see new keyboard options
2002-10-23 14:00:01 +00:00
Karl Schultz
53d30c56eb
Quiet compiler warnings.
2002-10-18 17:47:35 +00:00
Brian Paul
8c2a1f0e4d
check for GL_EXT_paletted_texture
2002-10-18 13:23:19 +00:00
Brian Paul
bc36ee25d8
new wrap modes (Ian Romanick)
2002-10-17 17:39:37 +00:00
Brian Paul
9d00b68482
added missing glFinish()
2002-10-15 14:44:53 +00:00
Brian Paul
7c5282d2a8
minor updates
2002-10-15 14:43:55 +00:00
Brian Paul
45c569860c
print transparent pixel info when using -v option (Gerd Sussner)
2002-10-14 13:57:23 +00:00
Jouk Jansen
f72a3da697
Committing in .
...
Add compile support in the xdemos directory for OpenVMS
Modified Files:
Mesa/descrip.mms Mesa/xdemos/descrip.mms
Mesa/xdemos/glxgears.c
----------------------------------------------------------------------
2002-10-08 08:38:26 +00:00
Brian Paul
5687740762
added pbinfo and pbdemo programs
2002-10-05 18:30:46 +00:00
Brian Paul
21666e3db4
pbuffer info and demo programs
2002-10-05 18:30:13 +00:00
Brian Paul
473e51f2fb
Updated BeOS support (Philippe Houdoin)
2002-09-19 16:19:43 +00:00
Brian Paul
57df24a86c
don't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT
2002-09-06 12:58:56 +00:00
Brian Paul
28bc6cb479
minor updates to sync with XFree86
2002-09-06 03:47:34 +00:00
Brian Paul
2f7ef5fae8
added -l option to print interesting OpenGL limits
2002-09-06 03:35:43 +00:00
Brian Paul
5117a8214d
added multitexture and line stipple
2002-08-17 00:30:36 +00:00
Brian Paul
f569dc447a
minor tweaks
2002-08-17 00:29:55 +00:00
Brian Paul
1972ac661c
added (char *) casts
2002-08-08 17:12:38 +00:00
Brian Paul
c712425d0d
fix warnings (bug 580528)
2002-07-22 13:45:31 +00:00
Brian Paul
e237491493
silence warnings
2002-07-12 15:54:19 +00:00
Brian Paul
f02a5f6cc5
Pedantic compiler fixes (Sven Panne)
2002-07-12 15:54:01 +00:00
Brian Paul
4db3c48a13
test program for NV_vertex_program and evaluators
2002-06-23 02:57:33 +00:00
Brian Paul
d373819b8c
Joe Krahn's context sharing test program
2002-06-16 03:57:48 +00:00
Brian Paul
4e99da15eb
test for GL_NV_texture_rectangle
2002-06-15 03:08:19 +00:00
Brian Paul
b58c5ad7b0
GGI driver updates (Filip Spacek)
2002-06-10 15:16:44 +00:00
Alan Hourihane
a5cdf99951
remove test code
2002-05-02 09:17:59 +00:00
Alan Hourihane
056b35874b
glutSwapBuffers implicitly does a glFinish when swapping back to the front
...
buffer. We now issue a glFinish when not issuing SwapBuffers to ensure
the pipeline is complete.
(Problem found with Chromium).
2002-05-02 09:15:22 +00:00
Brian Paul
fdd631a941
removed CVS $Log comments
2002-04-22 16:03:37 +00:00
Brian Paul
62954c8c30
test program for NV_vertex_program + vertex arrays
2002-04-22 15:53:54 +00:00
Karl Schultz
17642eddf4
Added -perf option to measure frame rate. This is useful for measuring
...
Mesa in a more environment-independent way.
2002-04-05 17:40:20 +00:00
Brian Paul
db30cc8d00
added an error check
2002-04-02 23:53:56 +00:00
Brian Paul
3c70f6f2ac
exercise GL_EXT_shadow_funcs
2002-03-23 16:34:18 +00:00
Brian Paul
a3e44f4531
fix some minor warnings
2002-03-08 19:44:28 +00:00
Brian Paul
9ff74a0f15
undo some debug changes mistakenly checked in earlier
2002-02-17 17:37:55 +00:00
Brian Paul
f204c9d2bb
updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
2002-02-16 14:54:18 +00:00
Brian Paul
026c036be0
include string.h to silence warning
2002-02-15 16:48:48 +00:00
Brian Paul
cbd9a0254e
now supports > 2 texture units
2002-02-13 02:23:33 +00:00
Brian Paul
38d042a4ad
silence compiler warnings
2002-02-12 16:07:47 +00:00
Brian Paul
e79de014c5
removed GLUT reference
2002-01-30 21:54:37 +00:00
Brian Paul
6a731f343e
added fog and raster Z position controls
2002-01-26 17:49:30 +00:00