mesa.git
21 years agonew _mesa_max_texture_levels() helper function - not used everywhere yet
Brian Paul [Fri, 18 Oct 2002 18:03:04 +0000 (18:03 +0000)]
new _mesa_max_texture_levels() helper function - not used everywhere yet

21 years agoQuiet compiler warnings.
Karl Schultz [Fri, 18 Oct 2002 17:47:35 +0000 (17:47 +0000)]
Quiet compiler warnings.

21 years agoimplement auto mipmap generation for compressed textures
Brian Paul [Fri, 18 Oct 2002 17:41:45 +0000 (17:41 +0000)]
implement auto mipmap generation for compressed textures

21 years agoAdd casts to quiet compiler warnings.
Karl Schultz [Fri, 18 Oct 2002 17:02:00 +0000 (17:02 +0000)]
Add casts to quiet compiler warnings.

21 years agofix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)
Brian Paul [Fri, 18 Oct 2002 13:40:59 +0000 (13:40 +0000)]
fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)

21 years agolatest fixes
Brian Paul [Fri, 18 Oct 2002 13:28:55 +0000 (13:28 +0000)]
latest fixes

21 years agoonly allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supported
Brian Paul [Fri, 18 Oct 2002 13:24:08 +0000 (13:24 +0000)]
only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supported

21 years agocheck for GL_EXT_paletted_texture
Brian Paul [Fri, 18 Oct 2002 13:23:19 +0000 (13:23 +0000)]
check for GL_EXT_paletted_texture

21 years agoAdd casts to quiet compiler warnings.
Karl Schultz [Thu, 17 Oct 2002 22:26:06 +0000 (22:26 +0000)]
Add casts to quiet compiler warnings.

21 years agoPut back the include of windows.h so we are back to version 17 of the file.
Karl Schultz [Thu, 17 Oct 2002 21:03:22 +0000 (21:03 +0000)]
Put back the include of windows.h so we are back to version 17 of the file.

21 years agoChange for Windows only: Make demos and examples build again.
Karl Schultz [Thu, 17 Oct 2002 19:39:31 +0000 (19:39 +0000)]
Change for Windows only:  Make demos and examples build again.
Move the inclusion of windows.h from glext.h to gl.h.  There are a few
good reasons for this:
- Including it in gl.h is more strightforward and makes it easier to
troubleshoot include file problems.  It was sometimes hard to find it
in glext.h.
- Needed to define APIENTRY correctly.  APIENTRY is used in gl.h.
- glut.h needs windows.h but does not include it, expecting the app to
include it.  Including it in gl.h if not already included by the app
makes glut.h happy.  This allows one to write a gl/glut app without
explictly including windows.h, which may only be really important for
toy apps like our samples and demos.  But a "real" app can still
include windows.h if it wants.

21 years agonew wrap modes (Ian Romanick)
Brian Paul [Thu, 17 Oct 2002 17:39:37 +0000 (17:39 +0000)]
new wrap modes (Ian Romanick)

21 years agos/functionOffset/offset/
Brian Paul [Thu, 17 Oct 2002 16:29:17 +0000 (16:29 +0000)]
s/functionOffset/offset/

21 years agopatches from Gerk Huisma for float-channel rendering
Brian Paul [Thu, 17 Oct 2002 15:26:38 +0000 (15:26 +0000)]
patches from Gerk Huisma for float-channel rendering

21 years agoapplied Philippe Houdoin's patch, plus minor clean-ups
Brian Paul [Thu, 17 Oct 2002 14:25:30 +0000 (14:25 +0000)]
applied Philippe Houdoin's patch, plus minor clean-ups

21 years agosurround vertex program code with #if FEATURE_NV_vertex_program/#endif
Brian Paul [Wed, 16 Oct 2002 17:57:51 +0000 (17:57 +0000)]
surround vertex program code with #if FEATURE_NV_vertex_program/#endif

21 years agoremove some crud
Brian Paul [Wed, 16 Oct 2002 17:57:03 +0000 (17:57 +0000)]
remove some crud

21 years agoremove lowpc.c and highpc.c
Brian Paul [Tue, 15 Oct 2002 15:55:45 +0000 (15:55 +0000)]
remove lowpc.c and highpc.c

21 years agoremoved highpc.c and lowpc.c
Brian Paul [Tue, 15 Oct 2002 15:54:23 +0000 (15:54 +0000)]
removed highpc.c and lowpc.c

21 years agoupdate file list for tar file
Brian Paul [Tue, 15 Oct 2002 15:40:57 +0000 (15:40 +0000)]
update file list for tar file

21 years agomake a few static function non-static for highpc.c
Brian Paul [Tue, 15 Oct 2002 15:36:26 +0000 (15:36 +0000)]
make a few static function non-static for highpc.c

21 years agoremove 'beta' from GL_VERSION string
Brian Paul [Tue, 15 Oct 2002 15:23:16 +0000 (15:23 +0000)]
remove 'beta' from GL_VERSION string

21 years agoallow querying of glut functions via glutGetProcAddress()
Brian Paul [Tue, 15 Oct 2002 15:23:02 +0000 (15:23 +0000)]
allow querying of glut functions via glutGetProcAddress()

21 years agoadded gluTessNormal() dummy function
Brian Paul [Tue, 15 Oct 2002 14:45:19 +0000 (14:45 +0000)]
added gluTessNormal() dummy function

21 years agoadded missing glFinish()
Brian Paul [Tue, 15 Oct 2002 14:44:53 +0000 (14:44 +0000)]
added missing glFinish()

21 years agominor updates
Brian Paul [Tue, 15 Oct 2002 14:43:55 +0000 (14:43 +0000)]
minor updates

21 years agoadded latest 4.1 changes
Brian Paul [Tue, 15 Oct 2002 14:41:48 +0000 (14:41 +0000)]
added latest 4.1 changes

21 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

21 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)

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

21 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)

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

21 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()

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

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

21 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.

21 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)

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

21 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()

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

21 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

21 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

21 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

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

21 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

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

21 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

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

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

21 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

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

21 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)

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

21 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

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

21 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

21 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
 ----------------------------------------------------------------------

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

21 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

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

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

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

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

21 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

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

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

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

21 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.

21 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

21 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.

21 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

21 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)

21 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

21 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

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

21 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

21 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

21 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

21 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.

21 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
 ----------------------------------------------------------------------

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

21 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)

21 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

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

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

21 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)

21 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

21 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

21 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

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

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

21 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)

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

21 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

21 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()

21 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

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

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

21 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()

21 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)