Brian Paul [Tue, 9 Jul 2002 01:22:50 +0000 (01:22 +0000)]
Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups. See RELNOTES-4.1 for details.
Jouk Jansen [Mon, 1 Jul 2002 08:26:00 +0000 (08:26 +0000)]
Committing in .
Adding a missing ',' in a parameter list of a routine called
Modified Files:
Mesa/src/imports.c
----------------------------------------------------------------------
Brian Paul [Sun, 30 Jun 2002 16:58:11 +0000 (16:58 +0000)]
Added divide by zero check (Jon Perry). Remove dead vars. Fix indentation.
Brian Paul [Sun, 30 Jun 2002 16:16:03 +0000 (16:16 +0000)]
added Gerk Huisma's GLchan=GLfloat fixes
Brian Paul [Sun, 30 Jun 2002 16:07:18 +0000 (16:07 +0000)]
CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)
Brian Paul [Sun, 30 Jun 2002 15:57:45 +0000 (15:57 +0000)]
blending fixes for CHAN_TYPE==GL_FLOAT (Gerk Huisma)
Brian Paul [Sun, 30 Jun 2002 15:49:03 +0000 (15:49 +0000)]
added GL_EXT_multi_draw_arrays
Brian Paul [Sun, 30 Jun 2002 15:47:43 +0000 (15:47 +0000)]
added unofficial dispatch offsets for GL_EXT_multi_draw_arrays functions
Brian Paul [Sun, 30 Jun 2002 15:47:00 +0000 (15:47 +0000)]
Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsEXT().
Brian Paul [Sat, 29 Jun 2002 20:04:57 +0000 (20:04 +0000)]
indentation fix
Brian Paul [Sat, 29 Jun 2002 20:03:13 +0000 (20:03 +0000)]
prep for OpenGL 1.4 feature set
Brian Paul [Sat, 29 Jun 2002 19:48:15 +0000 (19:48 +0000)]
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
Brian Paul [Wed, 26 Jun 2002 14:56:20 +0000 (14:56 +0000)]
fix CHAN_TYPE==GL_FLOAT compile problem
Brian Paul [Wed, 26 Jun 2002 02:36:34 +0000 (02:36 +0000)]
pull in 4.0.3 docs to trunk
Brian Paul [Tue, 25 Jun 2002 15:25:17 +0000 (15:25 +0000)]
removed extra right-paren
Keith Whitwell [Tue, 25 Jun 2002 08:44:27 +0000 (08:44 +0000)]
FRONT_AND_BACK culling
Brian Paul [Tue, 25 Jun 2002 02:56:45 +0000 (02:56 +0000)]
finish-up vertex program evaluators
Brian Paul [Tue, 25 Jun 2002 02:31:37 +0000 (02:31 +0000)]
remove an unneeded statement in update_polygon(), added a comment
Brian Paul [Sun, 23 Jun 2002 02:57:33 +0000 (02:57 +0000)]
test program for NV_vertex_program and evaluators
Brian Paul [Sun, 23 Jun 2002 02:53:22 +0000 (02:53 +0000)]
fix problems in _mesa_debug/printf()
Brian Paul [Sun, 23 Jun 2002 02:52:18 +0000 (02:52 +0000)]
added some _mesa_debug() calls
Brian Paul [Sun, 23 Jun 2002 02:47:38 +0000 (02:47 +0000)]
checkpoint: updates for NV_vertex_program evaluators - a bit more left to do
Brian Paul [Sun, 23 Jun 2002 02:40:48 +0000 (02:40 +0000)]
set stage->inputs properly (I think), plus debug/comment updates
Brian Paul [Sun, 23 Jun 2002 02:36:27 +0000 (02:36 +0000)]
added support for NV_vertex_program evaluators
Brian Paul [Sun, 23 Jun 2002 02:32:39 +0000 (02:32 +0000)]
Added new bitfields to tnl_eval_store for NV_vertex_program evaluators
Brian Paul [Wed, 19 Jun 2002 21:49:37 +0000 (21:49 +0000)]
put XSync in get_buffer_size(), plus clean-up
Brian Paul [Tue, 18 Jun 2002 16:53:46 +0000 (16:53 +0000)]
Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).
Finished all glGet* queries for GL_NV_vertex_program.
Improved error reporting in glEnable/Disable/Get, etc.
Jouk Jansen [Tue, 18 Jun 2002 08:35:25 +0000 (08:35 +0000)]
Committing in .
Added mtypes.h inclusion
Modified Files:
Mesa/src/imports.c
----------------------------------------------------------------------
Brian Paul [Mon, 17 Jun 2002 23:38:14 +0000 (23:38 +0000)]
new fix for initial window size problem
Brian Paul [Mon, 17 Jun 2002 23:36:31 +0000 (23:36 +0000)]
Port glXCopyContext bug from 4.0 branch.
Brian Paul [Sun, 16 Jun 2002 03:57:48 +0000 (03:57 +0000)]
Joe Krahn's context sharing test program
Brian Paul [Sun, 16 Jun 2002 03:56:11 +0000 (03:56 +0000)]
Fix glXCopyContext bug
Brian Paul [Sun, 16 Jun 2002 01:14:22 +0000 (01:14 +0000)]
fix a comment
Brian Paul [Sun, 16 Jun 2002 01:11:10 +0000 (01:11 +0000)]
fixed window size initialization bug
Brian Paul [Sun, 16 Jun 2002 01:10:41 +0000 (01:10 +0000)]
added a comment
Brian Paul [Sun, 16 Jun 2002 01:09:16 +0000 (01:09 +0000)]
added some braces
Brian Paul [Sat, 15 Jun 2002 03:15:16 +0000 (03:15 +0000)]
the GGI driver is up to date
Brian Paul [Sat, 15 Jun 2002 03:08:19 +0000 (03:08 +0000)]
test for GL_NV_texture_rectangle
Brian Paul [Sat, 15 Jun 2002 03:06:16 +0000 (03:06 +0000)]
added GL_ARB_texture_env_crossbar
Brian Paul [Sat, 15 Jun 2002 03:05:36 +0000 (03:05 +0000)]
updates to 4.1 features
Brian Paul [Sat, 15 Jun 2002 03:03:58 +0000 (03:03 +0000)]
updated with 4.0.x -> 4.1 porting info
Brian Paul [Sat, 15 Jun 2002 03:03:06 +0000 (03:03 +0000)]
Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
field is obsolete, but still present for now. This effectively
removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
Brian Paul [Sat, 15 Jun 2002 02:55:22 +0000 (02:55 +0000)]
#ifdef-out unused big-endian texel fetch functions
Brian Paul [Sat, 15 Jun 2002 02:54:01 +0000 (02:54 +0000)]
added missing ctx parameter to _mesa_debug() calls
Brian Paul [Sat, 15 Jun 2002 02:38:15 +0000 (02:38 +0000)]
Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.
Jouk Jansen [Thu, 13 Jun 2002 08:27:32 +0000 (08:27 +0000)]
Committing in .
Added <stdarg.h>
Modified Files:
Mesa/src/imports.c
----------------------------------------------------------------------
Jouk Jansen [Thu, 13 Jun 2002 07:22:59 +0000 (07:22 +0000)]
Committing in .
Removed config.c
Modified Files:
Mesa/src/descrip.mms
----------------------------------------------------------------------
Brian Paul [Thu, 13 Jun 2002 04:50:09 +0000 (04:50 +0000)]
added Porting Information section
Brian Paul [Thu, 13 Jun 2002 04:49:17 +0000 (04:49 +0000)]
more removal of fprintf() calls
Brian Paul [Thu, 13 Jun 2002 04:31:09 +0000 (04:31 +0000)]
fixed a couple dumb mistakes
Brian Paul [Thu, 13 Jun 2002 04:28:29 +0000 (04:28 +0000)]
New _mesa_debug() function to replace fprintf() calls.
Some source files updated to call _mesa_debug(), but not finished.
Added __GLimports as a parameter to _mesa_create/init_context() and
updated drivers accordingly.
Fleshed-out more of the __GLimports and __GLexports functionality.
Removed run-time config file support (config.c)
Brian Paul [Wed, 12 Jun 2002 00:52:50 +0000 (00:52 +0000)]
Moved big/little endian code to glheader.h.
Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.
Brian Paul [Tue, 11 Jun 2002 01:26:58 +0000 (01:26 +0000)]
Fix NASM problems, remove static var in SSE detection code. (Josh Vanderhoof)
Brian Paul [Mon, 10 Jun 2002 17:01:46 +0000 (17:01 +0000)]
Added CPLUSPLUS for sunos5 entries
Brian Paul [Mon, 10 Jun 2002 15:16:44 +0000 (15:16 +0000)]
GGI driver updates (Filip Spacek)
Brian Paul [Sat, 8 Jun 2002 12:39:18 +0000 (12:39 +0000)]
added missing texture cube map targets
Brian Paul [Fri, 7 Jun 2002 20:21:12 +0000 (20:21 +0000)]
version 15 of glext.h
Brian Paul [Fri, 7 Jun 2002 19:29:49 +0000 (19:29 +0000)]
s/GL_MAX_TEXTURE_RECTANGLE_SIZE_NV/GL_MAX_RECTANGLE_TEXTURE_SIZE_NV/
Brian Paul [Fri, 7 Jun 2002 16:01:03 +0000 (16:01 +0000)]
fixed point sprite bug
Brian Paul [Thu, 6 Jun 2002 16:31:24 +0000 (16:31 +0000)]
replaced hard-coded 4 with NUM_TEXTURE_TARGETS
Brian Paul [Thu, 6 Jun 2002 16:19:25 +0000 (16:19 +0000)]
replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANY
Brian Paul [Thu, 6 Jun 2002 15:33:37 +0000 (15:33 +0000)]
NASM fix for *_CONTENT() macros (Josh Vanderhoof)
Brian Paul [Wed, 5 Jun 2002 16:48:54 +0000 (16:48 +0000)]
more big-endian tweaks
Brian Paul [Tue, 4 Jun 2002 21:29:20 +0000 (21:29 +0000)]
use CONTENT() macro on line 205 (Josh Vanderhoof)
Brian Paul [Mon, 3 Jun 2002 16:06:34 +0000 (16:06 +0000)]
bring over Michel Daenzer's DRI changes
Brian Paul [Wed, 29 May 2002 15:23:16 +0000 (15:23 +0000)]
added another spot-check to verify dispatch table correctness
Brian Paul [Wed, 29 May 2002 15:16:01 +0000 (15:16 +0000)]
Added GL_NV_point_sprite functions: glPointParameteri[v]NV().
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
Brian Paul [Wed, 29 May 2002 15:14:13 +0000 (15:14 +0000)]
added GL_NV_point_sprite entrypoints
Brian Paul [Mon, 27 May 2002 17:13:42 +0000 (17:13 +0000)]
added -axK to linux-icc CFLAGS
Brian Paul [Mon, 27 May 2002 17:06:59 +0000 (17:06 +0000)]
some initial work for fbconfigs/pbuffers
Brian Paul [Mon, 27 May 2002 17:05:51 +0000 (17:05 +0000)]
added GL_NV_point_sprite
Brian Paul [Mon, 27 May 2002 17:05:19 +0000 (17:05 +0000)]
removed experiemental GL_MESA_sprite_point extension
Brian Paul [Mon, 27 May 2002 17:04:52 +0000 (17:04 +0000)]
replaced experimental MESA_sprite_point with NV_point_sprite
Brian Paul [Mon, 27 May 2002 17:03:08 +0000 (17:03 +0000)]
dispatch offsets for ARB_window_pos
Brian Paul [Mon, 27 May 2002 17:00:18 +0000 (17:00 +0000)]
updated vertex program dispatch
Brian Paul [Mon, 27 May 2002 16:58:24 +0000 (16:58 +0000)]
updated vertex program dispatch offsets to official values
Keith Whitwell [Sat, 11 May 2002 08:38:25 +0000 (08:38 +0000)]
another checkpoint of struct immediate replacement code
Brian Paul [Thu, 9 May 2002 21:54:16 +0000 (21:54 +0000)]
Minor change to current raster position and texcoords.
Keith Whitwell [Thu, 9 May 2002 20:51:05 +0000 (20:51 +0000)]
Fix FETCH(argb1555) mask values
Brian Paul [Mon, 6 May 2002 15:46:05 +0000 (15:46 +0000)]
remove -xK flag from linux-icc
Brian Paul [Sun, 5 May 2002 16:00:06 +0000 (16:00 +0000)]
added linux-icc config (Marc.Dietrich)
Alan Hourihane [Thu, 2 May 2002 09:17:59 +0000 (09:17 +0000)]
remove test code
Alan Hourihane [Thu, 2 May 2002 09:15:22 +0000 (09:15 +0000)]
glutSwapBuffers implicitly does a glFinish when swapping back to the front
buffer. We now issue a glFinish when not issuing SwapBuffers to ensure
the pipeline is complete.
(Problem found with Chromium).
Brian Paul [Thu, 2 May 2002 00:59:20 +0000 (00:59 +0000)]
Implemented GL_ARB_texture_env_crossbar.
Simplification of some of the texture application code.
Brian Paul [Fri, 26 Apr 2002 13:59:09 +0000 (13:59 +0000)]
replaced GLshort with GLushort in _mesa_sizeof_packed_type()
Brian Paul [Fri, 26 Apr 2002 13:40:11 +0000 (13:40 +0000)]
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()
Brian Paul [Thu, 25 Apr 2002 22:11:33 +0000 (22:11 +0000)]
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)
Brian Paul [Wed, 24 Apr 2002 20:11:20 +0000 (20:11 +0000)]
test mapsize against 1, not 0 in glPixelMap()
Brian Paul [Wed, 24 Apr 2002 20:05:26 +0000 (20:05 +0000)]
added GL_EDGE_FLAG_ARRAY_COUNT_EXT to glGetBooleanv() (Bug 548277)
Karl Schultz [Tue, 23 Apr 2002 18:39:09 +0000 (18:39 +0000)]
Apply alpha buffer control fix to accum buffer too.
Karl Schultz [Tue, 23 Apr 2002 18:23:32 +0000 (18:23 +0000)]
Fix up alpha buffer handling for Windows.
- add two new Pixel Format Descriptors that do not have alpha bits to
mirror the two that do.
- add logic to wglChoosePixelFormat to match PFD's with respect to alpha.
- Create/clear software alpha buffer as required.
Now a wgl or GLUT program can control the creation of a software alpha
buffer via the PFD or GLUT parms, respectively.
Brian Paul [Tue, 23 Apr 2002 16:44:46 +0000 (16:44 +0000)]
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
Alan Hourihane [Mon, 22 Apr 2002 20:00:16 +0000 (20:00 +0000)]
Test for NULL pointer for LoadMatrix(), MultMatrix() and
Load/MultTransposeMatrix() and return without recording any errors or
doing any multiplication.
Brian Paul [Mon, 22 Apr 2002 16:03:37 +0000 (16:03 +0000)]
removed CVS $Log comments
Brian Paul [Mon, 22 Apr 2002 15:53:54 +0000 (15:53 +0000)]
test program for NV_vertex_program + vertex arrays
Jouk Jansen [Mon, 22 Apr 2002 10:29:43 +0000 (10:29 +0000)]
Committing in .
Remove __FUNCTION__ macro definition from CC compile definitions.
(OpenVMS only)
Modified Files:
Mesa/src/descrip.mms
----------------------------------------------------------------------
Brian Paul [Sun, 21 Apr 2002 21:12:49 +0000 (21:12 +0000)]
added to-do list for the 4.1 release
Brian Paul [Sun, 21 Apr 2002 21:04:46 +0000 (21:04 +0000)]
check for vertex program mode
Brian Paul [Sun, 21 Apr 2002 21:03:02 +0000 (21:03 +0000)]
fixed assertion, replaced switch() with if/elseif
Brian Paul [Sun, 21 Apr 2002 20:37:04 +0000 (20:37 +0000)]
Vertex program attribute arrays seem to work now. This includes fallbacks
to the conventional arrays when attribute arrays aren't enabled.