mesa.git
22 years agodisable wsPriv field in __GLdrawablePrivateRec to match XFree86/DRI
Brian Paul [Mon, 14 Oct 2002 17:12:01 +0000 (17:12 +0000)]
disable wsPriv field in  __GLdrawablePrivateRec to match XFree86/DRI

22 years agocontext-related cleanups (ex: _mesa_notifySwapBuffers instead of _mesa_swapbuffers)
Brian Paul [Mon, 14 Oct 2002 17:08:17 +0000 (17:08 +0000)]
context-related cleanups (ex: _mesa_notifySwapBuffers instead of _mesa_swapbuffers)

22 years agoGlide driver disabled by default
Brian Paul [Mon, 14 Oct 2002 14:19:11 +0000 (14:19 +0000)]
Glide driver disabled by default

22 years agoprint transparent pixel info when using -v option (Gerd Sussner)
Brian Paul [Mon, 14 Oct 2002 13:57:23 +0000 (13:57 +0000)]
print transparent pixel info when using -v option (Gerd Sussner)

22 years agoadded missing GLX_TRANSPARENT_RGB
Brian Paul [Mon, 14 Oct 2002 13:52:27 +0000 (13:52 +0000)]
added missing GLX_TRANSPARENT_RGB

22 years agocheck EXT_point_parameters before calling PointParameterfvEXT()
Brian Paul [Fri, 11 Oct 2002 21:42:08 +0000 (21:42 +0000)]
check EXT_point_parameters before calling PointParameterfvEXT()

22 years agoinit swrast->CurrentBuffer
Brian Paul [Fri, 11 Oct 2002 17:50:59 +0000 (17:50 +0000)]
init swrast->CurrentBuffer

22 years agoupdated info about glRead/DrawBuffers()
Brian Paul [Fri, 11 Oct 2002 17:42:48 +0000 (17:42 +0000)]
updated info about glRead/DrawBuffers()

22 years agoAnother round of glRead/DrawBuffer() clean-ups and simplifications.
Brian Paul [Fri, 11 Oct 2002 17:41:03 +0000 (17:41 +0000)]
Another round of glRead/DrawBuffer() clean-ups and simplifications.
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer.
Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask.
swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now.
Added tokens and code for GL_AUX buffers, for completeness.

22 years agoundo previous check-in (check if ctx->Color.DrawBuffer == mode)
Brian Paul [Fri, 11 Oct 2002 15:17:12 +0000 (15:17 +0000)]
undo previous check-in (check if ctx->Color.DrawBuffer == mode)

22 years agolineloop fix
Keith Whitwell [Fri, 11 Oct 2002 08:24:13 +0000 (08:24 +0000)]
lineloop fix

22 years agocheck mode for no change in _mesa_Read/DrawBuffer()
Brian Paul [Fri, 11 Oct 2002 00:02:16 +0000 (00:02 +0000)]
check mode for no change in _mesa_Read/DrawBuffer()

22 years agoupdated porting info
Brian Paul [Thu, 10 Oct 2002 23:49:02 +0000 (23:49 +0000)]
updated porting info

22 years agoadd GL_UNPACK_CLIENT_STORAGE_APPLE gets
Keith Whitwell [Thu, 10 Oct 2002 18:03:44 +0000 (18:03 +0000)]
add GL_UNPACK_CLIENT_STORAGE_APPLE gets

22 years agocheck texImage->IsClientData before freeing memory
Brian Paul [Thu, 10 Oct 2002 14:12:09 +0000 (14:12 +0000)]
check texImage->IsClientData before freeing memory

22 years agodisable _glapi_set_warning_func() call as it's not present in older libGLs
Brian Paul [Thu, 10 Oct 2002 00:22:13 +0000 (00:22 +0000)]
disable _glapi_set_warning_func() call as it's not present in older libGLs

22 years agoremoved old TEXTURE0_ defines
Brian Paul [Wed, 9 Oct 2002 23:56:32 +0000 (23:56 +0000)]
removed old TEXTURE0_ defines

22 years agoremoved old VERT_* defines, use VERT_BIT_* instead
Brian Paul [Wed, 9 Oct 2002 19:45:53 +0000 (19:45 +0000)]
removed old VERT_* defines, use VERT_BIT_* instead

22 years agouse new vertex bitfield tokens
Brian Paul [Wed, 9 Oct 2002 19:38:32 +0000 (19:38 +0000)]
use new vertex bitfield tokens

