mesa/nouveau-pmpeg.git
20 years agoDJGPP fixesmesa_4_0_2
Brian Paul [Mon, 1 Apr 2002 17:09:25 +0000 (1 17:09 +0000)]
DJGPP fixes

20 years agoanother DOS driver update
Brian Paul [Mon, 1 Apr 2002 16:54:11 +0000 (1 16:54 +0000)]
another DOS driver update

20 years agoUse invert_matrix_general() instead of invert_matrix_perspective() because
Brian Paul [Fri, 29 Mar 2002 17:15:01 +0000 (29 17:15 +0000)]
Use invert_matrix_general() instead of invert_matrix_perspective() because
the former fails for some projection matrices (ala Vis5D with Chromium).

20 years agoadded dmesadxe.h to tar file list
Brian Paul [Fri, 29 Mar 2002 14:42:29 +0000 (29 14:42 +0000)]
added dmesadxe.h to tar file list

20 years agodecrement Transform._AnyClip when clip planes are disabled
Brian Paul [Thu, 28 Mar 2002 22:45:50 +0000 (28 22:45 +0000)]
decrement Transform._AnyClip when clip planes are disabled

20 years agopopping of user-defined clip planes was broken
Brian Paul [Thu, 28 Mar 2002 22:42:34 +0000 (28 22:42 +0000)]
popping of user-defined clip planes was broken

20 years ago(WIN32)Use _glapi_get_context to get the context in buffer_size() instead
Karl Schultz [Mon, 25 Mar 2002 23:52:34 +0000 (25 23:52 +0000)]
(WIN32)Use _glapi_get_context to get the context in buffer_size() instead
of the GET_CURRENT_CONTEXT macro.  The macro tries to use the glapi_Context
variable which needs to be imported from the MesaGL DLL, which is too
problematic to do at the moment.

20 years agoexport _glapi_get_context for osmesa.
Karl Schultz [Mon, 25 Mar 2002 23:41:49 +0000 (25 23:41 +0000)]
export _glapi_get_context for osmesa.

20 years agore-adding a lost file
Brian Paul [Sat, 23 Mar 2002 02:36:52 +0000 (23 02:36 +0000)]
re-adding a lost file

20 years agoDOS/Mesa driver updates (Daniel Borca)
Brian Paul [Sat, 23 Mar 2002 02:23:06 +0000 (23 02:23 +0000)]
DOS/Mesa driver updates (Daniel Borca)

20 years agofinal? updates
Brian Paul [Sat, 23 Mar 2002 02:22:01 +0000 (23 02:22 +0000)]
final? updates

20 years agolatest extension headers from SGI
Brian Paul [Sat, 23 Mar 2002 01:49:09 +0000 (23 01:49 +0000)]
latest extension headers from SGI

20 years agoremoved glSamplePass()
Brian Paul [Wed, 20 Mar 2002 22:06:57 +0000 (20 22:06 +0000)]
removed glSamplePass()

20 years agolatest bug fixes
Brian Paul [Tue, 19 Mar 2002 16:49:07 +0000 (19 16:49 +0000)]
latest bug fixes

20 years agodon't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem
Brian Paul [Tue, 19 Mar 2002 16:47:56 +0000 (19 16:47 +0000)]
don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem

