Commit Graph

940 Commits

Author SHA1 Message Date
Brian Paul 9a43570f8c added xdemos/sharedtex.c test
Test that modifications to a texture object in one rendering context are seen
in a second rendering context.
Press 't' to change the texture's image/colors.
2008-04-30 14:45:58 -06:00
Brian Paul aef4ca647d disable GL_TEXTURE_1D at end of frame to fix failed assertion 2008-04-29 18:37:41 -06:00
Brian Paul b69eb0360a add missing glViewport calls 2008-04-11 08:59:39 -06:00
Brian 842b8b4c33 more make clean items 2008-04-09 22:30:42 -06:00
Brian 26f0b8f506 use InitUniforms() 2008-04-09 22:30:42 -06:00
Brian 2dca3373ae Replace duplicated code with new shaderutil.c functions 2008-04-09 22:30:42 -06:00
Brian 90caba3d76 shader utility functions 2008-04-09 22:30:42 -06:00
Kristian Høgsberg c016f329ab Only convert configs if screen creation was successful.
Thanks to Adam Jackson for pointing it out.
2008-04-08 18:31:07 -04:00
Brian c3240b5ff8 added glGetActiveUniform_func 2008-04-04 19:28:33 -06:00
Brian 40905c909d mesa: add missing glPush/PopMatrix() calls 2008-04-04 19:28:33 -06:00
Brian ae0ea14ff6 mesa: add missing glPush/PopMatrix() calls 2008-04-04 19:28:33 -06:00
Brian 96b4ac05be silence warning 2008-04-03 20:12:32 -06:00
Eric Anholt 227af94cce Add a couple of test apps for line/unfilled polygon clipping. 2008-03-27 11:57:08 -07:00
Eric Anholt bcb61987fb Fix xdemos build on FreeBSD: <sys/types.h> before <netinet/tcp.h> 2008-03-21 14:19:30 -07:00
Dan Nicholson f1e1267372 Fix include path for rain demo so glut.h is found 2008-03-11 06:24:56 -07:00
Jeremy Huddleston 7c7fece977 Darwin: Config/source fixes to now build glxdemo apps and OSMesa
Also added darwin-fat-32bit darwin-fat-all configs and deleted old darwin-x86ppc config
(cherry picked from commit 7120c0089d663a2b7e7b0c97da38f9bc233fbdd7)
2008-03-10 15:21:39 -07:00
Dan Nicholson ab5750f143 Ignore more demo programs 2008-03-10 12:36:10 -07:00
Kristian Høgsberg 51cd168da4 glxgears: oops, remove accidental commit of glFinish() hack. 2008-02-29 15:33:40 -05:00
Kristian Høgsberg 6cb3f5c4d8 Use __DRIextension mechanism providing loader functionality to the driver.
Instead of passing in a fixed struct, the loader now passes in a list
of __DRIextension structs, to advertise the functionality it can provide
to the driver.  Each extension is individually versioned and can be
extended or phased out as the interface develops.
2008-02-29 15:05:39 -05:00
José Fonseca 60159c1b09 Convert crlf->lf line endings.
Windows/DOS users should enable core.autocrlf from now on:

  git config --global core.autocrlf true
2008-02-28 16:34:32 +09:00
Dan Nicholson 8c8107118e Ignore glxgears_pixmap 2008-02-17 19:34:48 -08: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
Adam Jackson 4955325ae9 chmod a-x **/glslnoise.c 2008-02-15 15:05:42 -05:00
Kristian Høgsberg 5961ed5fbc Add GLXPixmap version of glxgears to show case new GLX Pixmap functionality. 2008-02-14 22:05:55 -05: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 edc7cfa6e6 Set Min/MaxLod with glTexParameterf, not glTexParameteri 2008-02-12 15:53:37 -07:00
Brian fb3ca7ee2d tweak incr/decrements amounts for keyboard options 2008-02-12 15:00:14 -07:00
Brian 76295f0c31 press 0,1,2,etc keys for specific bias values 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
Brian f09b2382e9 push out far clip plane to 200 2008-01-28 12:41:47 -07:00
Brian e7007c6fb0 Added d/D keys to change viewing distance, 'a' to toggle animation 2008-01-28 12:36:01 -07:00
Adam Jackson e1ae5b89fc glxinfo: Fix multisample visual reporting.
strstr() == 0 tests for the string _not_ being present.  Originally
Red Hat bug #351871.
2008-01-22 14:57:20 -05:00
Brian 6bd32cbcf3 Don't build yuvrect_client by default
Added 'extra' rule to build optional yuvrect_client, shape, xdemo programs
2008-01-22 07:57:33 -07:00
Brian 60dd3b1d9a remove unused var 2008-01-22 07:57:33 -07:00
Alexey Sokolov e58c365cda define M_PI if needed 2008-01-22 07:57:33 -07:00
Brian 6c0fc07d71 fix glUniform4f typo 2008-01-01 10:20:56 -07: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
Brian 88f1419f96 added glSecondaryColor3fv_func 2007-12-18 16:30:42 -07:00
Brian 83af4f3623 added two-side test 2007-12-18 16:25:48 -07:00
Brian 87002aba3b Test GL_VERTEX_PROGRAM_TWO_SIDE and frag shader gl_FrontFacing features 2007-12-18 16:24:19 -07:00
Brian caec2a79e6 added twoside demo 2007-12-18 16:24:19 -07:00
Brian 85f5e6d7b9 Fix a quadstrip front/back-face inconsistancy.
Only set front material colors to make it noticable if front/back-face
determination is incorrect anywhere.
2007-12-18 16:24:19 -07:00
Brian a5eb9e7b1b Build rain demo (Gonzo <andreas.wendleder@gmail.com>) 2007-12-14 14:35:18 -07:00
Roland Scheidegger 46c405663b add simple test for two-sided stencil functionality 2007-12-11 15:38:34 +01:00
Dan Nicholson f1efacb92b Make osdemos linking like other programs
Most of the programs list their dependencies on the Mesa libraries in
their Makefiles. This works with the default configuration where
APP_LIB_DEPS only lists external libraries. This changes the
linux-osmesa configs and the osdemos Makefile to follow that convention.

Some cleanup of the Makefile is also added to refer to the GL libraries
through the existing variables rather than hardcoding their names.
2007-12-07 14:10:27 -08:00
Brian 5b91ee27c0 Undo changes made to the toyball shaders in commit d19d0596da
This demo produces the expected results again.
2007-12-04 18:44:40 -07:00
Brian df198d24bc added culling/wireframe options 2007-12-04 14:07:08 -07:00
Brian 44c8dac0af better front-plane clip test 2007-11-30 09:08:58 -07:00
joukj a11b6f025c Updates of some OpenVMS makefiles. 2007-11-30 13:16:05 +01:00