mesa.git
20 years agoset MaxTextureImageUnits, MaxTextureCoordUnits
Keith Whitwell [Fri, 12 Dec 2003 10:06:02 +0000 (10:06 +0000)]
set MaxTextureImageUnits, MaxTextureCoordUnits

20 years agosmall bug wrt culling
Daniel Borca [Fri, 12 Dec 2003 08:19:20 +0000 (08:19 +0000)]
small bug wrt culling

20 years agofix visinfo typo
Brian Paul [Fri, 12 Dec 2003 00:08:01 +0000 (00:08 +0000)]
fix visinfo typo

20 years agocheck for null dpy in Fake_glXGetConfig()
Brian Paul [Fri, 12 Dec 2003 00:01:17 +0000 (00:01 +0000)]
check for null dpy in Fake_glXGetConfig()

20 years agoreplace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall)
Brian Paul [Thu, 11 Dec 2003 23:55:55 +0000 (23:55 +0000)]
replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall)

20 years agoDon't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT()
Keith Whitwell [Thu, 11 Dec 2003 20:49:59 +0000 (20:49 +0000)]
Don't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT()

20 years agoadd driClipRectToFramebuffer helper function
Keith Whitwell [Thu, 11 Dec 2003 19:06:32 +0000 (19:06 +0000)]
add driClipRectToFramebuffer helper function

20 years agoUpdates to tnl_dd_dmatmp.h
Keith Whitwell [Thu, 11 Dec 2003 16:49:55 +0000 (16:49 +0000)]
Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
  about dma buffers.
- Clean up the various Flush() operations.
- Don't allow fallbacks any longer.  Provide a support function
  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
- Get texunit 2,3 emit working coorrectly.
Other stuff:
- Get rid of lingering Ubyte color support.
- Fix a few compiler warnings.

20 years agoUpdates to tnl_dd_dmatmp.h
Keith Whitwell [Thu, 11 Dec 2003 16:25:36 +0000 (16:25 +0000)]
Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
  about dma buffers.
- Clean up the various Flush() operations.
- Don't allow fallbacks any longer.  Provide a support function
  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
- Get texunit 2,3 emit working coorrectly.
Other stuff:
- Get rid of lingering Ubyte color support.
- Fix a few compiler warnings.

20 years agofixed prototypes for wglGammaRamp3DFX
Daniel Borca [Thu, 11 Dec 2003 16:16:33 +0000 (16:16 +0000)]
fixed prototypes for wglGammaRamp3DFX

20 years agoQuash annoying compiler warning
Keith Whitwell [Thu, 11 Dec 2003 15:47:43 +0000 (15:47 +0000)]
Quash annoying compiler warning

20 years agoRemove dead file glcore-new.h
Keith Whitwell [Thu, 11 Dec 2003 13:10:20 +0000 (13:10 +0000)]
Remove dead file glcore-new.h

20 years agofix from DRI trunk
Alan Hourihane [Wed, 10 Dec 2003 19:12:49 +0000 (19:12 +0000)]
fix from DRI trunk

