summaryrefslogtreecommitdiff
path: root/progs/tests
AgeCommit message (Collapse)Author
2005-09-10new demo to test ATI_fragment_shader, not very creative but easy to know if ↵Roland Scheidegger
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-08-25make tiles a little smaller so they're all visibleBrian Paul
2005-08-18Add simple regression test for bugzilla #3195.Ian Romanick
2005-08-15test the standard stencil op modes too (Philipp Klaus Krause)Brian Paul
2005-07-07Put back the glPopMatrix. This test was derived from blendminmax.c.Ian Romanick
When extra code was cut from blendminmax.c's Display function, the glPopMatrix call was also accidentally cut.
2005-07-07Correct the comments in the file headers. Oops.Ian Romanick
2005-07-07Add regression test for bug #3101.Ian Romanick
2005-07-01added some glGetRenderbufferParameterivEXT calls, printfs, and assertionsBrian Paul
2005-06-24Ignore files generated as part of the build process.Ian Romanick
2005-06-21Mammoth update to the Python code generator scripts that live inIan Romanick
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-05-20Use the 1.3 names for FogCoord*Adam Jackson
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-03-14If setting GL_PACK_INVERT_MESA results in a GL error, log it.Ian Romanick
2005-02-14Simple test for GL_MESA_pack_invert.Ian Romanick
2005-02-09Simple test for ARB_texture_env_crossbar functionality. It is difficultIan Romanick
to come up with good tests for this functionality that don't require either ATI_texture_env_combine3 or NV_texture_env_combine4.
2005-01-24reenable some assertionsBrian Paul
2005-01-19added texobjshare.cBrian Paul
2005-01-19test program for texture sharing, deleting, etcBrian Paul
2005-01-19glVertex* is the provoking "cmd" (that is, by the time of glVertex*, we must ↵Daniel Borca
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.
2004-12-10Fix a couple of glitchesKeith Whitwell
2004-12-08Demonstrate using a color matrix for yuv-to-rgb conversion at textureKeith Whitwell
upload time.
2004-12-01Prevent possible divide-by-zero error.Ian Romanick
2004-11-30EXT_422_pixels testKeith Whitwell
2004-11-27silence warningsBrian Paul
2004-11-04Add EXT_stencil_wrap test that doesn't depend on stencil read-backIan Romanick
functioning.
2004-10-31unbind GL_PIXEL_UNPACK_BUFFER_EXT before calling glBitmap!Brian Paul
2004-10-29remove debug codeBrian Paul
2004-10-29Updated getprocaddress test to use gl_API.xml instead of old APIspec file.Brian Paul
2004-10-08Add simple test program for Mesa bug #1028405.Ian Romanick
2004-09-24moved to demos/ directoryBrian Paul
2004-09-23removed hacked GL tokens, fixed a printfBrian Paul
2004-08-10minor tweaksBrian Paul
2004-06-28make sure Q has a good value before drawing a sampleBrian Paul
2004-06-25new test which uses mixed texgen/non-texgen texture coordinates to exhibit ↵Roland Scheidegger
potential bugs in hardware drivers
2004-06-17Make the test check for core GL version 1.3 in addition to testing forIan Romanick
GL_ARB_texture_compression. Also make the test list the compression formats the driver "encourages" the app to use.
2004-05-26Minor code simplification.Ian Romanick
2004-05-26Test the overhead of just calling a GL function. The Python script isIan Romanick
a helper to do multiple runs and compare the results.
2004-05-12Test program to check that packed pixel formats work as expected withBrian Paul
glTexImage2D. All samples should appear identical. Press f/F to change the internal texture format.
2004-05-11Added a 4th square to the output. Expanded the message written to theIan Romanick
console.
2004-05-11Added simple EXT_blend_minmax test.Ian Romanick
2004-05-11Added simple NV_blend_square test.Ian Romanick
2004-05-06Added menu options to test border modes and linear/nearest filtering.Brian Paul
Adjust texcoords so we always have to sample the border. Other misc changes.
2004-05-04texture compression: getting warmerDaniel Borca
2004-04-29FXT1 preparationsDaniel Borca
2004-04-23assorted fixesBrian Paul
2004-04-22added floattex.c to test floating point texturesBrian Paul
2004-04-22obsoleteBrian Paul
2004-04-20removed non-existant arbfpwpos.c, added UTIL_FILES targetBrian Paul
2004-04-18hack to use glTexCoord4f and Q variable to test projective texcoordsBrian Paul
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
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.