mesa.git
20 years agofix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions
Brian Paul [Thu, 26 Feb 2004 22:09:05 +0000 (22:09 +0000)]
fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions

20 years agofix library naming glitches (bug 904867)
Brian Paul [Thu, 26 Feb 2004 15:21:41 +0000 (15:21 +0000)]
fix library naming glitches (bug 904867)

20 years agoFix C/C++ calling conventions problem (Bug 904854)
Brian Paul [Thu, 26 Feb 2004 14:58:11 +0000 (14:58 +0000)]
Fix C/C++ calling conventions problem (Bug 904854)

20 years agoSet ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
Felix Kuehling [Thu, 26 Feb 2004 13:22:16 +0000 (13:22 +0000)]
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.

20 years agoAdapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex...
Felix Kuehling [Thu, 26 Feb 2004 12:19:41 +0000 (12:19 +0000)]
Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex formats.

20 years agoForgot to remove savagevb.h in last commit.
Felix Kuehling [Thu, 26 Feb 2004 01:00:00 +0000 (01:00 +0000)]
Forgot to remove savagevb.h in last commit.

20 years agoConverted vertex setup to use t_vertex.[ch].
Felix Kuehling [Thu, 26 Feb 2004 00:59:00 +0000 (00:59 +0000)]
Converted vertex setup to use t_vertex.[ch].

20 years agoCreate all the right modes for 16-bit screens.
Ian Romanick [Thu, 26 Feb 2004 00:33:22 +0000 (00:33 +0000)]
Create all the right modes for 16-bit screens.

20 years agoadded _tnl_allow_vertex/pixel_fog() calls
Brian Paul [Thu, 26 Feb 2004 00:28:03 +0000 (00:28 +0000)]
added _tnl_allow_vertex/pixel_fog() calls

20 years agoCall _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)
Felix Kuehling [Wed, 25 Feb 2004 20:47:46 +0000 (20:47 +0000)]
Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)

20 years agouse ABS(Z) when computing blend factors
Brian Paul [Wed, 25 Feb 2004 16:14:16 +0000 (16:14 +0000)]
use ABS(Z) when computing blend factors

20 years agocall _tnl_allow_pixel/vertex_fog() funcs
Brian Paul [Tue, 24 Feb 2004 16:11:30 +0000 (16:11 +0000)]
call _tnl_allow_pixel/vertex_fog() funcs

20 years agoturns out we probably need a _tnl_allow_pixel_fog() function afterall
Brian Paul [Tue, 24 Feb 2004 16:10:52 +0000 (16:10 +0000)]
turns out we probably need a _tnl_allow_pixel_fog() function afterall

20 years agojump through dispatch table instead of calling gl functions directly
Brian Paul [Tue, 24 Feb 2004 15:08:22 +0000 (15:08 +0000)]
jump through dispatch table instead of calling gl functions directly

20 years agofix incorrect texcoord attribute index
Brian Paul [Tue, 24 Feb 2004 14:59:26 +0000 (14:59 +0000)]
fix incorrect texcoord attribute index

20 years agoadded some GLAPIENTRY keywords, minor clean-ups
Brian Paul [Tue, 24 Feb 2004 14:47:01 +0000 (14:47 +0000)]
added some GLAPIENTRY keywords, minor clean-ups

20 years agos/transform/tnl/
Brian Paul [Tue, 24 Feb 2004 04:57:48 +0000 (04:57 +0000)]
s/transform/tnl/

20 years agoupgraded to version 22
Brian Paul [Tue, 24 Feb 2004 03:01:27 +0000 (03:01 +0000)]
upgraded to version 22

20 years agoYet another revision of _ae_update_state(). Issue both conventional AND
Brian Paul [Tue, 24 Feb 2004 02:49:43 +0000 (02:49 +0000)]
Yet another revision of _ae_update_state().  Issue both conventional AND
generic vertex attribute commands, ignoring ctx->VertexProgram.Enabled
since this function may be used during display list compilation.

20 years agoadded some const keywords
Brian Paul [Tue, 24 Feb 2004 02:47:05 +0000 (02:47 +0000)]
added some const keywords