20 years agogot rid of __FUNCTION__ :(
Daniel Borca [Wed, 10 Dec 2003 15:24:49 +0000 (15:24 +0000)]
got rid of __FUNCTION__ :(
Texus2 functions are dynamically linked now
made getRegistryOrEnvironmentString more portable
bugfix: unnecessary total SW fallback -- glColorMask
bugfix: when shared palette was not loaded correctly
point_attenuation_stage back in business (point size/atten)
fxTexGetInfo is not required for fxIsTexSupported
fxDDChooseTextureFormat optimized for RGB/RGBA textures
accelerated Quads with Triangle_Fans
more WGL extensions/functions (also updated export file)
DXTC/S3TC -> FXT1 wrapping hack
quick & dirty fix for Quake2

20 years agofix typo
Alan Hourihane [Wed, 10 Dec 2003 14:10:45 +0000 (14:10 +0000)]
fix typo

20 years agoadded fbdev/glfbdev.c to tarball list
Brian Paul [Wed, 10 Dec 2003 02:44:38 +0000 (02:44 +0000)]
added fbdev/glfbdev.c to tarball list

20 years agoFix definitions for Intel compiler.
Eric Anholt [Tue, 9 Dec 2003 23:59:16 +0000 (23:59 +0000)]
Fix definitions for Intel compiler.

Submitted by: Mikhail Teterin <mi@FreeBSD.org>

20 years agoIn fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common.
Keith Whitwell [Tue, 9 Dec 2003 19:35:45 +0000 (19:35 +0000)]
In fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common.

20 years agoRemove old ubyte-color support code. Update interp, copy_pv for float
Keith Whitwell [Tue, 9 Dec 2003 19:30:22 +0000 (19:30 +0000)]
Remove old ubyte-color support code.  Update interp, copy_pv for float
colors in VB arrays.

20 years agoArg. I can't code.. Test that we don't recongnize '0' as having a leading zero..
Karl Rasche [Tue, 9 Dec 2003 19:14:41 +0000 (19:14 +0000)]
Arg. I can't code.. Test that we don't recongnize '0' as having a leading zero..

20 years agoadded parsing exercises for ARL and relative offsets in ARB_vp
Karl Rasche [Tue, 9 Dec 2003 18:17:04 +0000 (18:17 +0000)]
added parsing exercises for ARL and relative offsets in ARB_vp

20 years ago - New grammar (0.5) from Michal Krol, merges many opcodes and adds range testing
Karl Rasche [Tue, 9 Dec 2003 18:13:12 +0000 (18:13 +0000)]
 - New grammar (0.5) from Michal Krol, merges many opcodes and adds range testing
 - Proper header on arbparse_syn.h
 - Handling of relative offsets for ARB_vp
 - s/MaxFragment/MaxVertex
 - Check for leading 0's in the fraction portions of floats in parse_float()

20 years ago- handle IsPositionInvariant
Karl Rasche [Tue, 9 Dec 2003 18:04:52 +0000 (18:04 +0000)]
- handle IsPositionInvariant
- tweak assertion to allow for relative offets from ARB_vp

20 years agoFix typo.
Keith Whitwell [Tue, 9 Dec 2003 16:22:33 +0000 (16:22 +0000)]
Fix typo.

20 years agoMGA only has one vertex format.
Keith Whitwell [Tue, 9 Dec 2003 16:21:31 +0000 (16:21 +0000)]
MGA only has one vertex format.

20 years agoFix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
Keith Whitwell [Tue, 9 Dec 2003 16:14:24 +0000 (16:14 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.

20 years agoFix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
Keith Whitwell [Tue, 9 Dec 2003 16:09:24 +0000 (16:09 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.

20 years agoFix use of uninited value 'flags', removed unused vars.
Keith Whitwell [Tue, 9 Dec 2003 16:02:43 +0000 (16:02 +0000)]
Fix use of uninited value 'flags', removed unused vars.

20 years agoFix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
Keith Whitwell [Tue, 9 Dec 2003 16:00:38 +0000 (16:00 +0000)]
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.

20 years agoFix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the
Keith Whitwell [Tue, 9 Dec 2003 15:33:45 +0000 (15:33 +0000)]
Fix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the
non-parity code).

20 years agoCall UpdateMaterials when they have changed
Keith Whitwell [Tue, 9 Dec 2003 14:19:41 +0000 (14:19 +0000)]
Call UpdateMaterials when they have changed

20 years agoclean up some compiler warnings
Keith Whitwell [Tue, 9 Dec 2003 14:18:41 +0000 (14:18 +0000)]
clean up some compiler warnings

20 years agoNo need to call UpdateMaterial() from RunPipeline().
Keith Whitwell [Tue, 9 Dec 2003 14:18:18 +0000 (14:18 +0000)]
No need to call UpdateMaterial() from RunPipeline().

20 years agoNo need to call radeonUpdateMaterial() from RunPipeline().
Keith Whitwell [Tue, 9 Dec 2003 14:17:40 +0000 (14:17 +0000)]
No need to call radeonUpdateMaterial() from RunPipeline().

20 years agoRemove $Id tag
Keith Whitwell [Tue, 9 Dec 2003 11:54:50 +0000 (11:54 +0000)]
Remove $Id tag

20 years ago Committing in .
Jouk Jansen [Tue, 9 Dec 2003 10:11:27 +0000 (10:11 +0000)]
 Committing in .

 Small VMS issue : sys/param.h is not available on all systems and not
                   needed anyway.

 Modified Files:
  Mesa-newtree/src/mesa/main/vsnprintf.c
 ----------------------------------------------------------------------

20 years agoUpdate NEED_SECONDARY_COLOR macro to test if either vertex/fragment
Brian Paul [Tue, 9 Dec 2003 01:53:03 +0000 (01:53 +0000)]
Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment
programs are enabled and if they need secondary color input register.
Patch by Karl Rasche, with tweaks by Brian.

20 years agoRemove usleeps from sis driver. We probably aren't doing anyone a service
Eric Anholt [Tue, 9 Dec 2003 00:00:40 +0000 (00:00 +0000)]
Remove usleeps from sis driver.  We probably aren't doing anyone a service
sleeping with the lock held.  Also, rename cEngineState to engineState since
it isn't a char any more.

20 years agofix bogus assertion that checked for an empty texture heap list before
Alan Hourihane [Mon, 8 Dec 2003 22:43:10 +0000 (22:43 +0000)]
fix bogus assertion that checked for an empty texture heap list before
deleting the textures. Essentially move the assertion after the destruction
of the heap.

20 years agoA quick little test to show disapeearing specular color between vertex and fragment...
Karl Rasche [Mon, 8 Dec 2003 21:43:55 +0000 (21:43 +0000)]
A quick little test to show disapeearing specular color between vertex and fragment program execution

20 years agoProvide dummy definitions of __driConfig externs
Keith Whitwell [Mon, 8 Dec 2003 17:32:58 +0000 (17:32 +0000)]
Provide dummy definitions of __driConfig externs

20 years agoturn on tdfx in SOLO build
Alan Hourihane [Mon, 8 Dec 2003 17:27:33 +0000 (17:27 +0000)]
turn on tdfx in SOLO build

20 years agosome changes for SOLO build
Alan Hourihane [Mon, 8 Dec 2003 17:26:59 +0000 (17:26 +0000)]
some changes for SOLO build

20 years agobuild in SOLO environment
Alan Hourihane [Mon, 8 Dec 2003 17:14:47 +0000 (17:14 +0000)]
build in SOLO environment

20 years agokill a warning
Alan Hourihane [Mon, 8 Dec 2003 17:07:41 +0000 (17:07 +0000)]
kill a warning

20 years agoreverse Keith's 'XFree86Server' glue.
Alan Hourihane [Mon, 8 Dec 2003 16:57:21 +0000 (16:57 +0000)]
reverse Keith's 'XFree86Server' glue.

20 years agoCan't include <stddef.h> when building XFree86 server - define
Keith Whitwell [Mon, 8 Dec 2003 15:00:24 +0000 (15:00 +0000)]
Can't include <stddef.h> when building XFree86 server - define
ptrdiff_t to int instead

20 years agoget ffb compiling
Keith Whitwell [Mon, 8 Dec 2003 13:33:07 +0000 (13:33 +0000)]
get ffb compiling

20 years agoget tdfx compiling
Keith Whitwell [Mon, 8 Dec 2003 13:21:22 +0000 (13:21 +0000)]
get tdfx compiling

20 years agofixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)
Daniel Borca [Mon, 8 Dec 2003 13:00:50 +0000 (13:00 +0000)]
fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)

20 years agoRemove PRIM_PARITY reference
Keith Whitwell [Mon, 8 Dec 2003 12:32:50 +0000 (12:32 +0000)]
Remove PRIM_PARITY reference

20 years ago Committing in .
Jouk Jansen [Mon, 8 Dec 2003 09:03:35 +0000 (09:03 +0000)]
 Committing in .

 OpenVMS compile issues

 Modified Files:
  Mesa-newtree/progs/tests/cva.c
  Mesa-newtree/progs/tests/dinoshade.c
  Mesa-newtree/progs/tests/multipal.c
  Mesa-newtree/src/mesa/main/descrip.mms
  Mesa-newtree/src/mesa/tnl/descrip.mms
  Mesa-newtree/src/mesa/tnl/t_vtx_api.c
 ----------------------------------------------------------------------

20 years ago Committing in .
Jouk Jansen [Mon, 8 Dec 2003 08:58:52 +0000 (08:58 +0000)]
 Committing in .

 Solves array boundary out of bound which causes problems on OpenVMS (and
   maybe other systems)

 Modified Files:
  Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h
  Mesa-newtree/src/mesa/tnl/t_vtx_eval.c
 ----------------------------------------------------------------------

20 years agoadd SETPARAM ioctl
Alan Hourihane [Mon, 8 Dec 2003 00:43:34 +0000 (00:43 +0000)]
add SETPARAM ioctl

20 years agomerge some more of the radeon DRI driver from the DRI trunk
Alan Hourihane [Sun, 7 Dec 2003 23:53:32 +0000 (23:53 +0000)]
merge some more of the radeon DRI driver from the DRI trunk

20 years agosync some more of the r200 driver from the DRI trunk
Alan Hourihane [Sun, 7 Dec 2003 23:47:56 +0000 (23:47 +0000)]
sync some more of the r200 driver from the DRI trunk

20 years agomerge i830 DRI driver from DRI trunk
Alan Hourihane [Sun, 7 Dec 2003 23:40:13 +0000 (23:40 +0000)]
merge i830 DRI driver from DRI trunk

20 years agoadded drivers/fbdev/glfbdev.c
Brian Paul [Sat, 6 Dec 2003 17:59:08 +0000 (17:59 +0000)]
added drivers/fbdev/glfbdev.c

20 years agoconditionally define GLAPIENTRYP to prevent some warnings in linux-solo
Brian Paul [Sat, 6 Dec 2003 17:58:30 +0000 (17:58 +0000)]
conditionally define GLAPIENTRYP to prevent some warnings in linux-solo

20 years agotweaks for SunOS
Brian Paul [Sat, 6 Dec 2003 17:57:12 +0000 (17:57 +0000)]
tweaks for SunOS

20 years agoBasic info about the glFBDev interface/driver.
Brian Paul [Sat, 6 Dec 2003 17:26:50 +0000 (17:26 +0000)]
Basic info about the glFBDev interface/driver.

20 years agoglFBDev driver from embedded-2 branch.
Brian Paul [Sat, 6 Dec 2003 17:20:10 +0000 (17:20 +0000)]
glFBDev driver from embedded-2 branch.
Probably won't be actively used/maintained, but bring it to the trunk so
it doesn't get lost.

20 years agobasic API work for FBConfigs & Pbuffers
Brian Paul [Sat, 6 Dec 2003 17:17:42 +0000 (17:17 +0000)]
basic API work for FBConfigs & Pbuffers

20 years agoRelax assertion to account for empty primitives.
Keith Whitwell [Sat, 6 Dec 2003 12:58:47 +0000 (12:58 +0000)]
Relax assertion to account for empty primitives.

20 years agos/APIENTRY/GLAPIENTRY/ for 1.5 functions
Brian Paul [Sat, 6 Dec 2003 01:49:54 +0000 (01:49 +0000)]
s/APIENTRY/GLAPIENTRY/ for 1.5 functions

20 years agofix _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:35:57 +0000 (22:35 +0000)]
fix _SOLO build problem

20 years agofix a _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:34:11 +0000 (22:34 +0000)]
fix a _SOLO build problem

20 years agofix _SOLO build problem
Alan Hourihane [Fri, 5 Dec 2003 22:26:35 +0000 (22:26 +0000)]
fix _SOLO build problem

20 years agofix some _SOLO build problems
Alan Hourihane [Fri, 5 Dec 2003 22:24:31 +0000 (22:24 +0000)]
fix some _SOLO build problems

20 years agoxmlconfig fixes
Alan Hourihane [Fri, 5 Dec 2003 22:12:07 +0000 (22:12 +0000)]
xmlconfig fixes

20 years agoxmlconfig fixes for the new options
Alan Hourihane [Fri, 5 Dec 2003 22:11:15 +0000 (22:11 +0000)]
xmlconfig fixes for the new options

20 years agomerge r128 DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 11:51:39 +0000 (11:51 +0000)]
merge r128 DRI driver from DRI trunk

