Commit graph

2596 commits

Author SHA1 Message Date
Brian Paul
0f85b91c8a Move initialization of default ctx->Driver.buffer-object-functions into
bufferobj.c so all the drivers don't have to worry about them.
2003-10-19 15:10:36 +00:00
Brian Paul
e8db87ee88 obsolete 2003-10-16 16:33:51 +00:00
Jon Smirl
3fc0db95e4 Minor changes to make linux-solo build again 2003-10-16 04:50:42 +00:00
Brian Paul
f62b8985d6 protect whole file with #ifdef FX 2003-10-15 21:13:15 +00:00
Brian Paul
4eaf56a160 fix minor warnings from g++ 3.2 2003-10-15 21:11:13 +00:00
Brian Paul
16927d02bc initialize GetBufferSubData pointer 2003-10-15 20:51:28 +00:00
Brian Paul
49aefce5e5 minor tweaks 2003-10-15 20:50:41 +00:00
Kendall Bennett
596d57c42a Updates to SGI GLU code to get it to compile clean with the Open Watcom compiler.
Most of the changes were to get rid of warnings, but many of the warnings could
not be removed in the code so I also added #pragma's to disable the warnings.
Someone really should clean up this code, but I didn't want to mess with it
that much (and potentially break it).
2003-10-14 23:48:57 +00:00
Kendall Bennett
9b77fb7dab Updates to x86 assembler support for Open Watcom and SNAP 2003-10-14 23:47:21 +00:00
Brian Paul
0bb281ba21 bufObj->Access wasn't being set 2003-10-14 15:48:39 +00:00
Daniel Borca
0219d1168e minor fixes + doc update 2003-10-14 14:56:45 +00:00
Brian Paul
4b6f6e1b3d minor fix in buffer_object_get_target() 2003-10-14 14:49:39 +00:00
Daniel Borca
fd83bc2b33 glide driver (wip) 2003-10-13 11:14:58 +00:00
Daniel Borca
6c520ef3d3 GameMode 2003-10-13 11:05:36 +00:00
Brian Paul
2655e68504 fix some sphere texgen bugs (reported by Daniel Borca) 2003-10-11 16:34:32 +00:00
Brian Paul
4128d88b98 s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ 2003-10-11 15:41:34 +00:00
Brian Paul
5dce1e5c42 don't request accum buffer in color index mode 2003-10-11 15:39:11 +00:00
Brian Paul
dd29e04bd6 don't use color table's format to determine texture env functions 2003-10-11 15:30:14 +00:00
Brian Paul
e6804945b3 add switch defaults to silence warnings 2003-10-10 18:11:17 +00:00
Brian Paul
db40aec48c remove bogus _swrast_texture_table_lookup() call (Eric Plante) 2003-10-10 18:10:54 +00:00
Brian Paul
78f8292a54 old/unused 2003-10-10 18:00:57 +00:00
Brian Paul
1c4b7116c4 Eric Plante's updates for OSMesa16. 2003-10-10 17:58:38 +00:00
Kendall Bennett
d4155bd1df Added missing #undef SPAN_VARS to swrast/s_spantemp.h 2003-10-09 22:39:07 +00:00
Daniel Borca
1ffdad4939 FEATURE_ARB_vertex_buffer_object 2003-10-09 15:13:30 +00:00
Daniel Borca
d9f1e453ea Reorganized combiners. Added optimized span functions. 2003-10-09 15:12:20 +00:00
Keith Whitwell
bcb3957b6c Eric's mesa-depth32.diff 2003-10-09 11:33:38 +00:00
Kendall Bennett
2cdd699a77 More SciTech SNAP specific changes to glheader.h. Also modified the macros
in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
2003-10-08 01:53:30 +00:00
Keith Whitwell
4e5b58f483 index wasn't being calculated correctly (result was being discarded)
in light_ci()
2003-10-07 12:37:23 +00:00
Keith Whitwell
a4fc8035f1 VertexAttrib4fv wasn't being installed (4f was). 2003-10-06 17:57:48 +00:00
Keith Whitwell
3e291c01ea Fix typo 2003-10-06 14:19:53 +00:00
Brian Paul
facb597f48 fix error message (bug 816876) 2003-10-03 14:37:18 +00:00
Brian Paul
5fd77da4f6 improved 'clean' targets (Otto Solares) 2003-10-03 14:03:14 +00:00
Kendall Bennett
7d8eb0604a Removed bogus OS/2 floating point->integer conversion routine 2003-10-03 01:38:28 +00:00
Kendall Bennett
d7fe183f76 Fixed incorrect Watcom assembler macros 2003-10-03 00:15:13 +00:00
Kendall Bennett
adbbea9b51 Fixed bugs in Mesa software span rendering for color index modes 2003-10-02 23:50:44 +00:00
Brian Paul
a75246f8f5 updates from Daniel Borca 2003-10-02 17:36:43 +00:00
Kendall Bennett
d6643331ab Updates required for building the SciTech SNAP version of Mesa. This includes:
1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__
   is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper
   that defines a bunch of necessary stuff and then included GL/gl_mesa.h which
   is the normal Mesa GL/gl.h header file renamed.

2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header
   files. This will better support other compilers like IBM VisualAge C++. I
   added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so
   existing code will compile the same, but when the SNAP version is being
   built we will use the correc definitions for the target compiler.

3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom
   compiler complaints.

4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for
   now). Probably not necessary, but the original macro was wrong and we use
   that macro in our code.

5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when
   using a compiler that has a case insensitive link.
2003-09-30 20:02:27 +00:00
Alan Hourihane
7214e1a1c4 char -> GLubyte 2003-09-30 12:59:17 +00:00
Alan Hourihane
e508f7f08e add gamma driver - no kernel driver yet
(build tested, not physically tested)
2003-09-30 11:28:16 +00:00
Alan Hourihane
0f2e186926 add the SiS driver - no kernel driver yet
(build tested, but not physically tested)
2003-09-30 11:13:31 +00:00
Alan Hourihane
525dda4f26 fix cut & paste errors 2003-09-30 11:05:46 +00:00
Alan Hourihane
6bec5b30e1 add the i830 driver - no kernel driver yet
(build tested, but not physically tested)
2003-09-30 11:02:38 +00:00
Alan Hourihane
73b0420bba add the i810 driver - no kernel driver yet
(build tested, but not physically tested)
2003-09-30 10:54:15 +00:00
Alan Hourihane
5b5142b543 mkdir the server directory, as using cvs with -P would prune an empty
directory
2003-09-30 10:29:15 +00:00
Brian Paul
8f7141e970 minor clean-ups 2003-09-23 14:42:52 +00:00
Brian Paul
d01681d6c9 remove a _TriangleCaps reference 2003-09-23 14:41:02 +00:00
Karl Rasche
d11bb2b297 Add extra cases and enums for _mesa_fetch_state(), and set the length of
program_parameter.StateIndexes[] to 6, used for fetching matrix state
2003-09-23 00:45:56 +00:00
Brian Paul
9d55394471 apply patch #740145 from SourceForge 2003-09-22 15:18:50 +00:00
Brian Paul
a13fb034cb casts 2003-09-19 15:39:11 +00:00
Brian Paul
e4fcea2e06 Assorted casts to silence g++ warnings. 2003-09-19 15:38:15 +00:00