22 years agodisable wscx field in __GLimportsRec to be consistant with XFree86
Brian Paul [Wed, 9 Oct 2002 19:37:32 +0000 (19:37 +0000)]
disable wscx field in __GLimportsRec to be consistant with XFree86

22 years agoXFree86 fixes (clib macro wrappers)
Brian Paul [Wed, 9 Oct 2002 19:36:24 +0000 (19:36 +0000)]
XFree86 fixes (clib macro wrappers)

22 years agodisable XMesaCreatePBuffer() for XFree86
Brian Paul [Wed, 9 Oct 2002 19:35:11 +0000 (19:35 +0000)]
disable XMesaCreatePBuffer() for XFree86

22 years agofinally get rid of ctx->Texture._ReallyEnabled field
Brian Paul [Tue, 8 Oct 2002 23:59:33 +0000 (23:59 +0000)]
finally get rid of ctx->Texture._ReallyEnabled field

22 years agofix a typo
Brian Paul [Tue, 8 Oct 2002 23:58:55 +0000 (23:58 +0000)]
fix a typo

22 years agochange fog from GLfloat to GLfloat[4] (like other vertex attribs)
Brian Paul [Tue, 8 Oct 2002 23:57:50 +0000 (23:57 +0000)]
change fog from GLfloat to GLfloat[4] (like other vertex attribs)

22 years agos/glVertexAttrib4fNV/_glapi->Dispatch->VertexAttrib4fNV/
Brian Paul [Tue, 8 Oct 2002 23:57:13 +0000 (23:57 +0000)]
s/glVertexAttrib4fNV/_glapi->Dispatch->VertexAttrib4fNV/

22 years agoadded missing dispatch code for new AGP-related functions
Brian Paul [Tue, 8 Oct 2002 23:16:26 +0000 (23:16 +0000)]
added missing dispatch code for new AGP-related functions

22 years agoimport from DRI CVS
Brian Paul [Tue, 8 Oct 2002 23:14:43 +0000 (23:14 +0000)]
import from DRI CVS

22 years agoGLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions
Brian Paul [Tue, 8 Oct 2002 22:47:53 +0000 (22:47 +0000)]
GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions

22 years ago Committing in .
Jouk Jansen [Tue, 8 Oct 2002 08:38:26 +0000 (08:38 +0000)]
 Committing in .

 Add compile support in the xdemos directory for OpenVMS

 Modified Files:
  Mesa/descrip.mms Mesa/xdemos/descrip.mms
  Mesa/xdemos/glxgears.c
 ----------------------------------------------------------------------

22 years agoremoved old comment
Brian Paul [Mon, 7 Oct 2002 15:03:14 +0000 (15:03 +0000)]
removed old comment

22 years agoadded GLX_SGIX_fbconfig and GLX_SGIX_pbuffer
Brian Paul [Sat, 5 Oct 2002 18:32:38 +0000 (18:32 +0000)]
added GLX_SGIX_fbconfig and GLX_SGIX_pbuffer

22 years agoadded pbinfo and pbdemo programs
Brian Paul [Sat, 5 Oct 2002 18:30:46 +0000 (18:30 +0000)]
added pbinfo and pbdemo programs

22 years agopbuffer info and demo programs
Brian Paul [Sat, 5 Oct 2002 18:30:13 +0000 (18:30 +0000)]
pbuffer info and demo programs

22 years agoPbuffers seem to work!
Brian Paul [Sat, 5 Oct 2002 18:27:41 +0000 (18:27 +0000)]
Pbuffers seem to work!

22 years agoadded XMesaCreatePBuffer()
Brian Paul [Sat, 5 Oct 2002 03:03:37 +0000 (03:03 +0000)]
added XMesaCreatePBuffer()

22 years agomore work on fbconfig/pbuffer support
Brian Paul [Sat, 5 Oct 2002 03:02:34 +0000 (03:02 +0000)]
more work on fbconfig/pbuffer support

22 years agoGLfloat/GLchan updates
Brian Paul [Sat, 5 Oct 2002 03:02:01 +0000 (03:02 +0000)]
GLfloat/GLchan updates

22 years agorestore ACCUM_BITS to 16
Brian Paul [Sat, 5 Oct 2002 03:01:28 +0000 (03:01 +0000)]
restore ACCUM_BITS to 16

22 years agoinclude procs for compressed textures
Karl Schultz [Fri, 4 Oct 2002 23:11:03 +0000 (23:11 +0000)]
include procs for compressed textures

