mesa.git
21 years agoprevent from optimizing out by some compilers (from XFree86 CVS)
Alan Hourihane [Tue, 21 Oct 2003 21:49:23 +0000 (21:49 +0000)]
prevent from optimizing out by some compilers (from XFree86 CVS)

21 years agoadded more debug code and tests
Brian Paul [Tue, 21 Oct 2003 14:56:53 +0000 (14:56 +0000)]
added more debug code and tests

21 years agowrap in #ifdef FX / #endif
Brian Paul [Tue, 21 Oct 2003 14:55:27 +0000 (14:55 +0000)]
wrap in #ifdef FX / #endif

21 years agofix an error message
Brian Paul [Tue, 21 Oct 2003 14:54:16 +0000 (14:54 +0000)]
fix an error message

21 years agodocumentation update; also new makefiles for Win32 MesaFX build
Daniel Borca [Tue, 21 Oct 2003 11:15:52 +0000 (11:15 +0000)]
documentation update; also new makefiles for Win32 MesaFX build

21 years ago Committing in .
Jouk Jansen [Tue, 21 Oct 2003 10:12:47 +0000 (10:12 +0000)]
 Committing in .

 The latest version of the OpenVMS DECCRTL contains (v)snprintf
 If this one is beeing used the (v)snprintf routines are not compiled in
 from mesa's source.

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

21 years agofixed some NASM opcodes; added segment overrides and temporary labels
Daniel Borca [Tue, 21 Oct 2003 08:33:10 +0000 (08:33 +0000)]
fixed some NASM opcodes; added segment overrides and temporary labels

21 years agoNapalm total immersion
Daniel Borca [Tue, 21 Oct 2003 08:31:02 +0000 (08:31 +0000)]
Napalm total immersion

21 years agocosmetics; translated asm routines for use with ASSYNTAX.H
Daniel Borca [Tue, 21 Oct 2003 08:27:21 +0000 (08:27 +0000)]
cosmetics; translated asm routines for use with ASSYNTAX.H

21 years agoClean out some unused files
Jon Smirl [Tue, 21 Oct 2003 06:26:05 +0000 (06:26 +0000)]
Clean out some unused files

21 years agoUpdate DRI drivers to current DRI CVS and make them work.
Jon Smirl [Tue, 21 Oct 2003 06:05:39 +0000 (06:05 +0000)]
Update DRI drivers to current DRI CVS and make them work.

21 years agoDefine GLAPIENTRYP properly so that GLU compiles on Windows.
Karl Schultz [Mon, 20 Oct 2003 17:36:41 +0000 (17:36 +0000)]
Define GLAPIENTRYP properly so that GLU compiles on Windows.

21 years agoFix error in last check-in.
Karl Schultz [Mon, 20 Oct 2003 16:48:14 +0000 (16:48 +0000)]
Fix error in last check-in.

21 years agoAdd missing files for building Windows distribution.
Karl Schultz [Mon, 20 Oct 2003 16:28:00 +0000 (16:28 +0000)]
Add missing files for building Windows distribution.

21 years agoFix Makefiles to copy lib to $(TOP)/lib if missing
Jon Smirl [Mon, 20 Oct 2003 02:17:32 +0000 (02:17 +0000)]
Fix Makefiles to copy lib to $(TOP)/lib if missing

21 years agoMove initialization of default ctx->Driver.buffer-object-functions into
Brian Paul [Sun, 19 Oct 2003 15:10:36 +0000 (15:10 +0000)]
Move initialization of default ctx->Driver.buffer-object-functions into
bufferobj.c so all the drivers don't have to worry about them.

21 years agofix CVS info
Brian Paul [Fri, 17 Oct 2003 14:09:54 +0000 (14:09 +0000)]
fix CVS info

21 years agoadd .dsp files to tarballs
Brian Paul [Thu, 16 Oct 2003 19:30:22 +0000 (19:30 +0000)]
add .dsp files to tarballs

21 years agoupdate list of files for tarballs
Brian Paul [Thu, 16 Oct 2003 19:25:24 +0000 (19:25 +0000)]
update list of files for tarballs

