mesa.git
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

20 years agofix ugly bug triggered by macro expansion
Dave Airlie [Thu, 5 Feb 2004 06:39:20 +0000 (06:39 +0000)]
fix ugly bug triggered by macro expansion

20 years agofix glXChooseFBConfig bug 890167
Brian Paul [Wed, 4 Feb 2004 23:39:19 +0000 (23:39 +0000)]
fix glXChooseFBConfig bug 890167

20 years agofix typo
Brian Paul [Wed, 4 Feb 2004 23:36:00 +0000 (23:36 +0000)]
fix typo

20 years agoFix off-by-one in calculations for wrapped trifan, polygon primitives
Keith Whitwell [Wed, 4 Feb 2004 16:59:30 +0000 (16:59 +0000)]
Fix off-by-one in calculations for wrapped trifan, polygon primitives

20 years agofix stores to vertex state program registers
Brian Paul [Wed, 4 Feb 2004 15:44:53 +0000 (15:44 +0000)]
fix stores to vertex state program registers

20 years agoUse quads instead of lines to ensure this is testing stencil functionality
Keith Whitwell [Wed, 4 Feb 2004 15:27:39 +0000 (15:27 +0000)]
Use quads instead of lines to ensure this is testing stencil functionality
rather than rasterization.  A crutch to hw with wonky line
rasterizers.

20 years agoanother tweak to two-sided detection test
Brian Paul [Wed, 4 Feb 2004 03:34:30 +0000 (03:34 +0000)]
another tweak to two-sided detection test

20 years agofix two-sided lighting / vertex program bug (#887330)
Brian Paul [Wed, 4 Feb 2004 03:00:42 +0000 (03:00 +0000)]
fix two-sided lighting / vertex program bug (#887330)

20 years agoadded Daniel Stone for getting CVS access
Brian Paul [Tue, 3 Feb 2004 23:36:59 +0000 (23:36 +0000)]
added Daniel Stone for getting CVS access

20 years agoanother pbuffer demo (Andrew Lentvorski)
Brian Paul [Tue, 3 Feb 2004 16:23:38 +0000 (16:23 +0000)]
another pbuffer demo (Andrew Lentvorski)

20 years agos/getenv/_mesa_getenv/
Brian Paul [Mon, 2 Feb 2004 22:36:58 +0000 (22:36 +0000)]
s/getenv/_mesa_getenv/

20 years agoupdated list of env vars
Brian Paul [Mon, 2 Feb 2004 22:35:55 +0000 (22:35 +0000)]
updated list of env vars

20 years agoInclude context.h in radeon_state.c.
Felix Kuehling [Mon, 2 Feb 2004 21:26:40 +0000 (21:26 +0000)]
Include context.h in radeon_state.c.

20 years agoglXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option
Brian Paul [Mon, 2 Feb 2004 15:40:21 +0000 (15:40 +0000)]
glXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option

20 years agotweak comments
Brian Paul [Mon, 2 Feb 2004 15:38:26 +0000 (15:38 +0000)]
tweak comments

20 years agoadded glutGetProcAddress in DMesaGLUT
Daniel Borca [Mon, 2 Feb 2004 07:47:23 +0000 (07:47 +0000)]
added glutGetProcAddress in DMesaGLUT

20 years agofixed a bug in GL_NEAREST sampler
Daniel Borca [Mon, 2 Feb 2004 07:46:27 +0000 (07:46 +0000)]
fixed a bug in GL_NEAREST sampler

20 years agoadded display list option (l key)
Brian Paul [Sat, 31 Jan 2004 19:57:25 +0000 (19:57 +0000)]
added display list option (l key)

20 years agominor #ifdef fix
Brian Paul [Sat, 31 Jan 2004 19:49:10 +0000 (19:49 +0000)]
minor #ifdef fix

20 years agoadded _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug)
Brian Paul [Sat, 31 Jan 2004 19:39:04 +0000 (19:39 +0000)]
added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug)

20 years agoadd vparray.c, fix indentation
Brian Paul [Sat, 31 Jan 2004 19:15:57 +0000 (19:15 +0000)]
add vparray.c, fix indentation