20 years agoglDrawArrays loop was wrong
Brian Paul [Tue, 24 Feb 2004 02:42:46 +0000 (02:42 +0000)]
glDrawArrays loop was wrong

20 years agoupdates from Erdi Chen
Brian Paul [Mon, 23 Feb 2004 21:07:12 +0000 (21:07 +0000)]
updates from Erdi Chen

20 years agofix typo (Matt Case)
Brian Paul [Mon, 23 Feb 2004 20:26:58 +0000 (20:26 +0000)]
fix typo (Matt Case)

20 years agoThe available GLX version is now logged in addition to the client
Ian Romanick [Mon, 23 Feb 2004 17:37:36 +0000 (17:37 +0000)]
The available GLX version is now logged in addition to the client
version and the server version.

20 years agodelete the textures
Dave Airlie [Mon, 23 Feb 2004 06:35:22 +0000 (06:35 +0000)]
delete the textures

20 years agoImported the Savage DRI driver from the savage-2-0-0-branch of DRI CVS
Felix Kuehling [Sun, 22 Feb 2004 16:11:12 +0000 (16:11 +0000)]
Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVS
with modifications to make it work with current Mesa 6.

20 years agosome minor tweaks
Brian Paul [Sat, 21 Feb 2004 18:08:41 +0000 (18:08 +0000)]
some minor tweaks

20 years agofixed some typos
Daniel Borca [Fri, 20 Feb 2004 09:47:42 +0000 (09:47 +0000)]
fixed some typos

20 years agoRefactored several variables out of XMesaVisual in favor of identical
Ian Romanick [Thu, 19 Feb 2004 00:57:04 +0000 (00:57 +0000)]
Refactored several variables out of XMesaVisual in favor of identical
fields in __GLcontextModes (the base type).  Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.

20 years agorecent bug fixes/changes (fog, glArrayElement, triangle rasterization)
Brian Paul [Tue, 17 Feb 2004 23:38:05 +0000 (23:38 +0000)]
recent bug fixes/changes (fog, glArrayElement, triangle rasterization)

20 years agoA few more tweaks to fog code.
Brian Paul [Tue, 17 Feb 2004 22:14:18 +0000 (22:14 +0000)]
A few more tweaks to fog code.
Remove unneeded FABSF() macros.
Added blend factor clamping in a few spots.

20 years agocompute fog coord in eye space, not clip space
Brian Paul [Tue, 17 Feb 2004 22:00:45 +0000 (22:00 +0000)]
compute fog coord in eye space, not clip space

20 years agoA bit of an overhaul of the fog code.
Brian Paul [Tue, 17 Feb 2004 21:03:03 +0000 (21:03 +0000)]
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.

20 years agodefine DO_FRAGMENT_FOG=1 to test fragment program fog option
Brian Paul [Tue, 17 Feb 2004 17:59:59 +0000 (17:59 +0000)]
define DO_FRAGMENT_FOG=1 to test fragment program fog option

20 years agoadded SPAN_W
Brian Paul [Tue, 17 Feb 2004 14:08:23 +0000 (14:08 +0000)]
added SPAN_W

20 years agojust some reformatting
Brian Paul [Tue, 17 Feb 2004 04:28:37 +0000 (04:28 +0000)]
just some reformatting

20 years agosome debug code
Brian Paul [Tue, 17 Feb 2004 04:26:42 +0000 (04:26 +0000)]
some debug code

20 years agoadded FogOption to fragment_program struct
Brian Paul [Tue, 17 Feb 2004 04:25:24 +0000 (04:25 +0000)]
added FogOption to fragment_program struct

20 years agoadded FixedToDouble() macro
Brian Paul [Tue, 17 Feb 2004 04:24:52 +0000 (04:24 +0000)]
added FixedToDouble() macro

20 years agoAdded TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles
Brian Paul [Tue, 17 Feb 2004 03:51:47 +0000 (03:51 +0000)]
Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles
instead of GLfixed. (Justin Novosad)

20 years agotexture env combine refactor (Andreas Stenglein), following the same principles as...
Roland Scheidegger [Mon, 16 Feb 2004 17:34:03 +0000 (17:34 +0000)]
texture env combine refactor (Andreas Stenglein), following the same principles as the refactored code already present in the R200 driver

