Brian Paul [Tue, 19 Mar 2002 16:48:06 +0000 (16:48 +0000)]
don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem
Brian Paul [Tue, 19 Mar 2002 16:47:04 +0000 (16:47 +0000)]
Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
memory. These can be overridden by applications which need to manage this
memory specially. Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.
Brian Paul [Tue, 19 Mar 2002 15:22:50 +0000 (15:22 +0000)]
fix Intel C compiler warnings (Gerk Huisma)
Brian Paul [Sat, 16 Mar 2002 18:07:39 +0000 (18:07 +0000)]
rename ResizeBuffersMESA to ResizeBuffers
Brian Paul [Sat, 16 Mar 2002 18:03:40 +0000 (18:03 +0000)]
added latest 4.1 bug fixes/updates
Brian Paul [Sat, 16 Mar 2002 18:02:07 +0000 (18:02 +0000)]
New mipmap lambda calculation. Previously, trilinear filtering could
result in _very_ blurry textures. Still need to do some optimization
of the new code in s_span.c
Brian Paul [Sat, 16 Mar 2002 00:57:14 +0000 (00:57 +0000)]
buffer resize changes
Brian Paul [Sat, 16 Mar 2002 00:53:48 +0000 (00:53 +0000)]
added XMesaResizeBuffers()
Brian Paul [Sat, 16 Mar 2002 00:53:15 +0000 (00:53 +0000)]
Lots of changes related to framebuffer/window buffer resizing. Basically,
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context. This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
Brian Paul [Fri, 15 Mar 2002 18:43:25 +0000 (18:43 +0000)]
protect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA
Brian Paul [Fri, 15 Mar 2002 18:33:12 +0000 (18:33 +0000)]
updated comments. removed dead code.
Brian Paul [Fri, 15 Mar 2002 18:24:53 +0000 (18:24 +0000)]
remove a debug printf
Brian Paul [Fri, 15 Mar 2002 18:05:49 +0000 (18:05 +0000)]
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)
Brian Paul [Thu, 14 Mar 2002 22:09:25 +0000 (22:09 +0000)]
fixed pointer arithmetic error in glCopyPixels
Brian Paul [Wed, 13 Mar 2002 04:34:32 +0000 (04:34 +0000)]
added _mesa_image_image_stride()
Brian Paul [Wed, 13 Mar 2002 04:33:32 +0000 (04:33 +0000)]
added a comment
Brian Paul [Wed, 13 Mar 2002 04:33:16 +0000 (04:33 +0000)]
initial work for NV_vertex_program1_1 extension
Brian Paul [Tue, 12 Mar 2002 21:55:50 +0000 (21:55 +0000)]
Removed the xm_context field from XMesaBuffer. It was preventing N threads
from rendering into one window in parallel and wasn't really needed anyway.
Brian Paul [Mon, 11 Mar 2002 14:59:50 +0000 (14:59 +0000)]
tweak file list for tarballs
Brian Paul [Mon, 11 Mar 2002 14:57:40 +0000 (14:57 +0000)]
obsolete
Brian Paul [Fri, 8 Mar 2002 19:44:28 +0000 (19:44 +0000)]
fix some minor warnings
Brian Paul [Fri, 8 Mar 2002 19:27:17 +0000 (19:27 +0000)]
DOS driver updates from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 19:24:56 +0000 (19:24 +0000)]
new DOS driver files from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 00:09:18 +0000 (00:09 +0000)]
new assertions, use INLINE macro (Klaus Niederkrueger)
Brian Paul [Thu, 7 Mar 2002 21:50:41 +0000 (21:50 +0000)]
minor patches from David Dawes
Brian Paul [Thu, 7 Mar 2002 21:40:08 +0000 (21:40 +0000)]
syntax fixes for Solaris (David Dawes)
Brian Paul [Fri, 1 Mar 2002 04:28:32 +0000 (04:28 +0000)]
silence gcc warnings (Marc La France)
Brian Paul [Fri, 1 Mar 2002 04:23:36 +0000 (04:23 +0000)]
updated comments for CHAN_BITS=16 or 32
Brian Paul [Mon, 25 Feb 2002 22:18:14 +0000 (22:18 +0000)]
use official enum values for GL_ARB_depth_texture and GL_ARB_shadow
Brian Paul [Sat, 23 Feb 2002 17:11:27 +0000 (17:11 +0000)]
DOS updates from Daniel Borca
Brian Paul [Thu, 21 Feb 2002 15:12:31 +0000 (15:12 +0000)]
Fixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro).
Renamed 'packing' to 'unpacking' since we're moving data from client -> GL.
Rnamed DST_ROW_WIDTH to DST_ROW_BYTES.
Brian Paul [Wed, 20 Feb 2002 23:59:03 +0000 (23:59 +0000)]
check for initialized XMesaBuffer in XMesaGarbageCollect()
Brian Paul [Sun, 17 Feb 2002 17:58:31 +0000 (17:58 +0000)]
Updated 1D/3D/cube mipmapping code to work like the new 2D code.
Brian Paul [Sun, 17 Feb 2002 17:37:55 +0000 (17:37 +0000)]
undo some debug changes mistakenly checked in earlier
Brian Paul [Sun, 17 Feb 2002 17:30:57 +0000 (17:30 +0000)]
Simplified fog code.
Brian Paul [Sun, 17 Feb 2002 17:30:23 +0000 (17:30 +0000)]
don't include s_fog.h
Brian Paul [Sun, 17 Feb 2002 01:58:59 +0000 (01:58 +0000)]
Lots of improvements in the 2D texture sampling code. Fewer function calls
and no more switches inside loops. To do: give the 1D/3D/cube routines the
same treatment.
Brian Paul [Sun, 17 Feb 2002 01:49:31 +0000 (01:49 +0000)]
Optimized the interpolate_texcoords() function:
Use fast approximation to log().
Check for dq==0 to avoid a per-pixel divide.
Brian Paul [Sat, 16 Feb 2002 23:44:46 +0000 (23:44 +0000)]
removed dead code
Brian Paul [Sat, 16 Feb 2002 14:54:18 +0000 (14:54 +0000)]
updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
Brian Paul [Fri, 15 Feb 2002 19:15:33 +0000 (19:15 +0000)]
use separate GC for SwapBuffers to avoid colormask problem
Brian Paul [Fri, 15 Feb 2002 16:48:48 +0000 (16:48 +0000)]
include string.h to silence warning
Brian Paul [Fri, 15 Feb 2002 16:41:36 +0000 (16:41 +0000)]
added new depth_texture/shadow tokens (temporary)
Brian Paul [Fri, 15 Feb 2002 16:37:36 +0000 (16:37 +0000)]
Finished up GL_ARB_depth_texture and GL_ARB_shadow
Brian Paul [Fri, 15 Feb 2002 16:32:36 +0000 (16:32 +0000)]
updated VERT_BIT_* definitions
Brian Paul [Fri, 15 Feb 2002 16:32:06 +0000 (16:32 +0000)]
Finished up GL_ARB_depth_texture and GL_ARB_shadow.
Brian Paul [Fri, 15 Feb 2002 16:27:13 +0000 (16:27 +0000)]
GL_ARB_window_pos fog fix
Brian Paul [Fri, 15 Feb 2002 16:26:08 +0000 (16:26 +0000)]
finished up GL_ARB_window_pos
Brian Paul [Fri, 15 Feb 2002 16:25:16 +0000 (16:25 +0000)]
added a glClear() error check
Brian Paul [Fri, 15 Feb 2002 16:24:37 +0000 (16:24 +0000)]
fixed a multitexture MatrixMode() bug
Brian Paul [Fri, 15 Feb 2002 14:10:19 +0000 (14:10 +0000)]
obsolete
Brian Paul [Fri, 15 Feb 2002 03:41:47 +0000 (03:41 +0000)]
uniformly pass texcoords as GLfloat [4]
Brian Paul [Fri, 15 Feb 2002 03:41:00 +0000 (03:41 +0000)]
added alternate glBitmap code (disabled)
Brian Paul [Fri, 15 Feb 2002 03:39:37 +0000 (03:39 +0000)]
added SPAN_SPEC flag in smooth_multitextured_line()
Brian Paul [Fri, 15 Feb 2002 03:38:12 +0000 (03:38 +0000)]
fixed float->int conversion. Fix conditional for 16-bit Z buffer path
Brian Paul [Thu, 14 Feb 2002 00:40:24 +0000 (00:40 +0000)]
updated GL_VENDOR string
Brian Paul [Thu, 14 Feb 2002 00:39:53 +0000 (00:39 +0000)]
minor clean-up
Keith Whitwell [Wed, 13 Feb 2002 23:53:19 +0000 (23:53 +0000)]
Remove debug
Brian Paul [Wed, 13 Feb 2002 02:23:33 +0000 (02:23 +0000)]
now supports > 2 texture units
Keith Whitwell [Wed, 13 Feb 2002 00:53:19 +0000 (00:53 +0000)]
More suport for t&l drivers
Fix GLuint compare bugs
Fix RESET_STIPPLE calls
Karl Schultz [Tue, 12 Feb 2002 16:45:22 +0000 (16:45 +0000)]
fix compiler warning (windows)
Brian Paul [Tue, 12 Feb 2002 16:07:47 +0000 (16:07 +0000)]
silence compiler warnings
Brian Paul [Tue, 12 Feb 2002 03:28:48 +0000 (03:28 +0000)]
add new DOS files to tar file list
Brian Paul [Tue, 12 Feb 2002 03:24:56 +0000 (03:24 +0000)]
Daniel Borca's new DOS/DJGPP driver.
Brian Paul [Tue, 12 Feb 2002 03:24:06 +0000 (03:24 +0000)]
Daniel Borca's GLUT for DOS/DGJPP.
Brian Paul [Wed, 6 Feb 2002 03:22:47 +0000 (03:22 +0000)]
added an assertion, fix typo
Brian Paul [Wed, 6 Feb 2002 03:22:00 +0000 (03:22 +0000)]
fixed typo in depth_test_pixels(), should fix reported VTK failures
Brian Paul [Tue, 5 Feb 2002 23:21:45 +0000 (23:21 +0000)]
fix evaluator data and matrix stack mem leaks (Robert Bergkvist)
Brian Paul [Mon, 4 Feb 2002 15:59:29 +0000 (15:59 +0000)]
Clean-up and remove dead code related to depth/stecil testing.
Brian Paul [Sat, 2 Feb 2002 21:41:58 +0000 (21:41 +0000)]
removed references to removed source files
Brian Paul [Sat, 2 Feb 2002 21:40:33 +0000 (21:40 +0000)]
Converted line drawing over to new span code, pb no longer used.
Big clean-up of line drawing code.
Removed many obsolete span processing functions.
Brian Paul [Sat, 2 Feb 2002 17:24:11 +0000 (17:24 +0000)]
sw_span can now hold x/y arrays of fragment positions - getting ready to
ditch the pb (pixel buffer) code.
Converted point drawing, bitmaps and aa lines to use new span functions.
Brian Paul [Thu, 31 Jan 2002 00:27:43 +0000 (00:27 +0000)]
Clean-up and optimize alpha test code.
Major clean-up of pixel zoom code.
Brian Paul [Wed, 30 Jan 2002 21:54:37 +0000 (21:54 +0000)]
removed GLUT reference
Brian Paul [Wed, 30 Jan 2002 16:54:02 +0000 (16:54 +0000)]
don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8
Brian Paul [Wed, 30 Jan 2002 16:53:03 +0000 (16:53 +0000)]
return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32
Brian Paul [Wed, 30 Jan 2002 16:52:02 +0000 (16:52 +0000)]
replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problem
Brian Paul [Mon, 28 Jan 2002 04:25:56 +0000 (04:25 +0000)]
Still more texture/span simplification and clean-up.
Updated comments, fixed indentation, etc.
Brian Paul [Mon, 28 Jan 2002 03:42:28 +0000 (03:42 +0000)]
More span improvements. Removed _mesa_write_monocolor_span().
Removed last of span.filled* flags and Klaus's macros.
More simplification of triangle functions.
Brian Paul [Mon, 28 Jan 2002 00:07:33 +0000 (00:07 +0000)]
More span clean-up, mostly texture-related.
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span().
Removed some unneeded triangle functions - more simplification possible.
Brian Paul [Sun, 27 Jan 2002 18:32:03 +0000 (18:32 +0000)]
LOTS of changes, building upon Klaus's work.
struct sw_span is used throughout span/fragment processing.
This is leading to less code and more chances for optimization.
Brian Paul [Sat, 26 Jan 2002 17:49:30 +0000 (17:49 +0000)]
added fog and raster Z position controls
Brian Paul [Fri, 25 Jan 2002 16:05:31 +0000 (16:05 +0000)]
more info about building for Motif
Brian Paul [Tue, 22 Jan 2002 18:40:46 +0000 (18:40 +0000)]
added missing IsEnabled() cases for fog coord and secondary color arrays
Brian Paul [Tue, 22 Jan 2002 18:37:05 +0000 (18:37 +0000)]
fixed array_cache.tag mistake
Brian Paul [Tue, 22 Jan 2002 14:35:16 +0000 (14:35 +0000)]
Clean-up/renaming of the per-vertex attribute bits, specifically, the
VERT_BIT_* flags are new and used in many places (esp in T&L code).
Updated some comments for doxygen.
Various code clean-ups.
Brian Paul [Tue, 22 Jan 2002 14:31:09 +0000 (14:31 +0000)]
added array_cache to TAGFILES
Brian Paul [Mon, 21 Jan 2002 21:21:22 +0000 (21:21 +0000)]
minor update
Brian Paul [Mon, 21 Jan 2002 19:29:55 +0000 (19:29 +0000)]
files to support doxygen (source code documentation)
Brian Paul [Mon, 21 Jan 2002 18:12:34 +0000 (18:12 +0000)]
Klaus's latest patches and some clean-up
Brian Paul [Fri, 18 Jan 2002 14:55:40 +0000 (14:55 +0000)]
updated gl_mangle.h (Ray Tice)
Brian Paul [Wed, 16 Jan 2002 23:51:09 +0000 (23:51 +0000)]
new gl_mangle.h with korn shell script to regenerate itself from gl.h and glext.h (Ray Tice)
Brian Paul [Wed, 16 Jan 2002 20:15:00 +0000 (20:15 +0000)]
changed PB (pixel buffer) to use texcoord[4] array
Brian Paul [Wed, 16 Jan 2002 18:22:19 +0000 (18:22 +0000)]
set PB->haveSpec in line functions that emit specular color
Brian Paul [Wed, 16 Jan 2002 16:04:50 +0000 (16:04 +0000)]
added another test in regions_overlap() (Klaus)
Brian Paul [Wed, 16 Jan 2002 16:00:03 +0000 (16:00 +0000)]
latest changes from Klaus
Brian Paul [Wed, 16 Jan 2002 15:45:54 +0000 (15:45 +0000)]
added latest bug fixes
Karl Schultz [Wed, 16 Jan 2002 15:42:17 +0000 (15:42 +0000)]
Fixes for 24-bit Windows devices. The old code was trying to do 3-byte
stores with a full DWORD store (yuk). (Jeff Lewis)
Jouk Jansen [Wed, 16 Jan 2002 14:32:46 +0000 (14:32 +0000)]
Committing in .
-Compile support for tests on OpenVMS
-Fixed missing header file
-Fixed missing return value on function return
Modified Files:
Mesa/descrip.mms Mesa/tests/sharedtex.c
Added Files:
Mesa/tests/descrip.mms
----------------------------------------------------------------------
Karl Schultz [Wed, 16 Jan 2002 01:03:25 +0000 (01:03 +0000)]
get tests working on windows (Robert Bergkvist)