20 years agomerge i810 DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 11:47:35 +0000 (11:47 +0000)]
merge i810 DRI driver from DRI trunk

20 years agofix compiler warning
Alan Hourihane [Fri, 5 Dec 2003 11:25:15 +0000 (11:25 +0000)]
fix compiler warning

20 years agoremove duplicate declarations
Alan Hourihane [Fri, 5 Dec 2003 11:22:07 +0000 (11:22 +0000)]
remove duplicate declarations

20 years agoBackout last change on the displaylist path to fix gears (and probably
Keith Whitwell [Fri, 5 Dec 2003 08:57:25 +0000 (08:57 +0000)]
Backout last change on the displaylist path to fix gears (and probably
everything else).

20 years agoinclude glheader.h first, to prevent warnings about GLAPIENTRYP being redefined
Brian Paul [Fri, 5 Dec 2003 00:48:37 +0000 (00:48 +0000)]
include glheader.h first, to prevent warnings about GLAPIENTRYP being redefined

20 years agodon't include GL/gl.h, define GLAPIENTRYP if not defined
Brian Paul [Fri, 5 Dec 2003 00:46:06 +0000 (00:46 +0000)]
don't include GL/gl.h, define GLAPIENTRYP if not defined

20 years agoFix a front/back CopyPixels glitch.
Brian Paul [Fri, 5 Dec 2003 00:44:01 +0000 (00:44 +0000)]
Fix a front/back CopyPixels glitch.

20 years agopress f key to toggle front/back drawing/copying
Brian Paul [Fri, 5 Dec 2003 00:39:48 +0000 (00:39 +0000)]
press f key to toggle front/back drawing/copying

20 years agobring over latest mga DRI driver from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 00:32:15 +0000 (00:32 +0000)]
bring over latest mga DRI driver from DRI trunk