20 years agoUse MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
Brian Paul [Tue, 19 Mar 2002 16:42:41 +0000 (19 16:42 +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.

20 years agofix Intel C compiler warnings (Gerk Huisma)
Brian Paul [Tue, 19 Mar 2002 15:22:41 +0000 (19 15:22 +0000)]
fix Intel C compiler warnings (Gerk Huisma)

20 years agoundo previous check-in
Brian Paul [Sat, 16 Mar 2002 01:00:43 +0000 (16 01:00 +0000)]
undo previous check-in

20 years agoadded XMesaResizeBuffers()
Brian Paul [Sat, 16 Mar 2002 00:50:36 +0000 (16 00:50 +0000)]
added XMesaResizeBuffers()

20 years agoLots of changes related to framebuffer/window buffer resizing. Basically,
Brian Paul [Sat, 16 Mar 2002 00:50:11 +0000 (16 00:50 +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().

20 years agoprotect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA
Brian Paul [Fri, 15 Mar 2002 19:11:37 +0000 (15 19:11 +0000)]
protect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA

20 years agoupdated comments. removed dead code.
Brian Paul [Fri, 15 Mar 2002 18:32:54 +0000 (15 18:32 +0000)]
updated comments. removed dead code.

20 years agoremove a debug printf
Brian Paul [Fri, 15 Mar 2002 18:24:34 +0000 (15 18:24 +0000)]
remove a debug printf

20 years agofixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael...
Brian Paul [Fri, 15 Mar 2002 17:57:42 +0000 (15 17:57 +0000)]
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)

20 years agofixed pointer arithmetic error in glCopyPixels
Brian Paul [Thu, 14 Mar 2002 22:09:05 +0000 (14 22:09 +0000)]
fixed pointer arithmetic error in glCopyPixels

20 years agoput lodbias loop inside test for non-NULL lambda array
Brian Paul [Wed, 13 Mar 2002 04:45:35 +0000 (13 04:45 +0000)]
put lodbias loop inside test for non-NULL lambda array

20 years agoadded thread rendering bug fix
Brian Paul [Tue, 12 Mar 2002 21:57:27 +0000 (12 21:57 +0000)]
added thread rendering bug fix

20 years agoRemoved the xm_context field from XMesaBuffer. It was preventing N threads
Brian Paul [Tue, 12 Mar 2002 21:54:03 +0000 (12 21:54 +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.

20 years agotweak file list for tarballs
Brian Paul [Mon, 11 Mar 2002 14:59:12 +0000 (11 14:59 +0000)]
tweak file list for tarballs

20 years agoobsolete
Brian Paul [Mon, 11 Mar 2002 14:56:42 +0000 (11 14:56 +0000)]
obsolete

20 years agofix some minor warnings
Brian Paul [Fri, 8 Mar 2002 19:43:36 +0000 (8 19:43 +0000)]
fix some minor warnings

20 years agoupdates for 4.0.2
Brian Paul [Fri, 8 Mar 2002 19:28:57 +0000 (8 19:28 +0000)]
updates for 4.0.2

20 years agoDOS driver updates from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 19:27:28 +0000 (8 19:27 +0000)]
DOS driver updates from Daniel Borca

20 years agonew DOS driver files from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 19:24:36 +0000 (8 19:24 +0000)]
new DOS driver files from Daniel Borca

20 years agominor patches from David Dawes
Brian Paul [Thu, 7 Mar 2002 21:50:53 +0000 (7 21:50 +0000)]
minor patches from David Dawes

20 years agosyntax fixes for Solaris (David Dawes)
Brian Paul [Thu, 7 Mar 2002 21:39:09 +0000 (7 21:39 +0000)]
syntax fixes for Solaris (David Dawes)

20 years agouse -O3 for osmesa16/32 builds, disable FX and SVGA in debug builds
Brian Paul [Fri, 1 Mar 2002 19:38:53 +0000 (1 19:38 +0000)]
use -O3 for osmesa16/32 builds, disable FX and SVGA in debug builds

20 years agoreturn 'Mesa Offscreen16' or 'Mesa Offscreen32' if using deep color channels
Brian Paul [Fri, 1 Mar 2002 19:37:28 +0000 (1 19:37 +0000)]
return 'Mesa Offscreen16' or 'Mesa Offscreen32' if using deep color channels

20 years agosilence gcc warnings (Marc La France)
Brian Paul [Fri, 1 Mar 2002 04:25:42 +0000 (1 04:25 +0000)]
silence gcc warnings (Marc La France)

20 years agoupdated comments for CHAN_BITS=16 or 32
Brian Paul [Fri, 1 Mar 2002 04:23:16 +0000 (1 04:23 +0000)]
updated comments for CHAN_BITS=16 or 32

20 years agoDOS driver updates from Daniel Borca
Brian Paul [Sat, 23 Feb 2002 17:07:21 +0000 (23 17:07 +0000)]
DOS driver updates from Daniel Borca

20 years agoFixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro).
Brian Paul [Thu, 21 Feb 2002 15:11:15 +0000 (21 15:11 +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.

20 years agoadded XMesaGarbageCollect item
Brian Paul [Thu, 21 Feb 2002 00:00:25 +0000 (21 00:00 +0000)]
added XMesaGarbageCollect item

20 years agocheck for initialized XMesaBuffer in XMesaGarbageCollect()
Brian Paul [Wed, 20 Feb 2002 23:59:40 +0000 (20 23:59 +0000)]
check for initialized XMesaBuffer in XMesaGarbageCollect()

20 years agoundo some debug changes mistakenly checked in earlier
Brian Paul [Sun, 17 Feb 2002 17:38:44 +0000 (17 17:38 +0000)]
undo some debug changes mistakenly checked in earlier

20 years agoadded two latest bug fixes
Brian Paul [Fri, 15 Feb 2002 19:15:59 +0000 (15 19:15 +0000)]
added two latest bug fixes

20 years agouse separate GC for SwapBuffers to avoid colormask problem
Brian Paul [Fri, 15 Feb 2002 19:15:08 +0000 (15 19:15 +0000)]
use separate GC for SwapBuffers to avoid colormask problem

20 years agofix casts to quiet compiler warnings.
Karl Schultz [Fri, 15 Feb 2002 18:50:48 +0000 (15 18:50 +0000)]
fix casts to quiet compiler warnings.

20 years agoobsolete
Brian Paul [Fri, 15 Feb 2002 14:04:57 +0000 (15 14:04 +0000)]
obsolete

20 years agofixed float->int conversion. Fix conditional for 16-bit Z buffer path
Brian Paul [Fri, 15 Feb 2002 03:38:29 +0000 (15 03:38 +0000)]
fixed float->int conversion. Fix conditional for 16-bit Z buffer path

20 years agoRemove debug
Keith Whitwell [Wed, 13 Feb 2002 23:52:48 +0000 (13 23:52 +0000)]
Remove debug

20 years agoremove debug prints
Keith Whitwell [Tue, 12 Feb 2002 21:07:59 +0000 (12 21:07 +0000)]
remove debug prints

20 years agoMore support for t&l drivers.
Keith Whitwell [Tue, 12 Feb 2002 17:37:26 +0000 (12 17:37 +0000)]
More support for t&l drivers.
Fix reset_stipple calls.
Fix unsigned compare bugs.

20 years agosilence compiler warning (windows)
Karl Schultz [Tue, 12 Feb 2002 16:36:36 +0000 (12 16:36 +0000)]
silence compiler warning (windows)

20 years agosilence compiler warnings
Brian Paul [Tue, 12 Feb 2002 16:07:15 +0000 (12 16:07 +0000)]
silence compiler warnings

20 years agosilence compiler warning
Brian Paul [Tue, 12 Feb 2002 16:06:16 +0000 (12 16:06 +0000)]
silence compiler warning

20 years agorelease notes for 4.0.2
Brian Paul [Tue, 12 Feb 2002 15:54:47 +0000 (12 15:54 +0000)]
release notes for 4.0.2

20 years agoreplace assertion with a test (avoid div by zero error)
Brian Paul [Tue, 12 Feb 2002 03:14:58 +0000 (12 03:14 +0000)]
replace assertion with a test (avoid div by zero error)

20 years agoPrep for Mesa 4.0.2 release.
Brian Paul [Tue, 12 Feb 2002 03:13:41 +0000 (12 03:13 +0000)]
Prep for Mesa 4.0.2 release.

20 years agoDaniel Borca's GLUT for DOS/DJGPP.
Brian Paul [Tue, 12 Feb 2002 02:59:24 +0000 (12 02:59 +0000)]
Daniel Borca's GLUT for DOS/DJGPP.

20 years agoDaniel Borca's new DOS/DJGPP driver.
Brian Paul [Tue, 12 Feb 2002 02:58:56 +0000 (12 02:58 +0000)]
Daniel Borca's new DOS/DJGPP driver.

20 years agoremoved GLUT reference
Brian Paul [Wed, 30 Jan 2002 21:54:47 +0000 (30 21:54 +0000)]
removed GLUT reference

20 years agoadded some handy debug code
Brian Paul [Wed, 30 Jan 2002 16:47:04 +0000 (30 16:47 +0000)]
added some handy debug code

20 years agodon't use affine/persp_textured_triangle funcs when CHAN_BITS > 8
Brian Paul [Wed, 30 Jan 2002 16:45:29 +0000 (30 16:45 +0000)]
don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8

20 years agoreplace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problem
Brian Paul [Wed, 30 Jan 2002 16:42:23 +0000 (30 16:42 +0000)]
replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problem

20 years agoupdated gl_mangle.h (Ray Tice)
Brian Paul [Fri, 18 Jan 2002 14:55:50 +0000 (18 14:55 +0000)]
updated gl_mangle.h (Ray Tice)

20 years agoset PB->haveSpec in line functions that emit specular color
Brian Paul [Wed, 16 Jan 2002 18:24:31 +0000 (16 18:24 +0000)]
set PB->haveSpec in line functions that emit specular color

20 years agoFixes for 24-bit Windows devices. The old code was trying to do 3-byte
Karl Schultz [Wed, 16 Jan 2002 15:37:49 +0000 (16 15:37 +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)

20 years agoadded some missing error checks
Brian Paul [Tue, 15 Jan 2002 21:50:15 +0000 (15 21:50 +0000)]
added some missing error checks

20 years agoremoved API compat stuff
Brian Paul [Tue, 15 Jan 2002 20:17:59 +0000 (15 20:17 +0000)]
removed API compat stuff

20 years agoFixed pixel color component problem and clear code for 24-bit Windows
Karl Schultz [Tue, 15 Jan 2002 16:47:37 +0000 (15 16:47 +0000)]
Fixed pixel color component problem and clear code for 24-bit Windows
devices.  (Jeff Lewis)

20 years agoRemove trailing CR's from most of the lines. No logical changes.
Karl Schultz [Tue, 15 Jan 2002 16:12:15 +0000 (15 16:12 +0000)]
Remove trailing CR's from most of the lines.  No logical changes.

20 years agodon't apply scissor box in read_fast_rgba_pixels()
Brian Paul [Sat, 12 Jan 2002 16:12:42 +0000 (12 16:12 +0000)]
don't apply scissor box in read_fast_rgba_pixels()

20 years agofixed int->float conversion bug in _mesa_TexEnviv()
Brian Paul [Wed, 9 Jan 2002 02:14:50 +0000 (9 02:14 +0000)]
fixed int->float conversion bug in _mesa_TexEnviv()

20 years agofixed GL_REPLACE / GL_RGB bug
Brian Paul [Wed, 9 Jan 2002 00:28:53 +0000 (9 00:28 +0000)]
fixed GL_REPLACE / GL_RGB bug

20 years agotexture env color wasn't used correctly in GL_BLEND mode
Brian Paul [Wed, 9 Jan 2002 00:12:37 +0000 (9 00:12 +0000)]
texture env color wasn't used correctly in GL_BLEND mode

20 years agocompile with -DNDEBUG
Brian Paul [Tue, 8 Jan 2002 15:58:11 +0000 (8 15:58 +0000)]
compile with -DNDEBUG

20 years agowork-around for QNX compiler problem
Brian Paul [Tue, 8 Jan 2002 14:56:33 +0000 (8 14:56 +0000)]
work-around for QNX compiler problem

20 years agofix typo (d'oh)
Brian Paul [Fri, 4 Jan 2002 14:36:58 +0000 (4 14:36 +0000)]
fix typo (d'oh)

20 years agofix bug 498555 - test for __GNUC__
Brian Paul [Fri, 4 Jan 2002 14:35:34 +0000 (4 14:35 +0000)]
fix bug 498555 - test for __GNUC__

20 years agofixes from Albert Chin
Brian Paul [Thu, 3 Jan 2002 16:29:07 +0000 (3 16:29 +0000)]
fixes from Albert Chin

20 years agoDefine finite as _finite for Windows.
Karl Schultz [Thu, 20 Dec 2001 18:58:24 +0000 (20 18:58 +0000)]
Define finite as _finite for Windows.

20 years agoFurther help with libGL version skew in dri drivers.
Keith Whitwell [Thu, 20 Dec 2001 15:29:15 +0000 (20 15:29 +0000)]
Further help with libGL version skew in dri drivers.

20 years agoFix clipping problem on mga
Keith Whitwell [Thu, 20 Dec 2001 09:53:57 +0000 (20 09:53 +0000)]
Fix clipping problem on mga

20 years agoadded separate specular bug fix
Brian Paul [Wed, 19 Dec 2001 01:20:40 +0000 (19 01:20 +0000)]
added separate specular bug fix

20 years agohave to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera...
Brian Paul [Wed, 19 Dec 2001 01:13:12 +0000 (19 01:13 +0000)]
have to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera bug)

20 years agodisable blocks of GGI code so it at least compiles instead of bombingmesa_4_0_1
Brian Paul [Tue, 18 Dec 2001 05:09:51 +0000 (18 05:09 +0000)]
disable blocks of GGI code so it at least compiles instead of bombing

20 years agoadded prototype glutGetProcAddress() function
Brian Paul [Mon, 17 Dec 2001 19:48:23 +0000 (17 19:48 +0000)]
added prototype glutGetProcAddress() function

20 years agoTexture type is GLuint
Brian Paul [Mon, 17 Dec 2001 19:45:21 +0000 (17 19:45 +0000)]
Texture type is GLuint

20 years agoput the .type stuff on a separate line
Brian Paul [Mon, 17 Dec 2001 19:44:54 +0000 (17 19:44 +0000)]
put the .type stuff on a separate line

20 years agominor update
Brian Paul [Mon, 17 Dec 2001 19:43:38 +0000 (17 19:43 +0000)]
minor update

20 years agoremove conditional in RESET_STIPPLE to fix conformance failure
Brian Paul [Mon, 17 Dec 2001 01:46:38 +0000 (17 01:46 +0000)]
remove conditional in RESET_STIPPLE to fix conformance failure

20 years agoadded normal length cache bug fix
Brian Paul [Sat, 15 Dec 2001 00:50:55 +0000 (15 00:50 +0000)]
added normal length cache bug fix

20 years agofree the NormalLengthPtr if non-null in _tnl_free_immediate()
Brian Paul [Sat, 15 Dec 2001 00:48:41 +0000 (15 00:48 +0000)]
free the NormalLengthPtr if non-null in _tnl_free_immediate()

20 years agoUse $(MAKE) on the irix targets, instead of hard-coding pmake,
Karl Schultz [Fri, 14 Dec 2001 17:46:20 +0000 (14 17:46 +0000)]
Use $(MAKE) on the irix targets, instead of hard-coding pmake,
as suggested in SF bug 482149.  People can still use
pmake -v -f Makefile.X11 if they want to use pmake (works great for me).
Sorry, this should have been in the last check-in.

20 years agoAdd .cc as a valid suffix.
Karl Schultz [Fri, 14 Dec 2001 17:18:08 +0000 (14 17:18 +0000)]
Add .cc as a valid suffix.

20 years agoCleanup for IRIX 6 platforms. Build src-glu instead of si-glu due
Karl Schultz [Fri, 14 Dec 2001 17:11:46 +0000 (14 17:11 +0000)]
Cleanup for IRIX 6 platforms.  Build src-glu instead of si-glu due
to problems with building the c++ code in the si-glu.

20 years agoFix up targets for
Karl Schultz [Fri, 14 Dec 2001 16:40:35 +0000 (14 16:40 +0000)]
Fix up targets for
irix6-o32, irix6-o32-dso, irix6-n32, irix6-n32-dso

20 years agoRemove rules that were put into place to deal with compiling files that
Karl Schultz [Fri, 14 Dec 2001 16:33:06 +0000 (14 16:33 +0000)]
Remove rules that were put into place to deal with compiling files that
are in subdirectories of this directory.  The list of rules that were here
was out of date for Mesa 4 and would likely get out of date again.  It is
better to have make handle it (e.g., use pmake -v on IRIX).

20 years agos/glxGetProcAddress/glXGetProcAddressARB/
Brian Paul [Fri, 14 Dec 2001 11:39:39 +0000 (14 11:39 +0000)]
s/glxGetProcAddress/glXGetProcAddressARB/