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

22 years agofix a lot of warnings found with g++
Brian Paul [Tue, 25 Nov 2003 16:18:31 +0000 (16:18 +0000)]
fix a lot of warnings found with g++

22 years agosilence a warning
Brian Paul [Tue, 25 Nov 2003 16:02:39 +0000 (16:02 +0000)]
silence a warning

22 years agoremove __FUNCTION__ hack
Brian Paul [Tue, 25 Nov 2003 16:02:24 +0000 (16:02 +0000)]
remove __FUNCTION__ hack

22 years agoadded a cast
Brian Paul [Tue, 25 Nov 2003 16:00:25 +0000 (16:00 +0000)]
added a cast

22 years agoRemove unnecessary usage of __FUNCTION__.
Brian Paul [Tue, 25 Nov 2003 15:58:22 +0000 (15:58 +0000)]
Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.

22 years ago - New version of the syntax rules from Michal Krol
Karl Rasche [Tue, 25 Nov 2003 02:08:05 +0000 (02:08 +0000)]
 - New version of the syntax rules from Michal Krol
   + Handles '1' as a float, just like '1.'
   + Remove switch collision between vp and fp #defines
   + result.color.xyz no longer requires result.color.primary.xyz

22 years agoadded support for generic vertex attributes (ARB_vp) and their error checking
Karl Rasche [Tue, 25 Nov 2003 00:04:36 +0000 (00:04 +0000)]
added support for generic vertex attributes (ARB_vp) and their error checking

22 years agoupdated after APIspec fixes
Brian Paul [Mon, 24 Nov 2003 23:14:53 +0000 (23:14 +0000)]
updated after APIspec fixes

22 years agooops, fix glitches in 1.5 functions
Brian Paul [Mon, 24 Nov 2003 23:03:29 +0000 (23:03 +0000)]
oops, fix glitches in 1.5 functions

22 years agominor cast fixes
Brian Paul [Mon, 24 Nov 2003 22:32:16 +0000 (22:32 +0000)]
minor cast fixes

22 years agogenerate the OpenGL 1.5 entrypoints
Brian Paul [Mon, 24 Nov 2003 22:30:32 +0000 (22:30 +0000)]
generate the OpenGL 1.5 entrypoints

22 years agoupdated list of new/old src files
Brian Paul [Mon, 24 Nov 2003 17:13:10 +0000 (17:13 +0000)]
updated list of new/old src files

22 years agoset the VB->FogCoordPtr with the other legacy pointers
Brian Paul [Mon, 24 Nov 2003 17:00:03 +0000 (17:00 +0000)]
set the VB->FogCoordPtr with the other legacy pointers

22 years agofix YCBCR assertion and disable assertion in auto-mipmap code
Brian Paul [Mon, 24 Nov 2003 16:51:26 +0000 (16:51 +0000)]
fix YCBCR assertion and disable assertion in auto-mipmap code

22 years agoremove dead files
Keith Whitwell [Mon, 24 Nov 2003 15:42:24 +0000 (15:42 +0000)]
remove dead files

22 years agowhitespace and comment changes
Brian Paul [Mon, 24 Nov 2003 15:41:39 +0000 (15:41 +0000)]
whitespace and comment changes

22 years agominor error string improvement
Brian Paul [Mon, 24 Nov 2003 15:40:52 +0000 (15:40 +0000)]
minor error string improvement

22 years agoadded GL_ARB_vertex/fragment_program and new vertex code
Brian Paul [Mon, 24 Nov 2003 15:39:55 +0000 (15:39 +0000)]
added GL_ARB_vertex/fragment_program and new vertex code

22 years agoMerge vtx-0-2-branch
Keith Whitwell [Mon, 24 Nov 2003 15:23:18 +0000 (15:23 +0000)]
Merge vtx-0-2-branch

22 years agoImport vtx-0-2-branch
Keith Whitwell [Mon, 24 Nov 2003 15:21:14 +0000 (15:21 +0000)]
Import vtx-0-2-branch

22 years agoRemove a lot of rcs tags, avoid merge conflicts
Keith Whitwell [Mon, 24 Nov 2003 15:19:27 +0000 (15:19 +0000)]
Remove a lot of rcs tags, avoid merge conflicts

22 years agoMoving NV_fragment_program tests to ARB_fragment_program
Karl Rasche [Mon, 24 Nov 2003 13:29:54 +0000 (13:29 +0000)]
Moving NV_fragment_program tests to ARB_fragment_program

22 years ago- parse_alias() Was totally borked
Karl Rasche [Sun, 23 Nov 2003 19:29:18 +0000 (19:29 +0000)]
- parse_alias() Was totally borked
- forgot a ++ in texSrcBit switch
- copy/paste error in arbfragparse.c