20 years agoremove incorrect negation in fog coord computation
Brian Paul [Mon, 16 Feb 2004 16:44:40 +0000 (16:44 +0000)]
remove incorrect negation in fog coord computation

20 years agoAdd _tnl_set_attr() to complement existing get_attr() call.
Keith Whitwell [Mon, 16 Feb 2004 15:15:24 +0000 (15:15 +0000)]
Add _tnl_set_attr() to complement existing get_attr() call.

20 years agoglutInitWindowPosition
Keith Whitwell [Mon, 16 Feb 2004 14:45:56 +0000 (14:45 +0000)]
glutInitWindowPosition

20 years agocleanup and some WGL PIXELFORMAT issues
Daniel Borca [Mon, 16 Feb 2004 07:32:27 +0000 (07:32 +0000)]
cleanup and some WGL PIXELFORMAT issues

20 years agofog_coord demo
Daniel Borca [Mon, 16 Feb 2004 07:31:29 +0000 (07:31 +0000)]
fog_coord demo

20 years agosome code clean-ups
Brian Paul [Sun, 15 Feb 2004 17:45:17 +0000 (17:45 +0000)]
some code clean-ups

20 years agoMinor clean-ups of variable scopes, initializations, etc.
Brian Paul [Sun, 15 Feb 2004 16:21:07 +0000 (16:21 +0000)]
Minor clean-ups of variable scopes, initializations, etc.
New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size
and rasterization accuracy.

20 years agoRemove debug
Keith Whitwell [Sat, 14 Feb 2004 15:49:55 +0000 (15:49 +0000)]
Remove debug

20 years agoMake it easier for drivers to create "subclasses" of the existing
Keith Whitwell [Sat, 14 Feb 2004 15:00:42 +0000 (15:00 +0000)]
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.

20 years agoadded note about kernel modules
Brian Paul [Fri, 13 Feb 2004 18:29:42 +0000 (18:29 +0000)]
added note about kernel modules

20 years agoMinor tweaks to get the fbconfig list returned by __driCreateNewScreen
Ian Romanick [Fri, 13 Feb 2004 17:38:41 +0000 (17:38 +0000)]
Minor tweaks to get the fbconfig list returned by __driCreateNewScreen
to pass through filter_modes (in libGL) properly.

20 years agoinfo about precompiled libs for Solaris
Brian Paul [Fri, 13 Feb 2004 15:50:13 +0000 (15:50 +0000)]
info about precompiled libs for Solaris

20 years agoinit secondary color to (0,0,0,1). remove some redundant initializations.
Brian Paul [Fri, 13 Feb 2004 15:30:08 +0000 (15:30 +0000)]
init secondary color to (0,0,0,1).  remove some redundant initializations.

20 years agoset buffer object default Usage and Access
Brian Paul [Fri, 13 Feb 2004 14:04:26 +0000 (14:04 +0000)]
set buffer object default Usage and Access

20 years agonew comments, rename some stuff
Brian Paul [Fri, 13 Feb 2004 03:00:11 +0000 (03:00 +0000)]
new comments, rename some stuff

20 years agoFix a problem that caused the new interface code to not actually be
Ian Romanick [Thu, 12 Feb 2004 23:03:19 +0000 (23:03 +0000)]
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.

20 years agoEnable use of new DRI interface in MGA driver.
Ian Romanick [Thu, 12 Feb 2004 22:59:03 +0000 (22:59 +0000)]
Enable use of new DRI interface in MGA driver.

20 years agoMinor re-org of state for fog and precision options.
Brian Paul [Thu, 12 Feb 2004 21:57:29 +0000 (21:57 +0000)]
Minor re-org of state for fog and precision options.

20 years agobunch of assorted updates/changes
Brian Paul [Thu, 12 Feb 2004 14:48:52 +0000 (14:48 +0000)]
bunch of assorted updates/changes

20 years agominor cleanups from t_dd_vb.c
Dave Airlie [Thu, 12 Feb 2004 12:05:54 +0000 (12:05 +0000)]
minor cleanups from t_dd_vb.c

