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

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

22 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().

22 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().

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

22 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
 ----------------------------------------------------------------------

22 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.

22 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.

22 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.

22 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

22 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

22 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

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

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

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

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

22 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

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

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

22 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)

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

22 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
 ----------------------------------------------------------------------

22 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
 ----------------------------------------------------------------------

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

22 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

22 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

22 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

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

22 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

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

22 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.

22 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.

22 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

22 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.

22 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

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

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

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

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

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

22 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

22 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

22 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

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

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

22 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).

22 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

22 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

22 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.

22 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

22 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

22 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

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

22 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

22 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.

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

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

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

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

22 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

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

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

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

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

22 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

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

22 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

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

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

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

22 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 13:40:28 +0000 (13:40 +0000)]
build fixes

22 years agoadd SPARC ffb DRI driver
Alan Hourihane [Thu, 4 Dec 2003 13:38:06 +0000 (13:38 +0000)]
add SPARC ffb DRI driver

22 years agobuild fixes
Alan Hourihane [Thu, 4 Dec 2003 13:28:10 +0000 (13:28 +0000)]
build fixes

22 years agoadd tdfx DRI driver
Alan Hourihane [Thu, 4 Dec 2003 13:27:05 +0000 (13:27 +0000)]
add tdfx DRI driver

22 years agobring over glcore.h changes from DRI trunk
Alan Hourihane [Thu, 4 Dec 2003 12:33:15 +0000 (12:33 +0000)]
bring over glcore.h changes from DRI trunk

22 years agoPort over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.
Brian Paul [Thu, 4 Dec 2003 03:19:46 +0000 (03:19 +0000)]
Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.

22 years agoFix some problems with glDrawElements and vertex buffer objects.
Brian Paul [Thu, 4 Dec 2003 03:16:27 +0000 (03:16 +0000)]
Fix some problems with glDrawElements and vertex buffer objects.

22 years agoEnsure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped.
Keith Whitwell [Wed, 3 Dec 2003 10:15:17 +0000 (10:15 +0000)]
Ensure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped.

22 years agos/inverse/invtrans.. whoopsie
Karl Rasche [Tue, 2 Dec 2003 22:46:30 +0000 (22:46 +0000)]
s/inverse/invtrans.. whoopsie

22 years agoRemove things having to do with ARB_matrix_palette/ARB_vertex_blend
Karl Rasche [Tue, 2 Dec 2003 22:41:45 +0000 (22:41 +0000)]
Remove things having to do with ARB_matrix_palette/ARB_vertex_blend

22 years agoadded description of faster glDraw/CopyPixels code
Brian Paul [Mon, 1 Dec 2003 22:43:31 +0000 (22:43 +0000)]
added description of faster glDraw/CopyPixels code

22 years agofix __sparc_v9__ test to exclude linux (bug 852204)
Brian Paul [Mon, 1 Dec 2003 22:40:26 +0000 (22:40 +0000)]
fix __sparc_v9__ test to exclude linux (bug 852204)

22 years agoupdated list of files since merging vtx branch
Brian Paul [Mon, 1 Dec 2003 22:33:07 +0000 (22:33 +0000)]
updated list of files since merging vtx branch

22 years agos/texUnit->Enabled/enableBits/ (Karl Rasche)
Brian Paul [Sun, 30 Nov 2003 19:55:13 +0000 (19:55 +0000)]
s/texUnit->Enabled/enableBits/ (Karl Rasche)

22 years agoFixed compiler warnings
Karl Rasche [Sun, 30 Nov 2003 15:59:28 +0000 (15:59 +0000)]
Fixed compiler warnings
Assign the correct thing to TexturesUsed[]

22 years agoUse XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when
Brian Paul [Sat, 29 Nov 2003 19:36:08 +0000 (19:36 +0000)]
Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when
possible (when pixel formats match and drawing to front buffer with no
raster operations).
Results in 10-100x speed-up when applicable.

22 years agoFix generic/conventional vertex array glitches.
Brian Paul [Sat, 29 Nov 2003 19:33:33 +0000 (19:33 +0000)]
Fix generic/conventional vertex array glitches.
Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and
generic enable bits do not alias.
In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc.
In t_array_import.c give priority for generic arrays over conventional
arrays on an individual basis, not all or none.

22 years agomore tweaks to error checking and reporting
Brian Paul [Fri, 28 Nov 2003 21:06:40 +0000 (21:06 +0000)]
more tweaks to error checking and reporting

22 years agoif id==0 in glGetQueryObject, raise GL_INVALID_OPERATION
Brian Paul [Fri, 28 Nov 2003 20:30:36 +0000 (20:30 +0000)]
if id==0 in glGetQueryObject, raise GL_INVALID_OPERATION

22 years agofix an error test
Brian Paul [Fri, 28 Nov 2003 18:18:50 +0000 (18:18 +0000)]
fix an error test

22 years agoupdated NetReality -> Pansophica
Brian Paul [Fri, 28 Nov 2003 15:06:02 +0000 (15:06 +0000)]
updated NetReality -> Pansophica

22 years agoSave and restore front colors on backfacing triangles rather than trying to
Keith Whitwell [Fri, 28 Nov 2003 09:43:18 +0000 (09:43 +0000)]
Save and restore front colors on backfacing triangles rather than trying to
pull them again from the VB pointers.  Avoids stride issues.

22 years agoadded link to Chromium
Brian Paul [Wed, 26 Nov 2003 18:10:31 +0000 (18:10 +0000)]
added link to Chromium

22 years agoupdated CVS info
Brian Paul [Wed, 26 Nov 2003 18:10:19 +0000 (18:10 +0000)]
updated CVS info

22 years agoaccomodate vtx-0-2-branch
Daniel Borca [Wed, 26 Nov 2003 08:32:35 +0000 (08:32 +0000)]
accomodate vtx-0-2-branch

22 years agocurrent raster color index should be GLfloat
Brian Paul [Tue, 25 Nov 2003 22:45:59 +0000 (22:45 +0000)]
current raster color index should be GLfloat

22 years agoadded SoftGL link
Brian Paul [Tue, 25 Nov 2003 21:13:26 +0000 (21:13 +0000)]
added SoftGL link

22 years agoOtto Solares' patch to add radeon 9200
Brian Paul [Tue, 25 Nov 2003 16:45:33 +0000 (16:45 +0000)]
Otto Solares' patch to add radeon 9200

22 years agofix assorted g++ warnings
Brian Paul [Tue, 25 Nov 2003 16:39:31 +0000 (16:39 +0000)]
fix assorted g++ warnings

22 years agocasts for g++
Brian Paul [Tue, 25 Nov 2003 16:21:51 +0000 (16:21 +0000)]
casts for g++