Commit Graph

128885 Commits

Author SHA1 Message Date
Brian Paul 0d4393a38a Fix the problem found with UT after I had added support for glVertexAttrib.
The problem came from using the _glapi_Dispatch->VertexAttrib*fvNV pointers
since they can change from one glArrayElement call to the next.
2004-02-11 22:53:38 +00:00
Dave Airlie d4baed717f initialise VBLANK 2004-02-11 22:53:12 +00:00
Brian Paul 2020278d06 Do more bookkeeping of vertex buffer object reference counts.
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
2004-02-11 22:06:05 +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 0b87abd11b Initial pass at adding support for the new DRI driver interfaces to
the R200 driver.  Not as clean / well commented as it should / could be.
2004-02-11 08:11:58 +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
Roland Scheidegger faaf78aeb0 revert to version 1.18 for now to fix segfaults in some applications 2004-02-11 01:06:03 +00:00
Roland Scheidegger f64f940281 change lighting to use MULT instead of PREMULT (i.e. move some lighting color calculations to the GPU) 2004-02-10 23:52:18 +00:00
Brian Paul 53c50f1667 some useful matrix functions 2004-02-10 23:41:20 +00:00
Daniel Borca 22633805fa fixed back fxMesaGetCurrentContext to match MakeCurrent 2004-02-10 07:46:07 +00:00
Roland Scheidegger a1b9b1a440 Changed lighting to use SOURCE_MATERIAL instead of PREMULT (moves some light color calculations to the GPU). Two-side lighting fallback no longer needed and eliminated. 2004-02-10 02:20:29 +00:00
Daniel Borca 1440f73212 reorganized DMesa to fxMesa wrapper 2004-02-09 08:46:38 +00:00
Daniel Borca 89625ef634 deal with combine_ext refactor 2004-02-09 07:39:03 +00:00
Brian Paul 53ad036972 Restore some of the previous code for handling conventional vertex attributes
more efficiently.
Remove switches/conditionals from vertex attribute wrappers.
glMultiTexCoord is implemented in terms of glVertexAttrib.
2004-02-09 00:24:48 +00:00
Brian Paul 646dffd44d tweak solaris-x86-gcc and ggi targets 2004-02-08 17:17:09 +00:00
Brian Paul 0aa8a1062a Updated to handle generic vertex attributes accessed vi glArrayElement().
In fact, handle all conventional vertex attributes in terms of generic
attributes (execept for edge flags and color indexes).
2004-02-08 02:03:41 +00:00
Brian Paul 08a45d4d4f fully parameterize the macros for fixed-point arithmetic 2004-02-08 00:37:32 +00:00
Brian Paul 875f763c9f added an additional comment about mipmap generation 2004-02-08 00:36:56 +00:00
Brian Paul 529614cd1a implement Fake_glXCreateWindow() to fix bug #890894 2004-02-08 00:11:14 +00:00
Daniel Borca 54447772d5 removed MGA driver from DMesa 2004-02-07 10:56:13 +00:00
Daniel Borca d039b43e30 added NUL driver for DMesa 2004-02-07 10:54:36 +00:00
Ian Romanick 07d6a98359 Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.
2004-02-06 17:39:03 +00:00
Roland Scheidegger c71ee917e3 inform driver of changed wrap/filter parameters due to binding of nv_texrect texture 2004-02-06 15:27:42 +00:00
Roland Scheidegger 4c6b629b38 remove bogus check of texture target in R200TexParameter 2004-02-06 15:25:37 +00:00
Roland Scheidegger c2f28a3fd1 align blits for texture rectangles correctly, fix potential problem overwriting dma region 2004-02-06 15:24:51 +00:00
Roland Scheidegger 786e822cd4 fix potential problem overwriting dma region 2004-02-06 15:23:20 +00:00
Roland Scheidegger 531b59db3c remove bogus check of texture target in RadeonTexParameter 2004-02-06 15:20:59 +00:00
Brian Paul e5a94ba138 Added flags for _all_ extensions to the gl_extensions struct so that drivers
can disable any extension if necessary.
2004-02-06 02:01:47 +00:00
Brian Paul 1f3d9eedad added GLU_INCOMPATIBLE_GL_VERSION 2004-02-06 01:17:30 +00:00
Dave Airlie 74eeb37c00 fix missing include for SOLO build 2004-02-06 00:42:58 +00:00
Dave Airlie 6c7bb5ebbd Remove warnings from mach64 build, fix up some _SOLO stuff,
update to newer Mesa interfaces...
2004-02-06 00:16:26 +00:00
Dave Airlie 0fbeff2fa2 Initial mach64 driver import for DRI mach64-0-0-6 branch,
this compiles but I doubt it works but it is a better starting point
than the branch
2004-02-05 22:45:00 +00:00
Keith Whitwell 493e6e1e90 Add comments to make decyphering the faces easier 2004-02-05 17:36:02 +00:00
Brian Paul c2f739169e update function mangling and add comment about it to gl.h 2004-02-05 15:23:12 +00:00
Brian Paul e2e9dc221d bring in Keith's _math_matrix_ortho() compiler work-around 2004-02-05 15:05:09 +00:00
Dave Airlie 540bb3a830 fix ugly bug triggered by macro expansion 2004-02-05 06:39:20 +00:00
Brian Paul b3063ac398 fix glXChooseFBConfig bug 890167 2004-02-04 23:39:19 +00:00
Brian Paul ef18e23bf8 fix typo 2004-02-04 23:36:00 +00:00
Keith Whitwell 36ff43b596 Fix off-by-one in calculations for wrapped trifan, polygon primitives 2004-02-04 16:59:30 +00:00
Brian Paul b19cb627e0 fix stores to vertex state program registers 2004-02-04 15:44:53 +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 867fa0b572 another tweak to two-sided detection test 2004-02-04 03:34:30 +00:00
Brian Paul 609f35274c fix two-sided lighting / vertex program bug (#887330) 2004-02-04 03:00:42 +00:00
Brian Paul d761adad5d added Daniel Stone for getting CVS access 2004-02-03 23:36:59 +00:00
Brian Paul b6a9cb7095 another pbuffer demo (Andrew Lentvorski) 2004-02-03 16:23:38 +00:00
Brian Paul 20c831bb89 s/getenv/_mesa_getenv/ 2004-02-02 22:36:58 +00:00
Brian Paul b07d6a8158 updated list of env vars 2004-02-02 22:35:55 +00:00
Felix Kuehling cc5d045744 Include context.h in radeon_state.c. 2004-02-02 21:26:40 +00:00
Brian Paul 3a99674980 glXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option 2004-02-02 15:40:21 +00:00
Brian Paul 18a949000c tweak comments 2004-02-02 15:38:26 +00:00