Commit graph

23866 commits

Author SHA1 Message Date
Karl Schultz
9b9a57a25c 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.
2003-12-04 20:55:58 +00:00
Karl Schultz
fed1cda2ad update files 2003-12-04 20:44:49 +00:00
Karl Schultz
44c00033f2 Add missing GLAPIENTRY 2003-12-04 20:43:24 +00:00
Karl Schultz
d6745697b6 Add missing GLAPIENTRY 2003-12-04 20:23:44 +00:00
Alan Hourihane
ddd3fad6e5 use _swrast_CopyPixels for XFree86 2003-12-04 20:10:54 +00:00
Alan Hourihane
e78dd78e4a merge latest DRI sis driver changes from the DRI trunk 2003-12-04 18:17:32 +00:00
Alan Hourihane
ecb1a5f7f9 build fix 2003-12-04 16:58:29 +00:00
Alan Hourihane
21a218f5bf build fixes 2003-12-04 16:57:43 +00:00
Alan Hourihane
164c703e98 build fixes 2003-12-04 16:38:05 +00:00
Alan Hourihane
4abac931e8 build fixes 2003-12-04 16:07:17 +00:00
Brian Paul
1d7b75c3ad don't use new glDrawPixel routines in Xserver 2003-12-04 15:29:10 +00:00
Alan Hourihane
8ea178d68f remove duplicate declaration 2003-12-04 14:30:53 +00:00
Alan Hourihane
b97faf113d build fixes 2003-12-04 14:04:35 +00:00
Alan Hourihane
4e638426fd build fix 2003-12-04 14:00:56 +00:00
Alan Hourihane
84f6b5206f build fixes 2003-12-04 13:40:28 +00:00
Alan Hourihane
13e6a4849c add SPARC ffb DRI driver 2003-12-04 13:38:06 +00:00
Alan Hourihane
15af25aca0 build fixes 2003-12-04 13:28:10 +00:00
Alan Hourihane
e05ab2795b add tdfx DRI driver 2003-12-04 13:27:05 +00:00
Brian Paul
b305028464 Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings. 2003-12-04 03:19:46 +00:00
Brian Paul
03e29a5f77 Fix some problems with glDrawElements and vertex buffer objects. 2003-12-04 03:16:27 +00:00
Keith Whitwell
6ff60049a4 Ensure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped. 2003-12-03 10:15:17 +00:00
Karl Rasche
ce0f8fef86 Remove things having to do with ARB_matrix_palette/ARB_vertex_blend 2003-12-02 22:41:45 +00:00
Brian Paul
9a90cd40c6 fix __sparc_v9__ test to exclude linux (bug 852204) 2003-12-01 22:40:26 +00:00
Brian Paul
06cfb44564 updated list of files since merging vtx branch 2003-12-01 22:33:07 +00:00
Brian Paul
870a9acd02 s/texUnit->Enabled/enableBits/ (Karl Rasche) 2003-11-30 19:55:13 +00:00
Karl Rasche
1df1547f9e Fixed compiler warnings
Assign the correct thing to TexturesUsed[]
2003-11-30 15:59:28 +00:00
Brian Paul
de0dd65aee 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.
2003-11-29 19:36:08 +00:00
Brian Paul
e90de7883a 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.
2003-11-29 19:33:33 +00:00
Brian Paul
afb6fe034c more tweaks to error checking and reporting 2003-11-28 21:06:40 +00:00
Brian Paul
deb4a63a86 if id==0 in glGetQueryObject, raise GL_INVALID_OPERATION 2003-11-28 20:30:36 +00:00
Brian Paul
c99e2dd1d3 fix an error test 2003-11-28 18:18:50 +00:00
Keith Whitwell
326bc7150d Save and restore front colors on backfacing triangles rather than trying to
pull them again from the VB pointers.  Avoids stride issues.
2003-11-28 09:43:18 +00:00
Daniel Borca
854b4a3b54 accomodate vtx-0-2-branch 2003-11-26 08:32:35 +00:00
Brian Paul
0f3cd3f894 current raster color index should be GLfloat 2003-11-25 22:45:59 +00:00
Brian Paul
7939ed0e8e Otto Solares' patch to add radeon 9200 2003-11-25 16:45:33 +00:00
Brian Paul
8236a534b7 fix assorted g++ warnings 2003-11-25 16:39:31 +00:00
Brian Paul
2c9f50dd4a casts for g++ 2003-11-25 16:21:51 +00:00
Brian Paul
3bc7f3f864 fix a lot of warnings found with g++ 2003-11-25 16:18:31 +00:00
Brian Paul
97d8a35fa8 silence a warning 2003-11-25 16:02:39 +00:00
Brian Paul
47b0bc1a36 remove __FUNCTION__ hack 2003-11-25 16:02:24 +00:00
Brian Paul
4ccbe9e666 added a cast 2003-11-25 16:00:25 +00:00
Brian Paul
b65bc4f87b Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
2003-11-25 15:58:22 +00:00
Karl Rasche
e749be22b0 - 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
2003-11-25 02:08:05 +00:00
Karl Rasche
9bc3753a51 added support for generic vertex attributes (ARB_vp) and their error checking 2003-11-25 00:04:36 +00:00
Brian Paul
18199d3954 updated after APIspec fixes 2003-11-24 23:14:53 +00:00
Brian Paul
2171fadc26 oops, fix glitches in 1.5 functions 2003-11-24 23:03:29 +00:00
Brian Paul
e1a107c4e7 minor cast fixes 2003-11-24 22:32:16 +00:00
Brian Paul
62b6eb320e generate the OpenGL 1.5 entrypoints 2003-11-24 22:30:32 +00:00
Brian Paul
b52559eb8c set the VB->FogCoordPtr with the other legacy pointers 2003-11-24 17:00:03 +00:00
Brian Paul
c515f90ec3 fix YCBCR assertion and disable assertion in auto-mipmap code 2003-11-24 16:51:26 +00:00