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

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

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

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

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

20 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

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

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

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

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

20 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

21 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

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

21 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

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

21 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[]

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

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

21 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

21 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

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

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

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

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

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

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

21 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

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

21 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

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

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

21 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++

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

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

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

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

21 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

21 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

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

21 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

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

21 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

21 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

21 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

21 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

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

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

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

21 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

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

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

21 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

21 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()

21 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

21 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

21 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

21 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

21 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

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

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

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

21 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]

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

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

21 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

21 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

21 years agoInitial checking of new ARB_frag/vertex program parser
Karl Rasche [Wed, 19 Nov 2003 13:15:13 +0000 (13:15 +0000)]
Initial checking of new ARB_frag/vertex program parser

21 years agodoc updates; GLUT timer additions; fixed compilation warnings
Daniel Borca [Tue, 18 Nov 2003 12:18:13 +0000 (12:18 +0000)]
doc updates; GLUT timer additions; fixed compilation warnings

21 years agoadded reference to original half/float conversion code
Brian Paul [Tue, 18 Nov 2003 03:44:53 +0000 (03:44 +0000)]
added reference to original half/float conversion code

21 years agoadded missing <type> error checking in read_index_pixels()
Brian Paul [Tue, 18 Nov 2003 03:42:17 +0000 (03:42 +0000)]
added missing <type> error checking in read_index_pixels()