Brian Paul
4e41eb1061
compute fog coord in eye space, not clip space
21 years ago
Brian Paul
09da0b8e66
A bit of an overhaul of the fog code.
glFogCoord didn't always work reliably.
ARB fragment program fog options work now.
Per-fragment fog computations are now perspective corrected.
21 years ago
Brian Paul
9a389d4bdb
define DO_FRAGMENT_FOG=1 to test fragment program fog option
21 years ago
Brian Paul
a60c89e8c8
added SPAN_W
21 years ago
Brian Paul
230ebaff2a
just some reformatting
21 years ago
Brian Paul
4250c7acac
some debug code
21 years ago
Brian Paul
5cd79f9267
added FogOption to fragment_program struct
21 years ago
Brian Paul
c2f6d6d092
added FixedToDouble() macro
21 years ago
Brian Paul
84b4a3a087
Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles
instead of GLfixed. (Justin Novosad)
21 years ago
Roland Scheidegger
bb1dcb4fad
texture env combine refactor (Andreas Stenglein), following the same principles as the refactored code already present in the R200 driver
21 years ago
Brian Paul
64d6ddabaa
remove incorrect negation in fog coord computation
21 years ago
Keith Whitwell
477363455d
Add _tnl_set_attr() to complement existing get_attr() call.
21 years ago
Keith Whitwell
7b5199e8a4
glutInitWindowPosition
21 years ago
Daniel Borca
45f4c5ec3b
cleanup and some WGL PIXELFORMAT issues
21 years ago
Daniel Borca
a49a08d014
fog_coord demo
21 years ago
Brian Paul
05ad3078a9
some code clean-ups
21 years ago
Brian Paul
7c4a61c57f
Minor clean-ups of variable scopes, initializations, etc.
New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size
and rasterization accuracy.
21 years ago
Keith Whitwell
0200947f5e
Remove debug
21 years ago
Keith Whitwell
964e5325bd
Make it easier for drivers to create "subclasses" of the existing
program struct hierarchy.
Add driver callbacks to enable the above and make it possible to track
more changes to program objects.
21 years ago
Brian Paul
70dacabfe5
added note about kernel modules
21 years ago
Ian Romanick
659dce40e2
Minor tweaks to get the fbconfig list returned by __driCreateNewScreen
to pass through filter_modes (in libGL) properly.
21 years ago
Brian Paul
9ad80a475d
info about precompiled libs for Solaris
21 years ago
Brian Paul
88bf038708
init secondary color to (0,0,0,1). remove some redundant initializations.
21 years ago
Brian Paul
85ad44b292
set buffer object default Usage and Access
21 years ago
Brian Paul
de47068b85
new comments, rename some stuff
21 years ago
Ian Romanick
71996ddbe1
Fix a problem that caused the new interface code to not actually be
used. Fix a couple problems that confound the fbconfig filtering code
in libGL.
21 years ago
Ian Romanick
0370d0829b
Enable use of new DRI interface in MGA driver.
21 years ago
Brian Paul
193d211a19
Minor re-org of state for fog and precision options.
21 years ago
Brian Paul
5396ab2742
bunch of assorted updates/changes
21 years ago
Dave Airlie
d03814f426
minor cleanups from t_dd_vb.c
21 years ago
Dave Airlie
7b6ceb5b12
remove vertex_stride_shift, fix up code to not need it
21 years ago
Dave Airlie
da8337ed5e
fix up specular color/fog and triangle vertex retrieval
21 years ago
Dave Airlie
9a78c29f7a
fixup vertex building code ..
21 years ago
Dave Airlie
d2f0be152e
more updates , gears sorta works
21 years ago
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.
21 years ago
Dave Airlie
d4baed717f
initialise VBLANK
21 years ago
Brian Paul
2020278d06
Do more bookkeeping of vertex buffer object reference counts.
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
21 years ago
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.
21 years ago
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.
21 years ago
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.
21 years ago
Roland Scheidegger
faaf78aeb0
revert to version 1.18 for now to fix segfaults in some applications
21 years ago
Roland Scheidegger
f64f940281
change lighting to use MULT instead of PREMULT (i.e. move some lighting color calculations to the GPU)
21 years ago
Brian Paul
53c50f1667
some useful matrix functions
21 years ago
Daniel Borca
22633805fa
fixed back fxMesaGetCurrentContext to match MakeCurrent
21 years ago
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.
21 years ago
Daniel Borca
1440f73212
reorganized DMesa to fxMesa wrapper
21 years ago
Daniel Borca
89625ef634
deal with combine_ext refactor
21 years ago
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.
21 years ago
Brian Paul
646dffd44d
tweak solaris-x86-gcc and ggi targets
21 years ago
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).
21 years ago