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

21 years agoSome groundwork for supporting GLhalf datatype.
Brian Paul [Tue, 18 Nov 2003 03:41:14 +0000 (03:41 +0000)]
Some groundwork for supporting GLhalf datatype.

21 years agofix comments about Cr==V, Cb==U
Brian Paul [Tue, 18 Nov 2003 00:48:24 +0000 (00:48 +0000)]
fix comments about Cr==V, Cb==U

21 years agofix texgen bug 597589
Brian Paul [Mon, 17 Nov 2003 15:15:18 +0000 (15:15 +0000)]
fix texgen bug 597589

21 years agoremove GL_GLEXT_LEGACY
Brian Paul [Thu, 13 Nov 2003 23:09:43 +0000 (23:09 +0000)]
remove GL_GLEXT_LEGACY

21 years agoadded glAccum bug fix
Brian Paul [Thu, 13 Nov 2003 22:24:36 +0000 (22:24 +0000)]
added glAccum bug fix

21 years agono-op glAccum in selection/feedback mode (per Mark Kilgard's updates to the 1.5 spec)
Brian Paul [Thu, 13 Nov 2003 22:16:45 +0000 (22:16 +0000)]
no-op glAccum in selection/feedback mode (per Mark Kilgard's updates to the 1.5 spec)

21 years agovanilla extensions disabled
Daniel Borca [Thu, 13 Nov 2003 16:27:25 +0000 (16:27 +0000)]
vanilla extensions disabled

21 years agoadded Ville's RGBA blend fix
Brian Paul [Wed, 12 Nov 2003 15:39:13 +0000 (15:39 +0000)]
added Ville's RGBA blend fix

21 years agoupdated 5.0.2 tarballs
Brian Paul [Wed, 12 Nov 2003 15:32:57 +0000 (15:32 +0000)]
updated 5.0.2 tarballs

21 years agoVille Syrjala's logic op patch
Brian Paul [Wed, 12 Nov 2003 15:27:52 +0000 (15:27 +0000)]
Ville Syrjala's logic op patch

21 years agodirty hack to advertise vanilla extension names
Daniel Borca [Wed, 12 Nov 2003 11:55:21 +0000 (11:55 +0000)]
dirty hack to advertise vanilla extension names

21 years agoRedo array element checking for vertex array buffers.
Brian Paul [Mon, 10 Nov 2003 19:08:37 +0000 (19:08 +0000)]
Redo array element checking for vertex array buffers.
Now, compute ctx->Array._MaxElement as the min of enabled array's max element.
Test against ctx->Array._MaxElement in glDrawArrays/Elements.
Note: testing in glArrayElement not done yet.
Only do element checking if ctx->Const.CheckArrayBounds is set.

21 years agos/GGIMesaContext/ggi_mesa_context_t/
Brian Paul [Fri, 7 Nov 2003 17:28:46 +0000 (17:28 +0000)]
s/GGIMesaContext/ggi_mesa_context_t/

21 years agofix comments
Brian Paul [Fri, 7 Nov 2003 17:28:24 +0000 (17:28 +0000)]
fix comments

21 years agoadded glTexSubImage3D bug
Brian Paul [Fri, 7 Nov 2003 14:53:17 +0000 (14:53 +0000)]
added glTexSubImage3D bug

21 years agos/xoffset/zoffset/ (Cedric Gautier)
Brian Paul [Fri, 7 Nov 2003 14:52:09 +0000 (14:52 +0000)]
s/xoffset/zoffset/ (Cedric Gautier)

21 years agoNCC fixes and some cosmetics
Daniel Borca [Fri, 7 Nov 2003 13:17:21 +0000 (13:17 +0000)]
NCC fixes and some cosmetics

21 years agoadded wgl bug fix
Brian Paul [Tue, 4 Nov 2003 23:38:33 +0000 (23:38 +0000)]
added wgl bug fix

21 years agofix AccessViolation bug (#835861)
Brian Paul [Tue, 4 Nov 2003 23:37:53 +0000 (23:37 +0000)]
fix AccessViolation bug (#835861)

21 years agoanother tweak from Matt Sealey
Brian Paul [Mon, 3 Nov 2003 21:59:36 +0000 (21:59 +0000)]
another tweak from Matt Sealey

21 years agosmall fixes wrt texture handling
Daniel Borca [Mon, 3 Nov 2003 12:16:22 +0000 (12:16 +0000)]
small fixes wrt texture handling

21 years agosmall fixes wrt texture handling
Daniel Borca [Mon, 3 Nov 2003 12:13:23 +0000 (12:13 +0000)]
small fixes wrt texture handling

21 years agoVoodoo2 happiness
Daniel Borca [Mon, 3 Nov 2003 12:01:03 +0000 (12:01 +0000)]
Voodoo2 happiness

21 years agoaccomodate decorated names
Daniel Borca [Mon, 3 Nov 2003 12:00:24 +0000 (12:00 +0000)]
accomodate decorated names

21 years agoremoved detritus
Daniel Borca [Fri, 31 Oct 2003 11:07:39 +0000 (11:07 +0000)]
removed detritus

21 years agobugfixes wrt texture compression
Daniel Borca [Thu, 30 Oct 2003 11:44:19 +0000 (11:44 +0000)]
bugfixes wrt texture compression

21 years agochanges to accomodate texture compression
Daniel Borca [Wed, 29 Oct 2003 14:40:43 +0000 (14:40 +0000)]
changes to accomodate texture compression

21 years agotexture compression
Daniel Borca [Wed, 29 Oct 2003 14:35:31 +0000 (14:35 +0000)]
texture compression

21 years agoprefix MAKELIB with TOP in default case (Matt Sealey)
Brian Paul [Mon, 27 Oct 2003 20:04:43 +0000 (20:04 +0000)]
prefix MAKELIB with TOP in default case (Matt Sealey)

21 years agominor fix to glutSetColor prototype (Evgeny Kotsuba)
Brian Paul [Mon, 27 Oct 2003 18:33:34 +0000 (18:33 +0000)]
minor fix to glutSetColor prototype (Evgeny Kotsuba)

21 years agoPass $(MKLIB_OPTIONS) to mklib script to allow setting extra options.
Brian Paul [Mon, 27 Oct 2003 18:24:37 +0000 (18:24 +0000)]
Pass $(MKLIB_OPTIONS) to mklib script to allow setting extra options.

21 years agoadded MorphOS instructions (Matt Sealey)
Brian Paul [Mon, 27 Oct 2003 18:13:37 +0000 (18:13 +0000)]
added MorphOS instructions (Matt Sealey)

21 years agoFix for missing GLAPIENTRYP definition
Jon Smirl [Fri, 24 Oct 2003 20:44:55 +0000 (20:44 +0000)]
Fix for missing GLAPIENTRYP definition

21 years agoentrypoints... again
Daniel Borca [Thu, 23 Oct 2003 13:57:31 +0000 (13:57 +0000)]
entrypoints... again

21 years agomore MinGW fixes
Daniel Borca [Thu, 23 Oct 2003 13:28:05 +0000 (13:28 +0000)]
more MinGW fixes

21 years agos/GLuint */GLvoid */
Brian Paul [Thu, 23 Oct 2003 12:19:10 +0000 (12:19 +0000)]
s/GLuint */GLvoid */

21 years agoadded a few missing GLAPIENTRYs to make MinGW compile again
Daniel Borca [Thu, 23 Oct 2003 12:02:36 +0000 (12:02 +0000)]
added a few missing GLAPIENTRYs to make MinGW compile again