Dave Airlie
7b6ceb5b12
remove vertex_stride_shift, fix up code to not need it
pirms 22 gadiem
Dave Airlie
da8337ed5e
fix up specular color/fog and triangle vertex retrieval
pirms 22 gadiem
Dave Airlie
9a78c29f7a
fixup vertex building code ..
pirms 22 gadiem
Dave Airlie
d2f0be152e
more updates , gears sorta works
pirms 22 gadiem
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.
pirms 22 gadiem
Dave Airlie
d4baed717f
initialise VBLANK
pirms 22 gadiem
Brian Paul
2020278d06
Do more bookkeeping of vertex buffer object reference counts.
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
pirms 22 gadiem
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.
pirms 22 gadiem
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.
pirms 22 gadiem
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.
pirms 22 gadiem
Roland Scheidegger
faaf78aeb0
revert to version 1.18 for now to fix segfaults in some applications
pirms 22 gadiem
Roland Scheidegger
f64f940281
change lighting to use MULT instead of PREMULT (i.e. move some lighting color calculations to the GPU)
pirms 22 gadiem
Brian Paul
53c50f1667
some useful matrix functions
pirms 22 gadiem
Daniel Borca
22633805fa
fixed back fxMesaGetCurrentContext to match MakeCurrent
pirms 22 gadiem
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.
pirms 22 gadiem
Daniel Borca
1440f73212
reorganized DMesa to fxMesa wrapper
pirms 22 gadiem
Daniel Borca
89625ef634
deal with combine_ext refactor
pirms 22 gadiem
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.
pirms 22 gadiem
Brian Paul
646dffd44d
tweak solaris-x86-gcc and ggi targets
pirms 22 gadiem
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).
pirms 22 gadiem
Brian Paul
08a45d4d4f
fully parameterize the macros for fixed-point arithmetic
pirms 22 gadiem
Brian Paul
875f763c9f
added an additional comment about mipmap generation
pirms 22 gadiem
Brian Paul
529614cd1a
implement Fake_glXCreateWindow() to fix bug #890894
pirms 22 gadiem
Daniel Borca
54447772d5
removed MGA driver from DMesa
pirms 22 gadiem
Daniel Borca
d039b43e30
added NUL driver for DMesa
pirms 22 gadiem
Ian Romanick
07d6a98359
Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.
pirms 22 gadiem
Roland Scheidegger
c71ee917e3
inform driver of changed wrap/filter parameters due to binding of nv_texrect texture
pirms 22 gadiem
Roland Scheidegger
4c6b629b38
remove bogus check of texture target in R200TexParameter
pirms 22 gadiem
Roland Scheidegger
c2f28a3fd1
align blits for texture rectangles correctly, fix potential problem overwriting dma region
pirms 22 gadiem
Roland Scheidegger
786e822cd4
fix potential problem overwriting dma region
pirms 22 gadiem
Roland Scheidegger
531b59db3c
remove bogus check of texture target in RadeonTexParameter
pirms 22 gadiem
Brian Paul
e5a94ba138
Added flags for _all_ extensions to the gl_extensions struct so that drivers
can disable any extension if necessary.
pirms 22 gadiem
Brian Paul
1f3d9eedad
added GLU_INCOMPATIBLE_GL_VERSION
pirms 22 gadiem
Dave Airlie
74eeb37c00
fix missing include for SOLO build
pirms 22 gadiem
Dave Airlie
6c7bb5ebbd
Remove warnings from mach64 build, fix up some _SOLO stuff,
update to newer Mesa interfaces...
pirms 22 gadiem
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
pirms 22 gadiem
Keith Whitwell
493e6e1e90
Add comments to make decyphering the faces easier
pirms 22 gadiem
Brian Paul
c2f739169e
update function mangling and add comment about it to gl.h
pirms 22 gadiem
Brian Paul
e2e9dc221d
bring in Keith's _math_matrix_ortho() compiler work-around
pirms 22 gadiem
Dave Airlie
540bb3a830
fix ugly bug triggered by macro expansion
pirms 22 gadiem
Brian Paul
b3063ac398
fix glXChooseFBConfig bug 890167
pirms 22 gadiem
Brian Paul
ef18e23bf8
fix typo
pirms 22 gadiem
Keith Whitwell
36ff43b596
Fix off-by-one in calculations for wrapped trifan, polygon primitives
pirms 22 gadiem
Brian Paul
b19cb627e0
fix stores to vertex state program registers
pirms 22 gadiem
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.
pirms 22 gadiem
Brian Paul
867fa0b572
another tweak to two-sided detection test
pirms 22 gadiem
Brian Paul
609f35274c
fix two-sided lighting / vertex program bug (#887330)
pirms 22 gadiem
Brian Paul
d761adad5d
added Daniel Stone for getting CVS access
pirms 22 gadiem
Brian Paul
b6a9cb7095
another pbuffer demo (Andrew Lentvorski)
pirms 22 gadiem
Brian Paul
20c831bb89
s/getenv/_mesa_getenv/
pirms 22 gadiem