22 years ago - Create a dummy program to keep from segfaulting when parsing
Karl Rasche [Sun, 23 Nov 2003 17:54:39 +0000 (17:54 +0000)]
   - Create a dummy program to keep from segfaulting when parsing
    fails
- Change to grammar .emit to fix single LOCAL/ENV param usage

22 years agoPorting NV_vertex_program demos to ARB_vertex_program
Karl Rasche [Sun, 23 Nov 2003 17:48:15 +0000 (17:48 +0000)]
Porting NV_vertex_program demos to ARB_vertex_program

22 years agoPorting NV_vertex_program tests to ARB_vertex_program
Karl Rasche [Sun, 23 Nov 2003 17:44:02 +0000 (17:44 +0000)]
Porting NV_vertex_program tests to ARB_vertex_program

22 years agoinclude malloc.h to get ptrdiff_t for vertex buffer object's GLintptr
Brian Paul [Sun, 23 Nov 2003 16:22:54 +0000 (16:22 +0000)]
include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr

22 years agobuild fixes, rh9
Keith Whitwell [Sun, 23 Nov 2003 10:27:10 +0000 (10:27 +0000)]
build fixes, rh9

22 years agoadded OpenGL 1.5 tokens and functions not yet put into glext.h
Brian Paul [Sat, 22 Nov 2003 18:44:10 +0000 (18:44 +0000)]
added OpenGL 1.5 tokens and functions not yet put into glext.h

22 years agopass ctx to fetch_vector4_deriv()
Brian Paul [Sat, 22 Nov 2003 18:29:43 +0000 (18:29 +0000)]
pass ctx to fetch_vector4_deriv()

22 years agoGL_ARB_point_sprite is not part of 1.5
Brian Paul [Sat, 22 Nov 2003 18:28:21 +0000 (18:28 +0000)]
GL_ARB_point_sprite is not part of 1.5

22 years agoupdated core makefiles to include arbparse
Daniel Borca [Sat, 22 Nov 2003 11:27:33 +0000 (11:27 +0000)]
updated core makefiles to include arbparse

22 years agofix some bugs in computation of DDX, DDY commands
Brian Paul [Fri, 21 Nov 2003 20:48:16 +0000 (20:48 +0000)]
fix some bugs in computation of DDX, DDY commands

22 years agos/byte/GLubyte/ and other minor clean-ups
Brian Paul [Fri, 21 Nov 2003 17:07:59 +0000 (17:07 +0000)]
s/byte/GLubyte/ and other minor clean-ups

22 years agoreformat comments for 80-column viewing
Brian Paul [Fri, 21 Nov 2003 16:50:03 +0000 (16:50 +0000)]
reformat comments for 80-column viewing

22 years agofix a bunch of warnings
Brian Paul [Fri, 21 Nov 2003 16:38:56 +0000 (16:38 +0000)]
fix a bunch of warnings

22 years agomore texture compression
Daniel Borca [Fri, 21 Nov 2003 09:56:50 +0000 (09:56 +0000)]
more texture compression

22 years ago Committing in .
Jouk Jansen [Fri, 21 Nov 2003 08:24:40 +0000 (08:24 +0000)]
 Committing in .

   - Added arbparse.c to OpenVMS makefile
   - Added 2 type casts in a strcmp call to make my compiler happy.

 Modified Files:
  Mesa-newtree/src/mesa/main/arbparse.c
  Mesa-newtree/src/mesa/main/descrip.mms
 ----------------------------------------------------------------------

22 years agoCaught missing parse_color_type() [Jacob Jansen]
Karl Rasche [Fri, 21 Nov 2003 01:22:46 +0000 (01:22 +0000)]
Caught missing parse_color_type() [Jacob Jansen]

22 years agotexture compression testbed
Daniel Borca [Thu, 20 Nov 2003 17:07:31 +0000 (17:07 +0000)]
texture compression testbed

22 years agosmall matters
Daniel Borca [Thu, 20 Nov 2003 17:05:56 +0000 (17:05 +0000)]
small matters

22 years agoInitial checkin of new ARB frag/vertex program parser
Karl Rasche [Wed, 19 Nov 2003 13:21:20 +0000 (13:21 +0000)]
Initial checkin of new ARB frag/vertex program parser

22 years agoInitial checkin of new ARB_frag/vertex program parser
Karl Rasche [Wed, 19 Nov 2003 13:17:33 +0000 (13:17 +0000)]
Initial checkin of new ARB_frag/vertex program parser