20 years agoremove vertex_stride_shift, fix up code to not need it
Dave Airlie [Thu, 12 Feb 2004 11:52:38 +0000 (11:52 +0000)]
remove vertex_stride_shift, fix up code to not need it

20 years agofix up specular color/fog and triangle vertex retrieval
Dave Airlie [Thu, 12 Feb 2004 11:20:29 +0000 (11:20 +0000)]
fix up specular color/fog and triangle vertex retrieval

20 years agofixup vertex building code ..
Dave Airlie [Thu, 12 Feb 2004 06:39:57 +0000 (06:39 +0000)]
fixup vertex building code ..

20 years agomore updates , gears sorta works
Dave Airlie [Thu, 12 Feb 2004 01:57:43 +0000 (01:57 +0000)]
more updates , gears sorta works

20 years agoFix the problem found with UT after I had added support for glVertexAttrib.
Brian Paul [Wed, 11 Feb 2004 22:53:38 +0000 (22:53 +0000)]
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.

20 years agoinitialise VBLANK
Dave Airlie [Wed, 11 Feb 2004 22:53:12 +0000 (22:53 +0000)]
initialise VBLANK

20 years agoDo more bookkeeping of vertex buffer object reference counts.
Brian Paul [Wed, 11 Feb 2004 22:06:05 +0000 (22:06 +0000)]
Do more bookkeeping of vertex buffer object reference counts.
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).

20 years agoAdded a test case for Mesa bug #508473 that I wrote a long time ago.
Ian Romanick [Wed, 11 Feb 2004 20:16:26 +0000 (20:16 +0000)]
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.

20 years agoInitial pass at adding support for the new DRI driver interfaces to
Ian Romanick [Wed, 11 Feb 2004 08:11:58 +0000 (08:11 +0000)]
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.

20 years agoAdded yet another version of gears. This one uses fbconfigs, and is a
Ian Romanick [Wed, 11 Feb 2004 08:00:42 +0000 (08:00 +0000)]
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.

20 years agorevert to version 1.18 for now to fix segfaults in some applications
Roland Scheidegger [Wed, 11 Feb 2004 01:06:03 +0000 (01:06 +0000)]
revert to version 1.18 for now to fix segfaults in some applications