20 years agobring in common from DRI trunk
Alan Hourihane [Fri, 5 Dec 2003 00:19:32 +0000 (00:19 +0000)]
bring in common from DRI trunk

20 years agodisable some DEBUG
Alan Hourihane [Thu, 4 Dec 2003 23:24:12 +0000 (23:24 +0000)]
disable some DEBUG

20 years agoWindows needs to #define GL_GLEXT_PROTOTYPES
Karl Schultz [Thu, 4 Dec 2003 21:03:08 +0000 (21:03 +0000)]
Windows needs to #define GL_GLEXT_PROTOTYPES

20 years agoChange
Karl Schultz [Thu, 4 Dec 2003 20:55:58 +0000 (20:55 +0000)]
Change
#define GLAPIENTRYP __stdcall *
to
#define GLAPIENTRYP GLAPIENTRY *
These two defs end up doing the same thing, but the compiler can squawk
because they look different.  Also matches the way it is declared in gl.h.
Do same for GLCALLBACKP.

20 years agoupdate files
Karl Schultz [Thu, 4 Dec 2003 20:44:49 +0000 (20:44 +0000)]
update files

20 years agoAdd missing GLAPIENTRY
Karl Schultz [Thu, 4 Dec 2003 20:43:24 +0000 (20:43 +0000)]
Add missing GLAPIENTRY