20 years agoenable program and arrays by default, minor clean-ups
Brian Paul [Sat, 31 Jan 2004 19:15:43 +0000 (19:15 +0000)]
enable program and arrays by default, minor clean-ups

20 years agodon't call gl functions directly, jump through _glapi_Dispatch table
Brian Paul [Sat, 31 Jan 2004 19:08:45 +0000 (19:08 +0000)]
don't call gl functions directly, jump through _glapi_Dispatch table

20 years agoadd missing CXX, CXXFLAGS for osf1 (Bug 886628)
Brian Paul [Sat, 31 Jan 2004 17:12:19 +0000 (17:12 +0000)]
add missing CXX, CXXFLAGS for osf1 (Bug 886628)

20 years agoglBindProgramARB wasn't getting compiled into display lists (bug 887383)
Brian Paul [Fri, 30 Jan 2004 23:36:35 +0000 (23:36 +0000)]
glBindProgramARB wasn't getting compiled into display lists (bug 887383)

20 years agoadded unichrome directory
Brian Paul [Fri, 30 Jan 2004 23:32:19 +0000 (23:32 +0000)]
added unichrome directory

20 years agoMinor fixes for recent Mesa 6.1 changes
Brian Paul [Fri, 30 Jan 2004 23:31:51 +0000 (23:31 +0000)]
Minor fixes for recent Mesa 6.1 changes

20 years agoVia Unichrome/cle266 driver (Erdi Chen)
Brian Paul [Fri, 30 Jan 2004 23:26:19 +0000 (23:26 +0000)]
Via Unichrome/cle266 driver (Erdi Chen)

20 years agomore descriptive error strings
Brian Paul [Fri, 30 Jan 2004 17:39:11 +0000 (17:39 +0000)]
more descriptive error strings

20 years agoFix extract_3f_xyw().
Keith Whitwell [Fri, 30 Jan 2004 11:16:12 +0000 (11:16 +0000)]
Fix extract_3f_xyw().

20 years agoreplace spaces w/ tabs
Brian Paul [Thu, 29 Jan 2004 16:32:18 +0000 (16:32 +0000)]
replace spaces w/ tabs

20 years agoGL_TEXTURE_1D and other stories...
Daniel Borca [Thu, 29 Jan 2004 15:46:02 +0000 (15:46 +0000)]
GL_TEXTURE_1D and other stories...

20 years agomore IRIX tweaks
Brian Paul [Thu, 29 Jan 2004 15:21:47 +0000 (15:21 +0000)]
more IRIX tweaks

20 years agofix ARCHOPT typo
Brian Paul [Thu, 29 Jan 2004 14:46:16 +0000 (14:46 +0000)]
fix ARCHOPT typo

20 years agofix C++ link issues on IRIX
Brian Paul [Wed, 28 Jan 2004 22:54:33 +0000 (22:54 +0000)]
fix C++ link issues on IRIX

20 years agoAdd GLAPIENTRY function decorations for correct operation on Windows.
Karl Schultz [Wed, 28 Jan 2004 22:24:12 +0000 (22:24 +0000)]
Add GLAPIENTRY function decorations for correct operation on Windows.

20 years agotweak the #if test for defining _ASMAPI (fixes IRIX problem)
Brian Paul [Wed, 28 Jan 2004 22:01:47 +0000 (22:01 +0000)]
tweak the #if test for defining _ASMAPI (fixes IRIX problem)

20 years agominor fixes to glw's touch depend
Brian Paul [Wed, 28 Jan 2004 22:00:13 +0000 (22:00 +0000)]
minor fixes to glw's touch depend

20 years agoFix compiler options regarding exception handing to resolve warnings.
Karl Schultz [Wed, 28 Jan 2004 19:46:12 +0000 (19:46 +0000)]
Fix compiler options regarding exception handing to resolve warnings.

20 years agoAvoid setting NOWIN98 compiler optimization with VC 7.
Karl Schultz [Wed, 28 Jan 2004 19:00:34 +0000 (19:00 +0000)]
Avoid setting NOWIN98 compiler optimization with VC 7.

