mesa.git
22 years agoadded skybox and options to load real images
Brian Paul [Fri, 25 Oct 2002 17:20:26 +0000 (17:20 +0000)]
added skybox and options to load real images

22 years agoremove all.h, mem.h, mem.c
Brian Paul [Fri, 25 Oct 2002 13:50:48 +0000 (13:50 +0000)]
remove all.h, mem.h, mem.c

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

 Removed src/mem.c from OpenVMS makefile

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

22 years agoinclude GL/glx.h
Brian Paul [Fri, 25 Oct 2002 00:01:58 +0000 (00:01 +0000)]
include GL/glx.h

22 years agoHeader file clean-up:
Brian Paul [Thu, 24 Oct 2002 23:57:19 +0000 (23:57 +0000)]
Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.

22 years agoadded missing code to copy texrect state
Brian Paul [Wed, 23 Oct 2002 14:53:27 +0000 (14:53 +0000)]
added missing code to copy texrect state

22 years agostex3d updated
Brian Paul [Wed, 23 Oct 2002 14:01:38 +0000 (14:01 +0000)]
stex3d updated

22 years agomassive overhaul, see new keyboard options
Brian Paul [Wed, 23 Oct 2002 14:00:01 +0000 (14:00 +0000)]
massive overhaul, see new keyboard options

22 years agoFix projtex interp bug
Keith Whitwell [Wed, 23 Oct 2002 10:24:27 +0000 (10:24 +0000)]
Fix projtex interp bug

22 years agoadded glDeleteTextures refcount bug fix
Brian Paul [Tue, 22 Oct 2002 15:17:34 +0000 (15:17 +0000)]
added glDeleteTextures refcount bug fix

22 years agoremove debug printfs
Brian Paul [Tue, 22 Oct 2002 15:15:41 +0000 (15:15 +0000)]
remove debug printfs

22 years agofix refcount error in _mesa_DeleteTextures (Randy Fayan)
Brian Paul [Tue, 22 Oct 2002 15:14:49 +0000 (15:14 +0000)]
fix refcount error in _mesa_DeleteTextures (Randy Fayan)

22 years agoadd missing texture rectangle code in _mesa_DeleteTextures()
Brian Paul [Tue, 22 Oct 2002 15:08:59 +0000 (15:08 +0000)]
add missing texture rectangle code in _mesa_DeleteTextures()

22 years agoadded GL_ATI_texture_mirror_once
Brian Paul [Mon, 21 Oct 2002 15:53:06 +0000 (15:53 +0000)]
added GL_ATI_texture_mirror_once

22 years agoGL_ATI_texture_mirror_once extension (Ian Romanick)
Brian Paul [Mon, 21 Oct 2002 15:52:34 +0000 (15:52 +0000)]
GL_ATI_texture_mirror_once extension (Ian Romanick)

22 years agodoxygen comments (Klaus Niederkrueger)
Brian Paul [Mon, 21 Oct 2002 15:06:26 +0000 (15:06 +0000)]
doxygen comments (Klaus Niederkrueger)

22 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

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

22 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

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

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

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

22 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

22 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

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

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

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

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

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

22 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

22 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

22 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

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

22 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

22 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

22 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

22 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

22 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

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

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

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

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

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

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