21 years agoobsolete
Brian Paul [Thu, 16 Oct 2003 16:33:51 +0000 (16:33 +0000)]
obsolete

21 years agoadded GL_ARB_point_sprite tokens
Brian Paul [Thu, 16 Oct 2003 16:33:05 +0000 (16:33 +0000)]
added GL_ARB_point_sprite tokens

21 years agoDefine SOLO so that check is possible for SOLO in project makefiles
Jon Smirl [Thu, 16 Oct 2003 04:54:24 +0000 (04:54 +0000)]
Define SOLO so that check is possible for SOLO in project makefiles

21 years agoMinor changes to make linux-solo build again
Jon Smirl [Thu, 16 Oct 2003 04:50:42 +0000 (04:50 +0000)]
Minor changes to make linux-solo build again

21 years agoprotect whole file with #ifdef FX
Brian Paul [Wed, 15 Oct 2003 21:13:15 +0000 (21:13 +0000)]
protect whole file with #ifdef FX

21 years agofix minor warnings from g++ 3.2
Brian Paul [Wed, 15 Oct 2003 21:11:13 +0000 (21:11 +0000)]
fix minor warnings from g++ 3.2

21 years agoinitialize GetBufferSubData pointer
Brian Paul [Wed, 15 Oct 2003 20:51:28 +0000 (20:51 +0000)]
initialize GetBufferSubData pointer

21 years agominor tweaks
Brian Paul [Wed, 15 Oct 2003 20:50:41 +0000 (20:50 +0000)]
minor tweaks

21 years agoUpdates to SGI GLU code to get it to compile clean with the Open Watcom compiler.
Kendall Bennett [Tue, 14 Oct 2003 23:48:57 +0000 (23:48 +0000)]
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).

21 years agoUpdates to x86 assembler support for Open Watcom and SNAP
Kendall Bennett [Tue, 14 Oct 2003 23:47:21 +0000 (23:47 +0000)]
Updates to x86 assembler support for Open Watcom and SNAP

21 years agoremove some cruft
Brian Paul [Tue, 14 Oct 2003 16:59:44 +0000 (16:59 +0000)]
remove some cruft

21 years agoexercise more vertex buffer object functions
Brian Paul [Tue, 14 Oct 2003 15:49:12 +0000 (15:49 +0000)]
exercise more vertex buffer object functions

21 years agobufObj->Access wasn't being set
Brian Paul [Tue, 14 Oct 2003 15:48:39 +0000 (15:48 +0000)]
bufObj->Access wasn't being set

21 years agominor fixes + doc update
Daniel Borca [Tue, 14 Oct 2003 14:56:45 +0000 (14:56 +0000)]
minor fixes + doc update

21 years agominor fix in buffer_object_get_target()
Brian Paul [Tue, 14 Oct 2003 14:49:39 +0000 (14:49 +0000)]
minor fix in buffer_object_get_target()

21 years agoglide driver (wip)
Daniel Borca [Mon, 13 Oct 2003 11:14:58 +0000 (11:14 +0000)]
glide driver (wip)

21 years agoGameMode
Daniel Borca [Mon, 13 Oct 2003 11:05:36 +0000 (11:05 +0000)]
GameMode

21 years agoadded GL_ARB_point_sprite demo, texgen bug fix
Brian Paul [Sat, 11 Oct 2003 16:42:15 +0000 (16:42 +0000)]
added GL_ARB_point_sprite demo, texgen bug fix

21 years agofix some sphere texgen bugs (reported by Daniel Borca)
Brian Paul [Sat, 11 Oct 2003 16:34:32 +0000 (16:34 +0000)]
fix some sphere texgen bugs (reported by Daniel Borca)

21 years agos/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/
Brian Paul [Sat, 11 Oct 2003 15:41:34 +0000 (15:41 +0000)]
s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/

21 years agodon't request accum buffer in color index mode
Brian Paul [Sat, 11 Oct 2003 15:39:11 +0000 (15:39 +0000)]
don't request accum buffer in color index mode

21 years agodon't use color table's format to determine texture env functions
Brian Paul [Sat, 11 Oct 2003 15:30:14 +0000 (15:30 +0000)]
don't use color table's format to determine texture env functions