22 years agoremove const storage class specifier for the decl of a var that isn't
Karl Schultz [Fri, 4 Oct 2002 23:10:06 +0000 (23:10 +0000)]
remove const storage class specifier for the decl of a var that isn't
a const.

22 years agoupdated list of internal changes in 4.1
Brian Paul [Fri, 4 Oct 2002 19:10:27 +0000 (19:10 +0000)]
updated list of internal changes in 4.1

22 years agoChanged a number of context fields from GLchan to GLfloat (such as ClearColor).
Brian Paul [Fri, 4 Oct 2002 19:10:06 +0000 (19:10 +0000)]
Changed a number of context fields from GLchan to GLfloat (such as ClearColor).
Also changed parameter types for some driver functions (like ctx->Driver.Clear-
Color).  Updated all the device drivers.
Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.

22 years agomultiple GL_POINTS can now be rendered together into one fragment span
Brian Paul [Fri, 4 Oct 2002 17:37:45 +0000 (17:37 +0000)]
multiple GL_POINTS can now be rendered together into one fragment span

22 years agoFix for bug 618459. Mods to allow compilation on VC++ 5.0 (Michael Krause)
Karl Schultz [Fri, 4 Oct 2002 15:58:33 +0000 (15:58 +0000)]
Fix for bug 618459.  Mods to allow compilation on VC++ 5.0 (Michael Krause)

22 years agorecord GL_INVALID_VALUE in glVertexAttrib*NV() if index > 15
Brian Paul [Thu, 3 Oct 2002 23:27:22 +0000 (23:27 +0000)]
record GL_INVALID_VALUE in glVertexAttrib*NV() if index > 15

22 years agofinished up GL_EXT_stencil_two_side
Brian Paul [Wed, 2 Oct 2002 23:24:04 +0000 (23:24 +0000)]
finished up GL_EXT_stencil_two_side

22 years agoremoved unused ctx->Polygon.OffsetMRD
Brian Paul [Wed, 2 Oct 2002 22:05:55 +0000 (22:05 +0000)]
removed unused ctx->Polygon.OffsetMRD

22 years agoremoved ctx->Polygon._OffsetAny - not really needed
Brian Paul [Wed, 2 Oct 2002 21:44:08 +0000 (21:44 +0000)]
removed ctx->Polygon._OffsetAny - not really needed

22 years agobring over from 4.0.4 branch
Brian Paul [Wed, 2 Oct 2002 17:32:26 +0000 (17:32 +0000)]
bring over from 4.0.4 branch

22 years agobetter error checking related to YCbCr images
Brian Paul [Wed, 2 Oct 2002 17:25:05 +0000 (17:25 +0000)]
better error checking related to YCbCr images

22 years ago_glapi_get_proc_address() now always returns a valid dispatch stub function
Brian Paul [Wed, 2 Oct 2002 01:51:44 +0000 (01:51 +0000)]
_glapi_get_proc_address() now always returns a valid dispatch stub function
(provided we're on x86 or SPARC).  Later, _glapi_add_entrypoint() will fix-up
the dispatch offset (which was -1).  This will allow DRI libGL to avoid
probing for drivers.

22 years ago Committing in .
Jouk Jansen [Fri, 27 Sep 2002 14:47:24 +0000 (14:47 +0000)]
 Committing in .

 texcompress.c added to OpenVMS makefile.

 Modified Files:
  Mesa/src/descrip.mms
 ----------------------------------------------------------------------

22 years agonew texture compression infrastructure
Brian Paul [Fri, 27 Sep 2002 02:45:37 +0000 (02:45 +0000)]
new texture compression infrastructure

22 years agofix bug in index_mask() (bug 609837)
Brian Paul [Mon, 23 Sep 2002 17:21:53 +0000 (17:21 +0000)]
fix bug in index_mask() (bug 609837)

22 years agomerge gl_texture_image RowStride from DRI 4.0.4
Brian Paul [Mon, 23 Sep 2002 16:37:13 +0000 (16:37 +0000)]
merge gl_texture_image RowStride from DRI 4.0.4

22 years agoupdate from Daniel Borca
Brian Paul [Sat, 21 Sep 2002 22:45:37 +0000 (22:45 +0000)]
update from Daniel Borca

22 years agoGL_MESA_pack_invert
Brian Paul [Sat, 21 Sep 2002 17:34:56 +0000 (17:34 +0000)]
GL_MESA_pack_invert

22 years agoupdates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
Brian Paul [Sat, 21 Sep 2002 16:51:25 +0000 (16:51 +0000)]
updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)

