Brian
792d524aed
mesa: measure fill rate for drawing a large quad with basic shading/texture modes
2008-04-01 16:07:09 -06:00
Eric Anholt
227af94cce
Add a couple of test apps for line/unfilled polygon clipping.
2008-03-27 11:57:08 -07:00
Brian Paul
74525d474c
mesa: minor code re-org
2008-03-21 11:06:52 -06:00
Brian Paul
ba31cf6855
better text labels
2008-03-19 17:15:14 -06:00
Brian Paul
5456f4f210
mesa: new mipmap generation, lod bias demo
...
Show each of the mipmap levels side-by-side.
Press 's' to toggle quad scaling to see mipmap level at actual size.
2008-03-17 16:03:06 -06:00
Brian
370eca12ad
Added calibrate_rast.c program
...
Measures rasterization of points/lines/tris and suggests fixes/biases when
something doesn't meet spec.
2008-02-28 17:55:26 -07:00
José Fonseca
2d38d1b300
Remove files of unsupported build systems.
2008-02-25 17:11:28 +09:00
Brian
52e4c8d702
Test calling glTexSubImage2D mid-way through a frame.
2008-02-20 11:58:33 -07:00
Brian
f9973b1c3d
Added minmag.c test
...
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 10:05:24 -07:00
Brian
3955bbc303
Added minmag.c test
...
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 09:57:50 -07:00
Brian
be54b492d9
Fix broken test.
...
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
2008-02-12 16:57:00 -07:00
Brian
22ab7fa466
Fix broken test.
...
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
2008-02-12 16:56:18 -07:00
Brian
cf94941122
Set Min/MaxLod with glTexParameterf, not glTexParameteri
2008-02-12 15:54:15 -07:00
Brian
edc7cfa6e6
Set Min/MaxLod with glTexParameterf, not glTexParameteri
2008-02-12 15:53:37 -07:00
Brian
74c32ee6aa
tweak incr/decrements amounts for keyboard options
2008-02-12 15:01:32 -07:00
Brian
fb3ca7ee2d
tweak incr/decrements amounts for keyboard options
2008-02-12 15:00:14 -07:00
Eric Anholt
745df749cc
Include glext.h in the cva test so that it actually uses CVAs.
2008-02-04 18:24:16 -08:00
Bruce Merry
2bf2a8cc6d
Convert to 0/1 when setting boolean uniforms
...
Also add some extra tests to the shader_api regression tests
2008-01-01 09:58:15 -07:00
Bruce Merry
239be839be
Add a test program to test for assorted bugs in shader_api.c
2008-01-01 09:58:15 -07:00
Roland Scheidegger
46c405663b
add simple test for two-sided stencil functionality
2007-12-11 15:38:34 +01:00
Brian
df198d24bc
added culling/wireframe options
2007-12-04 14:07:08 -07:00
Brian
ccb1c9df00
Print point/line size range limits
2007-11-22 09:34:38 -07:00
Brian
578641941f
test that point/line/quad rendering hits the right pixels
2007-11-09 17:02:51 -07:00
Brian
8b8a970593
test glStencilFuncSeparateATI()
2007-10-30 10:23:58 -06: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
Dan Nicholson
c05aa5ec4c
specify app lib dependencies in Makefiles (patch 1/3)
2007-10-29 09:03:01 -06: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
56af8fd00f
Fix progs/tests/ build with BSD make.
2007-09-24 10:26:56 -07:00
Eric Anholt
b74140db66
Update .gitignore for tests and xdemos.
2007-09-24 10:26:40 -07:00
Eric Anholt
9bb0d628b8
Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h.
2007-09-24 10:22:31 -07:00
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
2007-06-21 18:11:29 -06: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
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
2007-05-16 14:46:13 -07: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
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
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
Michel Dänzer
78a6e05439
mipmap_limits: Fix display of current texture filtering mode.
2006-12-14 11:01:38 +01:00
Michel Dänzer
14f92636b0
Make git ignore files only generated at build time.
2006-12-06 14:17:56 +01:00
Roland Scheidegger
22b74ff2b7
fix the gl version test
2006-11-22 19:37:21 +00:00
Brian Paul
036173e0d8
test OpenGL 2.0 stencil funcs
2006-11-02 15:47:30 +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
Brian Paul
0c46a12365
delete buffers, destroy window upon exit
2006-08-25 22:13:08 +00:00
Ian Romanick
5208d93a41
Add test for GL_EXT_gpu_program_parameters.
2006-08-15 16:44:32 +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
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
1ec9b5a5a9
fix extension_supported() function, added comments
2006-05-31 20:36:52 +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
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
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
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
6494541eaa
lots of debug options, some code movement, etc
2006-03-24 23:17:06 +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
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
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
f81c78f87d
delete frame/renderbuffers upon exit, more error checking
2005-11-17 02:08:10 +00:00
Brian Paul
32fe233d54
added -ds option to test GL_EXT_packed_depth_stencil with framebuffer objects
2005-11-16 14:48:11 +00:00
Ian Romanick
5ef524cd01
Two subtle things missed on the previous commit.
2005-11-15 01:55:46 +00:00
Ian Romanick
a163256cc2
Add the ability for interleave to test passing invalid format enums
...
and invalid stride values (see bugzilla #5058 ).
2005-11-15 01:46:49 +00:00
Ian Romanick
e5700a1ba3
Simple test of glInterleavedArrays functionality.
2005-11-14 23:31:05 +00:00
Ian Romanick
d7d41ceeb0
Add new test "texfilt". This test is a cousin to texwrap. Instead of
...
testing various texture wrap modes, this test examines various texture
filter modes, including anisotropic.
Add CFLAGS to a couple places in Makefile so that 32-bit builds on
64-bit archs will work correctly.
2005-10-28 18:41:03 +00:00
Eric Anholt
9eaed1178d
Add built programs to .cvsignore.
2005-10-26 09:53:38 +00:00
Eric Anholt
896735e412
Add a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program I
...
wrote for sis, which has also exposed a few bugs elsewhere.
2005-10-26 09:48:03 +00:00
Brian Paul
cf085db28a
Query/print GL_RED/GREEN/BLUE/ALPHA_BITS
2005-10-08 14:42:51 +00:00
Brian Paul
7edf1e80bd
glBindTexture changes, new assertions
2005-10-04 15:16:27 +00:00
Brian Paul
9e920fb93c
fix glIsRender/FramebufferEXT() assertions
2005-10-04 15:01:51 +00:00
Jouk Jansen
d997b90433
Committing in .
...
1) change compilation on VMS to use IEEE floating points
2) one more problem with _mesa_sprintf solved
Modified Files:
Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms
Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms
Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms
Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms
Mesa/src/mesa/array_cache/descrip.mms
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/drivers/osmesa/descrip.mms
Mesa/src/mesa/drivers/x11/descrip.mms
Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/shader/grammar/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/swrast/descrip.mms
Mesa/src/mesa/swrast_setup/descrip.mms
Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
2005-09-23 07:03:53 +00:00
Brian Paul
e64874ac2d
silence warning
2005-09-15 01:58:39 +00:00
Roland Scheidegger
0ca6715ba5
new demo to test ATI_fragment_shader, not very creative but easy to know if the output is correct. Tests single-pass as well as multi-pass shader (only pseudo-dependant texture read though, and no tex coord swizzling), src and dst modifiers, src repetition, dst masks, constants, and some ops. Both shaders run succesfully with swrast as well as r200.
2005-09-10 01:02:25 +00:00
Brian Paul
d545d916a8
make tiles a little smaller so they're all visible
2005-08-25 03:09:12 +00:00
Ian Romanick
b462855c24
Add simple regression test for bugzilla #3195 .
2005-08-18 19:52:44 +00:00
Brian Paul
c2c2600728
test the standard stencil op modes too (Philipp Klaus Krause)
2005-08-15 22:57:30 +00:00
Ian Romanick
38e2fa385d
Put back the glPopMatrix. This test was derived from blendminmax.c.
...
When extra code was cut from blendminmax.c's Display function, the
glPopMatrix call was also accidentally cut.
2005-07-07 20:43:01 +00:00
Ian Romanick
2550844c6e
Correct the comments in the file headers. Oops.
2005-07-07 19:35:30 +00:00
Ian Romanick
259f096ed8
Add regression test for bug #3101 .
2005-07-07 19:34:06 +00:00
Brian Paul
58a9573b08
added some glGetRenderbufferParameterivEXT calls, printfs, and assertions
2005-07-01 01:34:29 +00:00
Ian Romanick
4e1aae6e0e
Ignore files generated as part of the build process.
2005-06-24 18:54:57 +00:00
Ian Romanick
66a5548fbb
Mammoth update to the Python code generator scripts that live in
...
src/mesa/glapi. Basically, the scripts that did simple things (like
gl_offsets.py) were simple, and the scripts that did more complicated things
(like glX_proto_send.py) were getting progressively more and more out of
control. So, I re-write the foundation classes on which everything is based.
One problem with the existing code is that the division between the GL API
database representation and the way the output code is generated was either
blury or nonexistant. The new code somewhat follows the
Model-View-Controller pattern, minus the Controller. There is a distinct
set of classes that model the API data, and there is a distinct set of
classes that generate code from that data.
One big change is in the class that represents GL functions (was glFunction,
is now gl_function). There used to be an instance of this calls for each
function and for each alias to that function. For example, there was an
instance for PointParameterivSGIS, PointParameterivEXT, PointParameterivARB,
and PointParameteriv. In the new code, there is one instance. Each
instance has a list of entrypoint names for the function. In the next
revision, this will allow a couple useful things. The script will be able
to verify that the parameters, return type, and GLX protocol for a function
and all it's aliases match.
It will also allow aliases to be represented in the XML more compactly.
Instead of repeating all the information, an alias can be listed as:
<function name="PointParameterivARB" alias="PointParameterivEXT"/>
Because the data representation was changed, the order that the alias
functions are processed by the scripts also changed. This accounts for at
least 2,700 of the ~3,600 lines of diffs in the generated code.
Most of the remaining ~900 lines of diffs are the result of bugs *fixed* by
the new scripts. The old scripts also generated code with some bugs in it.
These bugs were discovered while the new code was being written.
These changes were discussed on the mesa3d-dev mailing list back at the end
of May:
http://marc.theaimsgroup.com/?t=111714569000004&r=1&w=2
Xorg bug: 3197, 3208
2005-06-21 23:42:43 +00:00
Adam Jackson
8f8e0f0b01
Use the 1.3 names for FogCoord*
2005-05-20 00:44:37 +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
Ian Romanick
7457a648d2
If setting GL_PACK_INVERT_MESA results in a GL error, log it.
2005-03-14 22:09:31 +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
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
Keith Whitwell
5aa1a111a4
Fix a couple of glitches
2004-12-10 17:18:00 +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
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
Ian Romanick
af0a4690db
Add simple test program for Mesa bug #1028405 .
2004-10-08 00:56:08 +00:00
Brian Paul
b45aaa2328
moved to demos/ directory
2004-09-24 23:01:21 +00:00
Brian Paul
1fd4a55d09
removed hacked GL tokens, fixed a printf
2004-09-23 17:32:12 +00:00
Brian Paul
47a6749b33
minor tweaks
2004-08-10 15:34:51 +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
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
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
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
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
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
Brian Paul
66fdc3c948
added floattex.c to test floating point textures
2004-04-22 01:10:09 +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
5c2040c768
minor fixes
2004-03-26 23:58:08 +00:00
Brian Paul
d6de4d8b33
new Makefile
2004-03-26 20:37:19 +00:00
Brian Paul
b87c5d08c7
added some code to test buffer deletion
2004-03-22 16:28:02 +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
Brian Paul
64d6ddabaa
remove incorrect negation in fog coord computation
2004-02-16 16:44:40 +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
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
469d1b0f22
Add glutInitWindowPosition call
2004-01-28 10:07:48 +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
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
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
35b52c72d0
added more debug code and tests
2003-10-21 14:56:53 +00:00
Brian Paul
4524274377
exercise more vertex buffer object functions
2003-10-14 15:49:12 +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
91253e7be5
more debugger development
2003-09-05 19:34:58 +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
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
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
9a2121cfb6
update for new directory tree
2003-06-10 14:54:37 +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
Brian Paul
c0eebd723f
test glProgramNamedParameter4fNV()
2003-04-05 00:38:40 +00:00
Brian Paul
c13a05547d
print GL_MULTISAMPLE_ARB
2003-03-29 16:42:57 +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
ec35842990
more parser test programs
2003-02-25 20:06:35 +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
4fc647c397
simple GL_NV_fragment_program test
2003-01-14 22:50:02 +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
36481524ba
simple GL_EXT_stencil_wrap test program
2002-10-31 15:25:07 +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
7c5282d2a8
minor updates
2002-10-15 14:43:55 +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
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
62954c8c30
test program for NV_vertex_program + vertex arrays
2002-04-22 15:53:54 +00:00
Jouk Jansen
43df32e438
Committing in .
...
-Compile support for tests on OpenVMS
-Fixed missing header file
-Fixed missing return value on function return
Modified Files:
Mesa/descrip.mms Mesa/tests/sharedtex.c
Added Files:
Mesa/tests/descrip.mms
----------------------------------------------------------------------
2002-01-16 14:32:46 +00:00
Karl Schultz
40fac75370
get tests working on windows (Robert Bergkvist)
2002-01-16 01:03:25 +00:00
Brian Paul
f48bfd66da
test multitexture and vertex arrays
2002-01-04 23:00:19 +00:00
Gareth Hughes
a0f923d286
Add missing items from .cvsignore files, tests/Makefile
2001-12-28 06:37:40 +00:00
Brian Paul
c11120270c
warp a quadmesh with a gravitational source via vertex program
2001-12-15 23:28:15 +00:00
Brian Paul
9cb3947c56
rotating, lit torus via vertex program
2001-12-15 22:33:59 +00:00
Brian Paul
797ea81d63
vertex program test program
2001-12-14 03:03:38 +00:00
Brian Paul
d4ece7b2f4
minor update
2001-11-21 17:21:41 +00:00
Brian Paul
17fe22d3bf
test for glXGetProcAddress()
2001-11-18 23:16:56 +00:00
Brian Paul
afe4f5e6c1
simple multi-window GLUT test prog
2001-08-21 14:25:31 +00:00
Brian Paul
300e1056f5
added multitexture support
2001-05-21 17:45:25 +00:00
Gareth Hughes
c5e907e501
Add new tests.
2001-05-07 14:16:19 +00:00
Brian Paul
77ff5e038a
b-key toggles between textures w/ and w/out border
2001-04-12 20:50:26 +00:00
Brian Paul
0bc933a460
test texture wrap modes
2001-03-26 19:45:57 +00:00
Brian Paul
a28fa45ab7
test 16-bit/channel rendering
2001-03-08 15:24:18 +00:00
Brian Paul
d395251b35
GL_EXT_secondary_color test
2001-03-05 17:50:35 +00:00
Brian Paul
d49081302a
GL_EXT_fog_coord test
2001-03-05 17:31:57 +00:00
Brian Paul
6140a8c65f
minor tweaks
2001-01-23 23:44:39 +00:00
Brian Paul
4e3e9ac8fb
added support for 4 texture units
2001-01-23 23:44:15 +00:00
Gareth Hughes
7853901372
Enable double-buffering, count not even multiple of three.
2000-11-30 03:06:56 +00:00
Brian Paul
a13fab59ae
added more programs
2000-11-18 17:13:04 +00:00
Brian Paul
ede37839ae
test texture palettes with multitexture
2000-11-18 17:12:33 +00:00
Brian Paul
9b5bb5939b
Mark Kilgard's reflection/shadow dino demo
2000-11-18 17:10:07 +00:00
Brian Paul
6b2eab1869
hacked demo to test multi-texture projective textures
2000-11-18 17:07:39 +00:00
Brian Paul
5605385194
fixed mipmap setup bug
2000-11-09 16:53:26 +00:00
Gareth Hughes
5f5632c424
Change transformation from ortho to perspective so we get the MGA elt
...
path by default.
2000-11-03 00:09:31 +00:00
Gareth Hughes
9f568e512f
Added trivial CVA test for testing HW driver fastpaths, good for testing
...
indexed vertex buffer implementations for instance.
Cleaned up Makefile to make building and adding more tests easier.
2000-11-01 03:14:12 +00:00
Brian Paul
6cdf09749c
Put a white texel in each corner of each texture.
...
Draw polygons using the texture's aspect ratio.
The tdfx-3-0-0 texcoord bug is obvious with the -randomsize option.
2000-10-23 23:32:22 +00:00
Brian Paul
22f1ca0131
textured line test
2000-09-30 18:48:33 +00:00
Brian Paul
e8a84a93aa
initial check-in
2000-09-01 21:01:18 +00:00
Brian Paul
ee2ef90b7f
test handling of lots of textures
2000-08-02 17:57:56 +00:00