21 years agoAdd missing entry points. (Warren Cashen)
Karl Schultz [Fri, 10 Oct 2003 22:09:05 +0000 (22:09 +0000)]
Add missing entry points.  (Warren Cashen)

21 years agoadd switch defaults to silence warnings
Brian Paul [Fri, 10 Oct 2003 18:11:17 +0000 (18:11 +0000)]
add switch defaults to silence warnings

21 years agoremove bogus _swrast_texture_table_lookup() call (Eric Plante)
Brian Paul [Fri, 10 Oct 2003 18:10:54 +0000 (18:10 +0000)]
remove bogus _swrast_texture_table_lookup() call (Eric Plante)

21 years agoold/unused
Brian Paul [Fri, 10 Oct 2003 18:00:57 +0000 (18:00 +0000)]
old/unused

21 years agoEric Plante's updates for OSMesa16.
Brian Paul [Fri, 10 Oct 2003 17:58:38 +0000 (17:58 +0000)]
Eric Plante's updates for OSMesa16.

21 years agoAdd notes about building with the mangled namespace on Windows.
Karl Schultz [Fri, 10 Oct 2003 17:13:47 +0000 (17:13 +0000)]
Add notes about building with the mangled namespace on Windows.

21 years agoAdded missing #undef SPAN_VARS to swrast/s_spantemp.h
Kendall Bennett [Thu, 9 Oct 2003 22:39:07 +0000 (22:39 +0000)]
Added missing #undef SPAN_VARS to swrast/s_spantemp.h

21 years agoMinor MinGW fixes
Daniel Borca [Thu, 9 Oct 2003 15:15:07 +0000 (15:15 +0000)]
Minor MinGW fixes

21 years agoFEATURE_ARB_vertex_buffer_object
Daniel Borca [Thu, 9 Oct 2003 15:13:30 +0000 (15:13 +0000)]
FEATURE_ARB_vertex_buffer_object

21 years agoReorganized combiners. Added optimized span functions.
Daniel Borca [Thu, 9 Oct 2003 15:12:20 +0000 (15:12 +0000)]
Reorganized combiners. Added optimized span functions.

21 years agoEric's mesa-depth32.diff
Keith Whitwell [Thu, 9 Oct 2003 11:33:38 +0000 (11:33 +0000)]
Eric's mesa-depth32.diff

21 years agoMore SciTech SNAP specific changes to glheader.h. Also modified the macros
Kendall Bennett [Wed, 8 Oct 2003 01:53:30 +0000 (01:53 +0000)]
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.

21 years agoindex wasn't being calculated correctly (result was being discarded)
Keith Whitwell [Tue, 7 Oct 2003 12:37:23 +0000 (12:37 +0000)]
index wasn't being calculated correctly (result was being discarded)
in light_ci()

21 years agoVertexAttrib4fv wasn't being installed (4f was).
Keith Whitwell [Mon, 6 Oct 2003 17:57:48 +0000 (17:57 +0000)]
VertexAttrib4fv wasn't being installed (4f was).

21 years agoFix typo
Keith Whitwell [Mon, 6 Oct 2003 14:19:53 +0000 (14:19 +0000)]
Fix typo

21 years agofix error message (bug 816876)
Brian Paul [Fri, 3 Oct 2003 14:37:18 +0000 (14:37 +0000)]
fix error message (bug 816876)

21 years agoimproved 'clean' targets (Otto Solares)
Brian Paul [Fri, 3 Oct 2003 14:03:14 +0000 (14:03 +0000)]
improved 'clean' targets (Otto Solares)

21 years agoRemoved bogus OS/2 floating point->integer conversion routine
Kendall Bennett [Fri, 3 Oct 2003 01:38:28 +0000 (01:38 +0000)]
Removed bogus OS/2 floating point->integer conversion routine

21 years agoFixed incorrect Watcom assembler macros
Kendall Bennett [Fri, 3 Oct 2003 00:15:13 +0000 (00:15 +0000)]
Fixed incorrect Watcom assembler macros

21 years agoFixed bugs in Mesa software span rendering for color index modes
Kendall Bennett [Thu, 2 Oct 2003 23:50:44 +0000 (23:50 +0000)]
Fixed bugs in Mesa software span rendering for color index modes