20 years agochange lighting to use MULT instead of PREMULT (i.e. move some lighting color calcula...
Roland Scheidegger [Tue, 10 Feb 2004 23:52:18 +0000 (23:52 +0000)]
change lighting to use MULT instead of PREMULT (i.e. move some lighting color calculations to the GPU)

20 years agosome useful matrix functions
Brian Paul [Tue, 10 Feb 2004 23:41:20 +0000 (23:41 +0000)]
some useful matrix functions

20 years agofixed back fxMesaGetCurrentContext to match MakeCurrent
Daniel Borca [Tue, 10 Feb 2004 07:46:07 +0000 (07:46 +0000)]
fixed back fxMesaGetCurrentContext to match MakeCurrent

20 years agoChanged lighting to use SOURCE_MATERIAL instead of PREMULT (moves some light color...
Roland Scheidegger [Tue, 10 Feb 2004 02:20:29 +0000 (02:20 +0000)]
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.

20 years agoreorganized DMesa to fxMesa wrapper
Daniel Borca [Mon, 9 Feb 2004 08:46:38 +0000 (08:46 +0000)]
reorganized DMesa to fxMesa wrapper

20 years agodeal with combine_ext refactor
Daniel Borca [Mon, 9 Feb 2004 07:39:03 +0000 (07:39 +0000)]
deal with combine_ext refactor

20 years agoRestore some of the previous code for handling conventional vertex attributes
Brian Paul [Mon, 9 Feb 2004 00:24:48 +0000 (00:24 +0000)]
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.

20 years agotweak solaris-x86-gcc and ggi targets
Brian Paul [Sun, 8 Feb 2004 17:17:09 +0000 (17:17 +0000)]
tweak solaris-x86-gcc and ggi targets

20 years agoUpdated to handle generic vertex attributes accessed vi glArrayElement().
Brian Paul [Sun, 8 Feb 2004 02:03:41 +0000 (02:03 +0000)]
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).

20 years agofully parameterize the macros for fixed-point arithmetic
Brian Paul [Sun, 8 Feb 2004 00:37:32 +0000 (00:37 +0000)]
fully parameterize the macros for fixed-point arithmetic

20 years agoadded an additional comment about mipmap generation
Brian Paul [Sun, 8 Feb 2004 00:36:56 +0000 (00:36 +0000)]
added an additional comment about mipmap generation

20 years agoimplement Fake_glXCreateWindow() to fix bug #890894
Brian Paul [Sun, 8 Feb 2004 00:11:14 +0000 (00:11 +0000)]
implement Fake_glXCreateWindow() to fix bug #890894

20 years agoremoved MGA driver from DMesa
Daniel Borca [Sat, 7 Feb 2004 10:56:13 +0000 (10:56 +0000)]
removed MGA driver from DMesa

20 years agoadded NUL driver for DMesa
Daniel Borca [Sat, 7 Feb 2004 10:54:36 +0000 (10:54 +0000)]
added NUL driver for DMesa

20 years agoRefactor "class" texture environments to be implemented in terms of
Ian Romanick [Fri, 6 Feb 2004 17:39:03 +0000 (17:39 +0000)]
Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.

20 years agoinform driver of changed wrap/filter parameters due to binding of nv_texrect texture
Roland Scheidegger [Fri, 6 Feb 2004 15:27:42 +0000 (15:27 +0000)]
inform driver of changed wrap/filter parameters due to binding of nv_texrect texture

20 years agoremove bogus check of texture target in R200TexParameter
Roland Scheidegger [Fri, 6 Feb 2004 15:25:37 +0000 (15:25 +0000)]
remove bogus check of texture target in R200TexParameter

20 years agoalign blits for texture rectangles correctly, fix potential problem overwriting dma...
Roland Scheidegger [Fri, 6 Feb 2004 15:24:51 +0000 (15:24 +0000)]
align blits for texture rectangles correctly, fix potential problem overwriting dma region

20 years agofix potential problem overwriting dma region
Roland Scheidegger [Fri, 6 Feb 2004 15:23:20 +0000 (15:23 +0000)]
fix potential problem overwriting dma region

20 years agoremove bogus check of texture target in RadeonTexParameter
Roland Scheidegger [Fri, 6 Feb 2004 15:20:59 +0000 (15:20 +0000)]
remove bogus check of texture target in RadeonTexParameter

20 years agoAdded flags for _all_ extensions to the gl_extensions struct so that drivers
Brian Paul [Fri, 6 Feb 2004 02:01:47 +0000 (02:01 +0000)]
Added flags for _all_ extensions to the gl_extensions struct so that drivers
can disable any extension if necessary.

20 years agoadded GLU_INCOMPATIBLE_GL_VERSION
Brian Paul [Fri, 6 Feb 2004 01:17:30 +0000 (01:17 +0000)]
added GLU_INCOMPATIBLE_GL_VERSION

20 years agofix missing include for SOLO build
Dave Airlie [Fri, 6 Feb 2004 00:42:58 +0000 (00:42 +0000)]
fix missing include for SOLO build

20 years agoRemove warnings from mach64 build, fix up some _SOLO stuff,
Dave Airlie [Fri, 6 Feb 2004 00:16:26 +0000 (00:16 +0000)]
Remove warnings from mach64 build, fix up some _SOLO stuff,
update to newer Mesa interfaces...

20 years agoInitial mach64 driver import for DRI mach64-0-0-6 branch,
Dave Airlie [Thu, 5 Feb 2004 22:45:00 +0000 (22:45 +0000)]
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

20 years agoAdd comments to make decyphering the faces easier
Keith Whitwell [Thu, 5 Feb 2004 17:36:02 +0000 (17:36 +0000)]
Add comments to make decyphering the faces easier

20 years agoupdate function mangling and add comment about it to gl.h
Brian Paul [Thu, 5 Feb 2004 15:23:12 +0000 (15:23 +0000)]
update function mangling and add comment about it to gl.h

20 years agobring in Keith's _math_matrix_ortho() compiler work-around
Brian Paul [Thu, 5 Feb 2004 15:05:09 +0000 (15:05 +0000)]
bring in Keith's _math_matrix_ortho() compiler work-around