20 years agoFixed a cut-and-paste bug from the BlendFuncSeparate driver interface
Ian Romanick [Wed, 28 Jan 2004 17:35:49 +0000 (17:35 +0000)]
Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface
change.

20 years agofix printf warnings
Alan Hourihane [Wed, 28 Jan 2004 16:28:53 +0000 (16:28 +0000)]
fix printf warnings

20 years agopatch from bug 885992
Brian Paul [Wed, 28 Jan 2004 15:15:14 +0000 (15:15 +0000)]
patch from bug 885992

20 years agos/BlendEquatioRGB/BlendEquationRGB/
Brian Paul [Wed, 28 Jan 2004 15:14:09 +0000 (15:14 +0000)]
s/BlendEquatioRGB/BlendEquationRGB/

20 years agoadd glutInitWindowPosition calls
Keith Whitwell [Wed, 28 Jan 2004 10:09:59 +0000 (10:09 +0000)]
add glutInitWindowPosition calls

20 years agoAdd glutInitWindowPosition call
Keith Whitwell [Wed, 28 Jan 2004 10:07:48 +0000 (10:07 +0000)]
Add glutInitWindowPosition call

20 years agoMove FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macro
Keith Whitwell [Wed, 28 Jan 2004 09:29:21 +0000 (09:29 +0000)]
Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macro
works globally.

20 years agoUse NEED_SECONDARY_COLOR() for checking specular state at all times
Keith Whitwell [Wed, 28 Jan 2004 08:21:05 +0000 (08:21 +0000)]
Use NEED_SECONDARY_COLOR() for checking specular state at all times
when ctx->_TriangleCaps might be inaccurate (ie while ctx->NewState might
be non-zero).

20 years agofix breakage associated with pointers not being initialised in
Dave Airlie [Wed, 28 Jan 2004 03:58:49 +0000 (03:58 +0000)]
fix breakage associated with pointers not being initialised in
mesa_create_context

20 years agochange PFNGLXGETUSTPROC's argument from uint64_t to int64_t to match the DRI
Brian Paul [Tue, 27 Jan 2004 22:44:35 +0000 (22:44 +0000)]
change PFNGLXGETUSTPROC's argument from uint64_t to int64_t to match the DRI

20 years agoMissed this commit as part of the addition of
Ian Romanick [Tue, 27 Jan 2004 21:40:35 +0000 (21:40 +0000)]
Missed this commit as part of the addition of
GL_EXT_blend_equation_separate / GL_ATI_blend_equation_separate.

20 years agoAdded support for EXT_blend_equation_separate / ATI_blend_equation_separate.
Ian Romanick [Tue, 27 Jan 2004 18:52:40 +0000 (18:52 +0000)]
Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.

20 years agoCatch and shortcircuit no-primitive and no-vertex cases in _tnl_wrap_buffers()
Keith Whitwell [Tue, 27 Jan 2004 18:44:50 +0000 (18:44 +0000)]
Catch and shortcircuit no-primitive and no-vertex cases in _tnl_wrap_buffers()

20 years agoAdd new driverfuncs.
Karl Schultz [Tue, 27 Jan 2004 18:28:58 +0000 (18:28 +0000)]
Add new driverfuncs.

20 years agoConsolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
Keith Whitwell [Tue, 27 Jan 2004 16:34:45 +0000 (16:34 +0000)]
Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
array, texObj->Image[face][level].

20 years agoTweak: set z scale to one, else tnl thinks we have a 3d texcoord.
Keith Whitwell [Tue, 27 Jan 2004 16:18:00 +0000 (16:18 +0000)]
Tweak: set z scale to one, else tnl thinks we have a 3d texcoord.

20 years agoremove bogus assertion in DeleteTexture() function
Brian Paul [Mon, 26 Jan 2004 23:57:19 +0000 (23:57 +0000)]
remove bogus assertion in DeleteTexture() function

20 years agoMake the drivers using the common texmem code work with NewTextureObject
Felix Kuehling [Mon, 26 Jan 2004 23:38:12 +0000 (23:38 +0000)]
Make the drivers using the common texmem code work with NewTextureObject
in Mesa. This is analogous to changes idr made to the r200 driver. Patch
submitted by Andreas Stenglein.