21 years agoupdates from Daniel Borca
Brian Paul [Thu, 2 Oct 2003 17:36:43 +0000 (17:36 +0000)]
updates from Daniel Borca

21 years agoUpdates required for building the SciTech SNAP version of Mesa. This includes:
Kendall Bennett [Tue, 30 Sep 2003 20:02:27 +0000 (20:02 +0000)]
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.

21 years agochar -> GLubyte
Alan Hourihane [Tue, 30 Sep 2003 12:59:17 +0000 (12:59 +0000)]
char -> GLubyte

21 years agoadd gamma driver - no kernel driver yet
Alan Hourihane [Tue, 30 Sep 2003 11:28:16 +0000 (11:28 +0000)]
add gamma driver - no kernel driver yet
(build tested, not physically tested)

21 years agoadd the SiS driver - no kernel driver yet
Alan Hourihane [Tue, 30 Sep 2003 11:13:31 +0000 (11:13 +0000)]
add the SiS driver - no kernel driver yet
(build tested, but not physically tested)

21 years agofix cut & paste errors
Alan Hourihane [Tue, 30 Sep 2003 11:05:46 +0000 (11:05 +0000)]
fix cut & paste errors

21 years agoadd the i830 driver - no kernel driver yet
Alan Hourihane [Tue, 30 Sep 2003 11:02:38 +0000 (11:02 +0000)]
add the i830 driver - no kernel driver yet
(build tested, but not physically tested)

21 years agoadd the i810 driver - no kernel driver yet
Alan Hourihane [Tue, 30 Sep 2003 10:54:15 +0000 (10:54 +0000)]
add the i810 driver - no kernel driver yet
(build tested, but not physically tested)

21 years agomkdir the server directory, as using cvs with -P would prune an empty
Alan Hourihane [Tue, 30 Sep 2003 10:29:15 +0000 (10:29 +0000)]
mkdir the server directory, as using cvs with -P would prune an empty
directory

21 years agoAdd project file for new spriteblast demo. (Update dependency)
Karl Schultz [Thu, 25 Sep 2003 19:17:30 +0000 (19:17 +0000)]
Add project file for new spriteblast demo. (Update dependency)

21 years agoAdd project file for new spriteblast demo.
Karl Schultz [Thu, 25 Sep 2003 19:15:22 +0000 (19:15 +0000)]
Add project file for new spriteblast demo.

21 years agoGL_ARB_point_sprite demo
Brian Paul [Wed, 24 Sep 2003 20:41:53 +0000 (20:41 +0000)]
GL_ARB_point_sprite demo

21 years agoMS dev studio project file for teapots demo.
Karl Schultz [Wed, 24 Sep 2003 17:37:00 +0000 (17:37 +0000)]
MS dev studio project file for teapots demo.

21 years agoWorkspace file for redbook programs
Karl Schultz [Wed, 24 Sep 2003 17:36:00 +0000 (17:36 +0000)]
Workspace file for redbook programs

21 years agoChange projection transform so that the top row of teapots are now visible.
Karl Schultz [Wed, 24 Sep 2003 17:34:32 +0000 (17:34 +0000)]
Change projection transform so that the top row of teapots are now visible.

21 years agoadded info about vertex/fragment program debugger
Brian Paul [Tue, 23 Sep 2003 15:40:57 +0000 (15:40 +0000)]
added info about vertex/fragment program debugger

21 years agoenum updates
Brian Paul [Tue, 23 Sep 2003 14:46:11 +0000 (14:46 +0000)]
enum updates

21 years agonew enum values for GL_MESA_program_debug
Brian Paul [Tue, 23 Sep 2003 14:44:33 +0000 (14:44 +0000)]
new enum values for GL_MESA_program_debug

21 years agominor clean-ups
Brian Paul [Tue, 23 Sep 2003 14:42:52 +0000 (14:42 +0000)]
minor clean-ups

21 years agoremove a _TriangleCaps reference
Brian Paul [Tue, 23 Sep 2003 14:41:02 +0000 (14:41 +0000)]
remove a _TriangleCaps reference