22 years agomerge updates from 4.0.4
Brian Paul [Sat, 21 Sep 2002 16:47:09 +0000 (16:47 +0000)]
merge updates from 4.0.4

22 years agoadded src/BeOS/*.h to file list
Brian Paul [Thu, 19 Sep 2002 16:36:52 +0000 (16:36 +0000)]
added src/BeOS/*.h to file list

22 years agostencil two-side and 3dfx fix
Brian Paul [Thu, 19 Sep 2002 16:34:55 +0000 (16:34 +0000)]
stencil two-side and 3dfx fix

22 years agotwo-side stencil info
Brian Paul [Thu, 19 Sep 2002 16:34:29 +0000 (16:34 +0000)]
two-side stencil info

22 years agoUpdated BeOS support (Philippe Houdoin)
Brian Paul [Thu, 19 Sep 2002 16:19:43 +0000 (16:19 +0000)]
Updated BeOS support (Philippe Houdoin)

22 years agopush and pop ESI (Daniel Borca)
Brian Paul [Thu, 19 Sep 2002 16:07:32 +0000 (16:07 +0000)]
push and pop ESI (Daniel Borca)

22 years agoobsolete
Brian Paul [Thu, 19 Sep 2002 16:05:01 +0000 (16:05 +0000)]
obsolete

22 years agopull-in changes from DRI/Mesa-4.0.4
Brian Paul [Tue, 17 Sep 2002 15:46:34 +0000 (15:46 +0000)]
pull-in changes from DRI/Mesa-4.0.4

22 years agoremove GLint t, pass target to _mesa_init_teximage_fields()
Brian Paul [Tue, 17 Sep 2002 14:14:18 +0000 (14:14 +0000)]
remove GLint t, pass target to _mesa_init_teximage_fields()

22 years agofixed _mesa_generate_mipmaps() target problem
Brian Paul [Mon, 16 Sep 2002 17:57:14 +0000 (17:57 +0000)]
fixed _mesa_generate_mipmaps() target problem

22 years agomore detailed _mesa_error() messages
Brian Paul [Mon, 16 Sep 2002 17:56:02 +0000 (17:56 +0000)]
more detailed _mesa_error() messages

22 years agodoxygen comments
Brian Paul [Mon, 16 Sep 2002 17:55:36 +0000 (17:55 +0000)]
doxygen comments

22 years agofixed pixel pack bug in glGetTexImage()
Brian Paul [Sat, 14 Sep 2002 16:51:34 +0000 (16:51 +0000)]
fixed pixel pack bug in glGetTexImage()

22 years agoMark destroyed context as not current. (Frank Warmerdam)
Karl Schultz [Thu, 12 Sep 2002 17:05:55 +0000 (17:05 +0000)]
Mark destroyed context as not current.  (Frank Warmerdam)

22 years agooptimizations to _math_matrix_rotate() (Rudolf Opalla)
Brian Paul [Thu, 12 Sep 2002 16:26:04 +0000 (16:26 +0000)]
optimizations to _math_matrix_rotate() (Rudolf Opalla)

22 years agomore detailed _mesa_error() strings
Brian Paul [Sun, 8 Sep 2002 17:29:16 +0000 (17:29 +0000)]
more detailed _mesa_error() strings

22 years agoincorrect dimenstion passed to texture_error_check() in compressed teximage functions
Brian Paul [Fri, 6 Sep 2002 14:42:04 +0000 (14:42 +0000)]
incorrect dimenstion passed to texture_error_check() in compressed teximage functions

22 years agoremoved GL_MAX_CONVOLUTION_WIDTH/HEIGHT
Brian Paul [Fri, 6 Sep 2002 13:00:50 +0000 (13:00 +0000)]
removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT

22 years agodon't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT
Brian Paul [Fri, 6 Sep 2002 12:58:56 +0000 (12:58 +0000)]
don't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT

22 years agominor updates to sync with XFree86
Brian Paul [Fri, 6 Sep 2002 03:47:34 +0000 (03:47 +0000)]
minor updates to sync with XFree86

22 years agoadded -l option to print interesting OpenGL limits
Brian Paul [Fri, 6 Sep 2002 03:35:43 +0000 (03:35 +0000)]
added -l option to print interesting OpenGL limits

22 years agofixed glSampleCoverage typo
Brian Paul [Fri, 6 Sep 2002 03:30:20 +0000 (03:30 +0000)]
fixed glSampleCoverage typo

22 years agoimplemented glProgramParameters4[df]vNV()
Brian Paul [Fri, 6 Sep 2002 03:25:03 +0000 (03:25 +0000)]
implemented glProgramParameters4[df]vNV()

22 years agohook-up dispatch for glActiveStencilFaceEXT()
Brian Paul [Fri, 6 Sep 2002 03:20:21 +0000 (03:20 +0000)]
hook-up dispatch for glActiveStencilFaceEXT()

22 years agoadded GL_EXT_stencil_two_side and GL_NV_fence
Brian Paul [Fri, 6 Sep 2002 03:19:32 +0000 (03:19 +0000)]
added GL_EXT_stencil_two_side and GL_NV_fence

22 years agoGL_EXT_stencil_two_side extension, not 100% complete yet.
Brian Paul [Fri, 6 Sep 2002 02:56:08 +0000 (02:56 +0000)]
GL_EXT_stencil_two_side extension, not 100% complete yet.

22 years agoremoved glext.h fix-ups corrected in glext.h version 17
Brian Paul [Fri, 6 Sep 2002 02:52:23 +0000 (02:52 +0000)]
removed glext.h fix-ups corrected in glext.h version 17

22 years agoversion 17
Brian Paul [Fri, 6 Sep 2002 02:48:09 +0000 (02:48 +0000)]
version 17

22 years agoadded OpenGL 1.4 entrypoints
Brian Paul [Fri, 6 Sep 2002 02:46:08 +0000 (02:46 +0000)]
added OpenGL 1.4 entrypoints

22 years agoadded GL_IBM_texture_mirrored_repeat (Ian Romanick)
Brian Paul [Thu, 5 Sep 2002 21:16:30 +0000 (21:16 +0000)]
added GL_IBM_texture_mirrored_repeat (Ian Romanick)

22 years agotest for ARB_texture_cube_map when getting GL version(Ian Romanick)
Brian Paul [Thu, 5 Sep 2002 21:14:36 +0000 (21:14 +0000)]
test for ARB_texture_cube_map when getting GL version(Ian Romanick)

22 years ago Committing in .
Jouk Jansen [Thu, 5 Sep 2002 08:38:01 +0000 (08:38 +0000)]
 Committing in .

 Adding vsnprintf support for OpenVMS (needed in src/imports.c)

 Modified Files:
  Mesa/src/Makefile.am Mesa/src/descrip.mms
 Added Files:
  Mesa/src/vsnprintf.c
 ----------------------------------------------------------------------

22 years agoupdated wglGetProcAddress
Brian Paul [Wed, 4 Sep 2002 14:14:36 +0000 (14:14 +0000)]
updated wglGetProcAddress

22 years agoupdated DOS file list
Brian Paul [Tue, 3 Sep 2002 18:14:08 +0000 (18:14 +0000)]
updated DOS file list

22 years agoupdates from Daniel Borca
Brian Paul [Tue, 3 Sep 2002 18:11:32 +0000 (18:11 +0000)]
updates from Daniel Borca

22 years agoimproved error string
Brian Paul [Tue, 3 Sep 2002 18:05:17 +0000 (18:05 +0000)]
improved error string

22 years agos/5/NUM_TEXTURE_TARGETS/
Brian Paul [Tue, 3 Sep 2002 18:03:45 +0000 (18:03 +0000)]
s/5/NUM_TEXTURE_TARGETS/

22 years agofixed compilation problem for swdd->SetBuffer
Brian Paul [Tue, 3 Sep 2002 17:10:54 +0000 (17:10 +0000)]
fixed compilation problem for swdd->SetBuffer

22 years agofix up stuff accidentaly checked in a few days ago
Brian Paul [Thu, 29 Aug 2002 14:02:27 +0000 (14:02 +0000)]
fix up stuff accidentaly checked in a few days ago

22 years agoDon't call _mesa_initialize_context because we are using
Karl Schultz [Wed, 28 Aug 2002 18:26:38 +0000 (18:26 +0000)]
Don't call _mesa_initialize_context because we are using
_mesa_create_context.  This avoids calling initialize twice and fixes
memory leaks.  Add call to free the GL context because we are creating it
with _mesa_create_context, fixing another leak.

22 years agodefine GLAPIENTRY and GLAPI if not defined in gl.h
Brian Paul [Tue, 27 Aug 2002 21:47:31 +0000 (21:47 +0000)]
define GLAPIENTRY and GLAPI if not defined in gl.h