20 years agoAdd missing GLAPIENTRY
Karl Schultz [Thu, 4 Dec 2003 20:23:44 +0000 (20:23 +0000)]
Add missing GLAPIENTRY

20 years agouse _swrast_CopyPixels for XFree86
Alan Hourihane [Thu, 4 Dec 2003 20:10:54 +0000 (20:10 +0000)]
use _swrast_CopyPixels for XFree86

20 years agomerge latest DRI sis driver changes from the DRI trunk
Alan Hourihane [Thu, 4 Dec 2003 18:17:32 +0000 (18:17 +0000)]
merge latest DRI sis driver changes from the DRI trunk

20 years agobuild fix
Alan Hourihane [Thu, 4 Dec 2003 16:58:29 +0000 (16:58 +0000)]
build fix

20 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 16:57:43 +0000 (16:57 +0000)]
build fixes

20 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 16:38:05 +0000 (16:38 +0000)]
build fixes

20 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 16:07:17 +0000 (16:07 +0000)]
build fixes

20 years agocheck if GLAPIENTRYP is already set
Alan Hourihane [Thu, 4 Dec 2003 15:59:41 +0000 (15:59 +0000)]
check if GLAPIENTRYP is already set

20 years ago#define GLAPIENTRYP GLAPIENTRY *
Alan Hourihane [Thu, 4 Dec 2003 15:59:03 +0000 (15:59 +0000)]
#define GLAPIENTRYP GLAPIENTRY *

20 years agodon't use new glDrawPixel routines in Xserver
Brian Paul [Thu, 4 Dec 2003 15:29:10 +0000 (15:29 +0000)]
don't use new glDrawPixel routines in Xserver

20 years agoremove duplicate declaration
Alan Hourihane [Thu, 4 Dec 2003 14:30:53 +0000 (14:30 +0000)]
remove duplicate declaration

20 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 14:04:35 +0000 (14:04 +0000)]
build fixes

20 years agobuild fix
Alan Hourihane [Thu, 4 Dec 2003 14:00:56 +0000 (14:00 +0000)]
build fix