21 years agoAdd extra cases and enums for _mesa_fetch_state(), and set the length of
Karl Rasche [Tue, 23 Sep 2003 00:45:56 +0000 (00:45 +0000)]
Add extra cases and enums for _mesa_fetch_state(), and set the length of
program_parameter.StateIndexes[] to 6, used for fetching matrix state

21 years agoCreate 'all' project to make it easy to build and clean all the programs in the demos...
Karl Schultz [Mon, 22 Sep 2003 18:21:19 +0000 (18:21 +0000)]
Create 'all' project to make it easy to build and clean all the programs in the demos directory.

21 years agoAdd remaining demos.
Karl Schultz [Mon, 22 Sep 2003 18:03:09 +0000 (18:03 +0000)]
Add remaining demos.

21 years agoNew visual studio project fiile for building demos.
Karl Schultz [Mon, 22 Sep 2003 18:02:45 +0000 (18:02 +0000)]
New visual studio project fiile for building demos.

21 years agoapply patch #740145 from SourceForge
Brian Paul [Mon, 22 Sep 2003 15:18:50 +0000 (15:18 +0000)]
apply patch #740145 from SourceForge

21 years agocasts
Brian Paul [Fri, 19 Sep 2003 15:39:11 +0000 (15:39 +0000)]
casts

21 years agoAssorted casts to silence g++ warnings.
Brian Paul [Fri, 19 Sep 2003 15:38:15 +0000 (15:38 +0000)]
Assorted casts to silence g++ warnings.

21 years agoAdd include for context.h to define NEED_SECONDARY_COLOR.
Karl Schultz [Fri, 19 Sep 2003 15:28:45 +0000 (15:28 +0000)]
Add include for context.h to define NEED_SECONDARY_COLOR.

21 years agoMake binary - even though this is a text file, common practice is to store MS studio...
Karl Schultz [Fri, 19 Sep 2003 15:08:42 +0000 (15:08 +0000)]
Make binary - even though this is a text file, common practice is to store MS studio files as binary

21 years agosummary of Mesa's extension enum values
Brian Paul [Fri, 19 Sep 2003 15:07:57 +0000 (15:07 +0000)]
summary of Mesa's extension enum values

21 years agoMake binary - even though this is a text file, common practice is to store MS studio...
Karl Schultz [Fri, 19 Sep 2003 14:58:35 +0000 (14:58 +0000)]
Make binary - even though this is a text file, common practice is to store MS studio files as binary

21 years agominor updates
Brian Paul [Fri, 19 Sep 2003 14:58:21 +0000 (14:58 +0000)]
minor updates

21 years agoMake binary - even though this is a text file, common practice is to store MS studio...
Karl Schultz [Fri, 19 Sep 2003 14:49:54 +0000 (14:49 +0000)]
Make binary - even though this is a text file, common practice is to store MS studio files as binary

21 years agoadded note about _TriangleCaps
Brian Paul [Thu, 18 Sep 2003 23:42:08 +0000 (23:42 +0000)]
added note about _TriangleCaps

21 years agoa few less occurances of _TriangleCaps
Brian Paul [Thu, 18 Sep 2003 23:36:07 +0000 (23:36 +0000)]
a few less occurances of _TriangleCaps

21 years agoMove away from using the ctx->_TriangleCaps bitfield.
Brian Paul [Thu, 18 Sep 2003 23:21:08 +0000 (23:21 +0000)]
Move away from using the ctx->_TriangleCaps bitfield.
New macros in context.h for testing state: NEED_SECONDARY_COLOR
and NEED_TWO_SIDED_LIGHTING.

21 years agotweak an error message
Brian Paul [Thu, 18 Sep 2003 23:10:36 +0000 (23:10 +0000)]
tweak an error message

21 years agos/_backface_sign/_BackfaceSign/
Brian Paul [Thu, 18 Sep 2003 22:25:31 +0000 (22:25 +0000)]
s/_backface_sign/_BackfaceSign/

21 years agoUpdated for new Windows build system.
Karl Schultz [Thu, 18 Sep 2003 19:10:53 +0000 (19:10 +0000)]
Updated for new Windows build system.