Dave Airlie [Fri, 6 Feb 2004 00:42:58 +0000 (00:42 +0000)]
fix missing include for SOLO build
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...
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
Keith Whitwell [Thu, 5 Feb 2004 17:36:02 +0000 (17:36 +0000)]
Add comments to make decyphering the faces easier
Brian Paul [Thu, 5 Feb 2004 15:23:12 +0000 (15:23 +0000)]
update function mangling and add comment about it to gl.h
Brian Paul [Thu, 5 Feb 2004 15:05:09 +0000 (15:05 +0000)]
bring in Keith's _math_matrix_ortho() compiler work-around
Dave Airlie [Thu, 5 Feb 2004 06:39:20 +0000 (06:39 +0000)]
fix ugly bug triggered by macro expansion
Brian Paul [Wed, 4 Feb 2004 23:39:19 +0000 (23:39 +0000)]
fix glXChooseFBConfig bug 890167
Brian Paul [Wed, 4 Feb 2004 23:36:00 +0000 (23:36 +0000)]
fix typo
Keith Whitwell [Wed, 4 Feb 2004 16:59:30 +0000 (16:59 +0000)]
Fix off-by-one in calculations for wrapped trifan, polygon primitives
Brian Paul [Wed, 4 Feb 2004 15:44:53 +0000 (15:44 +0000)]
fix stores to vertex state program registers
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.
Brian Paul [Wed, 4 Feb 2004 03:34:30 +0000 (03:34 +0000)]
another tweak to two-sided detection test
Brian Paul [Wed, 4 Feb 2004 03:00:42 +0000 (03:00 +0000)]
fix two-sided lighting / vertex program bug (#887330)
Brian Paul [Tue, 3 Feb 2004 23:36:59 +0000 (23:36 +0000)]
added Daniel Stone for getting CVS access
Brian Paul [Tue, 3 Feb 2004 16:23:38 +0000 (16:23 +0000)]
another pbuffer demo (Andrew Lentvorski)
Brian Paul [Mon, 2 Feb 2004 22:36:58 +0000 (22:36 +0000)]
s/getenv/_mesa_getenv/
Brian Paul [Mon, 2 Feb 2004 22:35:55 +0000 (22:35 +0000)]
updated list of env vars
Felix Kuehling [Mon, 2 Feb 2004 21:26:40 +0000 (21:26 +0000)]
Include context.h in radeon_state.c.
Brian Paul [Mon, 2 Feb 2004 15:40:21 +0000 (15:40 +0000)]
glXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option
Brian Paul [Mon, 2 Feb 2004 15:38:26 +0000 (15:38 +0000)]
tweak comments
Daniel Borca [Mon, 2 Feb 2004 07:47:23 +0000 (07:47 +0000)]
added glutGetProcAddress in DMesaGLUT
Daniel Borca [Mon, 2 Feb 2004 07:46:27 +0000 (07:46 +0000)]
fixed a bug in GL_NEAREST sampler
Brian Paul [Sat, 31 Jan 2004 19:57:25 +0000 (19:57 +0000)]
added display list option (l key)
Brian Paul [Sat, 31 Jan 2004 19:49:10 +0000 (19:49 +0000)]
minor #ifdef fix
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)
Brian Paul [Sat, 31 Jan 2004 19:15:57 +0000 (19:15 +0000)]
add vparray.c, fix indentation
Brian Paul [Sat, 31 Jan 2004 19:15:43 +0000 (19:15 +0000)]
enable program and arrays by default, minor clean-ups
Brian Paul [Sat, 31 Jan 2004 19:08:45 +0000 (19:08 +0000)]
don't call gl functions directly, jump through _glapi_Dispatch table
Brian Paul [Sat, 31 Jan 2004 17:12:19 +0000 (17:12 +0000)]
add missing CXX, CXXFLAGS for osf1 (Bug 886628)
Brian Paul [Fri, 30 Jan 2004 23:36:35 +0000 (23:36 +0000)]
glBindProgramARB wasn't getting compiled into display lists (bug 887383)
Brian Paul [Fri, 30 Jan 2004 23:32:19 +0000 (23:32 +0000)]
added unichrome directory
Brian Paul [Fri, 30 Jan 2004 23:31:51 +0000 (23:31 +0000)]
Minor fixes for recent Mesa 6.1 changes
Brian Paul [Fri, 30 Jan 2004 23:26:19 +0000 (23:26 +0000)]
Via Unichrome/cle266 driver (Erdi Chen)
Brian Paul [Fri, 30 Jan 2004 17:39:11 +0000 (17:39 +0000)]
more descriptive error strings
Keith Whitwell [Fri, 30 Jan 2004 11:16:12 +0000 (11:16 +0000)]
Fix extract_3f_xyw().
Brian Paul [Thu, 29 Jan 2004 16:32:18 +0000 (16:32 +0000)]
replace spaces w/ tabs
Daniel Borca [Thu, 29 Jan 2004 15:46:02 +0000 (15:46 +0000)]
GL_TEXTURE_1D and other stories...
Brian Paul [Thu, 29 Jan 2004 15:21:47 +0000 (15:21 +0000)]
more IRIX tweaks
Brian Paul [Thu, 29 Jan 2004 14:46:16 +0000 (14:46 +0000)]
fix ARCHOPT typo
Brian Paul [Wed, 28 Jan 2004 22:54:33 +0000 (22:54 +0000)]
fix C++ link issues on IRIX
Karl Schultz [Wed, 28 Jan 2004 22:24:12 +0000 (22:24 +0000)]
Add GLAPIENTRY function decorations for correct operation on Windows.
Brian Paul [Wed, 28 Jan 2004 22:01:47 +0000 (22:01 +0000)]
tweak the #if test for defining _ASMAPI (fixes IRIX problem)
Brian Paul [Wed, 28 Jan 2004 22:00:13 +0000 (22:00 +0000)]
minor fixes to glw's touch depend
Karl Schultz [Wed, 28 Jan 2004 19:46:12 +0000 (19:46 +0000)]
Fix compiler options regarding exception handing to resolve warnings.
Karl Schultz [Wed, 28 Jan 2004 19:00:34 +0000 (19:00 +0000)]
Avoid setting NOWIN98 compiler optimization with VC 7.
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.
Alan Hourihane [Wed, 28 Jan 2004 16:28:53 +0000 (16:28 +0000)]
fix printf warnings
Brian Paul [Wed, 28 Jan 2004 15:15:14 +0000 (15:15 +0000)]
patch from bug 885992
Brian Paul [Wed, 28 Jan 2004 15:14:09 +0000 (15:14 +0000)]
s/BlendEquatioRGB/BlendEquationRGB/
Keith Whitwell [Wed, 28 Jan 2004 10:09:59 +0000 (10:09 +0000)]
add glutInitWindowPosition calls
Keith Whitwell [Wed, 28 Jan 2004 10:07:48 +0000 (10:07 +0000)]
Add glutInitWindowPosition call
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.
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).
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
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
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.
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.
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()
Karl Schultz [Tue, 27 Jan 2004 18:28:58 +0000 (18:28 +0000)]
Add new driverfuncs.
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].
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.
Brian Paul [Mon, 26 Jan 2004 23:57:19 +0000 (23:57 +0000)]
remove bogus assertion in DeleteTexture() function
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.
Keith Whitwell [Mon, 26 Jan 2004 21:34:28 +0000 (21:34 +0000)]
Fix for recursion in generic_copy_pv_extras.
Add a comment.
Brian Paul [Mon, 26 Jan 2004 16:16:16 +0000 (16:16 +0000)]
replace MALLOC w/ CALLOC to silence valgrind warnings
Keith Whitwell [Mon, 26 Jan 2004 13:45:42 +0000 (13:45 +0000)]
Add tests for ARB_fp trig instructions and also for 1D texturing
Daniel Borca [Mon, 26 Jan 2004 10:43:50 +0000 (10:43 +0000)]
minimize the number of DIVs
Daniel Borca [Mon, 26 Jan 2004 10:41:39 +0000 (10:41 +0000)]
glutTimerFunc cleanup
Daniel Borca [Mon, 26 Jan 2004 10:38:46 +0000 (10:38 +0000)]
accomodate FetchTexel and fix some memory leak bugs
Brian Paul [Mon, 26 Jan 2004 00:30:08 +0000 (00:30 +0000)]
updated GLUT link
Brian Paul [Sat, 24 Jan 2004 17:17:25 +0000 (17:17 +0000)]
New error checking in _mesa_GetTexImage().
Updated comments and some better function parameter names.
Brian Paul [Sat, 24 Jan 2004 17:02:19 +0000 (17:02 +0000)]
Some initial RGB and RGBA floating point texture formats.
Brian Paul [Sat, 24 Jan 2004 16:53:20 +0000 (16:53 +0000)]
initial info for version 6.1
Brian Paul [Sat, 24 Jan 2004 16:50:35 +0000 (16:50 +0000)]
New glXUseRotatedXFontMESA() function. Like glXUseXFont(), but takes
a rotation parameter (either 0, 90, 180 or 270 degrees).
Also, a demo program.
Brian Paul [Sat, 24 Jan 2004 15:20:24 +0000 (15:20 +0000)]
added link to ORSA (per request)
Felix Kuehling [Sat, 24 Jan 2004 14:41:24 +0000 (14:41 +0000)]
Parse radeon, not r200 configuration in radeonCreateContext.
Michel Dänzer [Sat, 24 Jan 2004 12:35:13 +0000 (12:35 +0000)]
Fix hardware ROP state handling (Roland Scheidegger)
Brian Paul [Fri, 23 Jan 2004 18:57:05 +0000 (18:57 +0000)]
added device driver hooks for BindProgram, NewProgram, DeleteProgram
Brian Paul [Fri, 23 Jan 2004 18:56:25 +0000 (18:56 +0000)]
Change software alpha plane pointers from void* to GLchan*, eliminate some casts.
Brian Paul [Fri, 23 Jan 2004 18:51:00 +0000 (18:51 +0000)]
more fixing for tdfxUpdateTexturePalette
Brian Paul [Fri, 23 Jan 2004 16:08:35 +0000 (16:08 +0000)]
a few more tweaks
Brian Paul [Fri, 23 Jan 2004 16:03:33 +0000 (16:03 +0000)]
fix assorted compilation issues
Daniel Borca [Fri, 23 Jan 2004 15:57:52 +0000 (15:57 +0000)]
accomodated new driver_func initialization
added DMesaGetProcAddress
some other minor fixes
updated documentation
Keith Whitwell [Fri, 23 Jan 2004 14:46:27 +0000 (14:46 +0000)]
Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
Jouk Jansen [Fri, 23 Jan 2004 10:13:40 +0000 (10:13 +0000)]
Committing in .
Trying to remove the <CR> at the end of each line.
Modified Files:
Mesa/src/mesa/descrip.mms
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/drivers/osmesa/descrip.mms
Mesa/src/mesa/drivers/x11/descrip.mms
----------------------------------------------------------------------
Ian Romanick [Fri, 23 Jan 2004 07:57:32 +0000 (07:57 +0000)]
Modified error messages in _mesa_BlendFuncSeparateEXT to note that the
same function is used internally for glBlendFunc and
glBlendFuncSeparate.
Michel Dänzer [Fri, 23 Jan 2004 03:33:04 +0000 (03:33 +0000)]
Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
(Roland Scheidegger), and update lighting state unconditionally there.
Fixes lighting oddities in the xscreensaver endgame hack, bzflag and
possibly elsewhere.
Michel Dänzer [Fri, 23 Jan 2004 03:19:47 +0000 (03:19 +0000)]
Fix attenuation hardware state handling, inspired by the R200 DDK reference
driver (our r200 driver basically didn't do this at all, maybe got lost
along the way?)
Brian Paul [Fri, 23 Jan 2004 01:59:54 +0000 (01:59 +0000)]
Initial support for floating point and signed texture formats.
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.
Brian Paul [Fri, 23 Jan 2004 01:56:26 +0000 (01:56 +0000)]
misc updates
Keith Whitwell [Thu, 22 Jan 2004 22:40:40 +0000 (22:40 +0000)]
Minor tweaks to help out at a driver level.
Ian Romanick [Thu, 22 Jan 2004 16:25:02 +0000 (16:25 +0000)]
Corrected a comment about how the DOT3 hardware works in the R200.
Jouk Jansen [Thu, 22 Jan 2004 15:02:17 +0000 (15:02 +0000)]
Committing in .
Updated OpenVMS compile support
Modified Files:
Mesa/Makefile.X11 Mesa/src/mesa/descrip.mms
Mesa/src/mesa/drivers/osmesa/descrip.mms
Mesa/src/mesa/drivers/x11/descrip.mms
Added Files:
Mesa/src/mesa/drivers/common/descrip.mms
----------------------------------------------------------------------
Ian Romanick [Wed, 21 Jan 2004 17:03:58 +0000 (17:03 +0000)]
Silence some compiler warnings.
Ian Romanick [Wed, 21 Jan 2004 16:42:30 +0000 (16:42 +0000)]
Make the R200 driver work with the NewTextureObject in Mesa. Other
drivers that use the texmem interface will likely need similar changes.
Ian Romanick [Wed, 21 Jan 2004 16:26:05 +0000 (16:26 +0000)]
Silence a compiler warning DRI builds using gcc3.
Keith Whitwell [Wed, 21 Jan 2004 16:24:05 +0000 (16:24 +0000)]
Use new EMIT_PAD functionality for spec and/or fog as available.
Fix a couple of problems with texture emit.
Ian Romanick [Wed, 21 Jan 2004 16:08:43 +0000 (16:08 +0000)]
Remove dd_function_table::BlendFunc. All drivers now use
dd_function_table:BlendFuncSeparate. If a driver does not actually
support EXT_blend_func_separate, it can assume that the RGB and alpha
blend functions are the same.
Keith Whitwell [Wed, 21 Jan 2004 15:31:46 +0000 (15:31 +0000)]
Another mechanism to create vertices with holes - a new EMIT_PAD style