mesa.git
19 years agowhy is GL_ARB_texture_env_combine different from EXT?
Daniel Borca [Thu, 19 Aug 2004 06:59:05 +0000 (06:59 +0000)]
why is GL_ARB_texture_env_combine different from EXT?

19 years ago"const int _nc" was really stupid...
Daniel Borca [Thu, 19 Aug 2004 06:58:00 +0000 (06:58 +0000)]
"const int _nc" was really stupid...

19 years agocleanup
Daniel Borca [Thu, 19 Aug 2004 06:56:51 +0000 (06:56 +0000)]
cleanup

19 years agosilence compiler warnings
Daniel Borca [Thu, 19 Aug 2004 06:51:48 +0000 (06:51 +0000)]
silence compiler warnings

19 years agoadded Mesa 6.1 release info
Brian Paul [Wed, 18 Aug 2004 22:41:09 +0000 (22:41 +0000)]
added Mesa 6.1 release info

19 years agocheck for either GL_NV_vertex_program or GL_ARB_vertex_program for some enables
Brian Paul [Wed, 18 Aug 2004 18:45:25 +0000 (18:45 +0000)]
check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enables

19 years agoupdates from Jouk
Brian Paul [Wed, 18 Aug 2004 14:47:16 +0000 (14:47 +0000)]
updates from Jouk

19 years agoset release date for 6.1
Brian Paul [Tue, 17 Aug 2004 22:58:23 +0000 (22:58 +0000)]
set release date for 6.1

19 years agoRevert the move of lost_context setting to UNLOCK_HARDWARE that was done in the
Eric Anholt [Tue, 17 Aug 2004 20:10:29 +0000 (20:10 +0000)]
Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the
last commit.  I've been convinced by keithw that it's sufficient, and put a note
in the code about it.

Close another race for state in the Clear functions.  I made the situation worse
in my last commit, but this should fix things.  Might be a slight performance
hit, which could be regained by splitting the R*_FIREVERTICES calls in r*Clear
up so that the EmitState doesn't happen in a separate new cmdbuf.

19 years agodon't enable the float texture and GLhalf pixel extensions yet
Brian Paul [Tue, 17 Aug 2004 19:25:55 +0000 (19:25 +0000)]
don't enable the float texture and GLhalf pixel extensions yet

19 years agoFixed an assembler warning / error (depending on the version of GAS used).
Ian Romanick [Tue, 17 Aug 2004 17:03:24 +0000 (17:03 +0000)]
Fixed an assembler warning / error (depending on the version of GAS used).
Fixed a crash in the optimized pthreads dispatch path.

19 years agosome updated info about adding new extensions
Brian Paul [Tue, 17 Aug 2004 14:08:59 +0000 (14:08 +0000)]
some updated info about adding new extensions

19 years agoClose some races with locking on R100 and R200 which could manifest as rendering
Eric Anholt [Tue, 17 Aug 2004 01:41:29 +0000 (01:41 +0000)]
Close some races with locking on R100 and R200 which could manifest as rendering
errors on r100 and rendering errors and hangs on r200 (same for R100 without
OLD_PACKETS).

If a command buffer filled after some state (EmitState or a VBPNTR write) was
emitted, the lock was grabbed, the buffer flushed, a new buffer prepared, and
the lock dropped.  Another client could come in, set its own state as part of
rendering, and when the first client flushed the rendering commands depending
on the previous state, it got the 2nd client's state.  This is fixed by checking
for enough space before beginning a set of state emits and rendering, and
flushing the buffer first if so.  This guarantees that the buffer won't wrap.

Also, move the "lost_context = 1" from the end of cmdbuf flushing to
UNLOCK_HARDWARE for clarity (at a minimum) that any time the lock is dropped,
state may get overwritten.  We don't have enough information at the point of the
LOCK_HARDWARE to reset our state to the last UNLOCK_HARDWARE point in the case
that we did lose our context, but saving the information to rebuild that state
may be a useful optimization (ipers data suggests up to 5%).

19 years agowhitespace clean-up, new 'clean' commands
Brian Paul [Mon, 16 Aug 2004 17:11:10 +0000 (17:11 +0000)]
whitespace clean-up, new 'clean' commands

19 years agoprepared for release
Daniel Borca [Mon, 16 Aug 2004 08:47:19 +0000 (08:47 +0000)]
prepared for release

19 years agoAdd glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, thought.
Philippe Houdoin [Mon, 16 Aug 2004 08:46:38 +0000 (08:46 +0000)]
Add glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, thought.
-> #define GLUT_API_VERSION 4.5 ? ;-)

19 years agomake clean at root now clean the glu/$(GLU_DIRS) too.
Philippe Houdoin [Mon, 16 Aug 2004 08:42:05 +0000 (08:42 +0000)]
make clean at root now clean the glu/$(GLU_DIRS) too.

19 years agoStupid me. I don't know why I moved the GLView.h here at first, but now I know why
Philippe Houdoin [Mon, 16 Aug 2004 08:39:36 +0000 (08:39 +0000)]
Stupid me. I don't know why I moved the GLView.h here at first, but now I know why
I shouldn't:
Official BeOS GLView.h defines a virtual ErrorCallback(GLenum) method, assuming
a unsigned long GLenum.
But under Mesa, GLenum is unsigned int.
To keep binary compatibility, BeOS apps including Mesa GL/gl.h MUST include *our*
GLView.h, or linker will report a missing ErrorCallback(unsigned int) symbol. Glup.

19 years agocleanup
Daniel Borca [Mon, 16 Aug 2004 08:34:13 +0000 (08:34 +0000)]
cleanup

19 years agofixed texture fetchers, fixed automatic mipmap generation, some cleanup
Daniel Borca [Mon, 16 Aug 2004 08:32:06 +0000 (08:32 +0000)]
fixed texture fetchers, fixed automatic mipmap generation, some cleanup

19 years agofixed pixel drawing routines, some cleanup
Daniel Borca [Mon, 16 Aug 2004 08:30:41 +0000 (08:30 +0000)]
fixed pixel drawing routines, some cleanup

19 years agodisabled stereo checking in wglChoosePixelFormat
Daniel Borca [Mon, 16 Aug 2004 08:01:43 +0000 (08:01 +0000)]
disabled stereo checking in wglChoosePixelFormat

19 years agoClearer guard message text.
Philippe Houdoin [Mon, 16 Aug 2004 07:46:28 +0000 (07:46 +0000)]
Clearer guard message text.

19 years agoRemove unused HAVE_INDEX define.
Eric Anholt [Mon, 16 Aug 2004 04:38:48 +0000 (04:38 +0000)]
Remove unused HAVE_INDEX define.

19 years agoGLInfo now show GLU and GLUT infos too. Fix the includes paths
Philippe Houdoin [Sun, 15 Aug 2004 14:06:00 +0000 (14:06 +0000)]
GLInfo now show GLU and GLUT infos too. Fix the includes paths

19 years agoObsoleted as demos programs build on BeOS with standard Makefile system.
Philippe Houdoin [Sun, 15 Aug 2004 11:43:47 +0000 (11:43 +0000)]
Obsoleted as demos programs build on BeOS with standard Makefile system.

19 years agofix swrast/shader typo
Brian Paul [Sat, 14 Aug 2004 21:53:14 +0000 (21:53 +0000)]
fix swrast/shader typo

19 years agoadd shader.dsp and descrip.mms to tarball list for relatively new shader dir.
Karl Schultz [Sat, 14 Aug 2004 21:42:50 +0000 (21:42 +0000)]
add shader.dsp and descrip.mms to tarball list for relatively new shader dir.

19 years agoupdated tarball list for BeOS changes
Brian Paul [Sat, 14 Aug 2004 21:12:37 +0000 (21:12 +0000)]
updated tarball list for BeOS changes

19 years agoUpdate Visual Studio Project file for src tree updates.
Karl Schultz [Sat, 14 Aug 2004 20:07:01 +0000 (20:07 +0000)]
Update Visual Studio Project file for src tree updates.

19 years agoNew Visual Studio project file for this directory.
Karl Schultz [Sat, 14 Aug 2004 20:02:59 +0000 (20:02 +0000)]
New Visual Studio project file for this directory.

19 years agoMinor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32
Karl Schultz [Sat, 14 Aug 2004 19:28:48 +0000 (19:28 +0000)]
Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32

19 years agominor update to intro, and some word wrapping
Brian Paul [Sat, 14 Aug 2004 15:23:51 +0000 (15:23 +0000)]
minor update to intro, and some word wrapping

19 years agoBeOS updates, memory leak fix, updated release notes
Brian Paul [Sat, 14 Aug 2004 15:21:17 +0000 (15:21 +0000)]
BeOS updates, memory leak fix, updated release notes

19 years agoindentation fixes
Brian Paul [Sat, 14 Aug 2004 14:30:36 +0000 (14:30 +0000)]
indentation fixes

19 years agoTurn gcc optimization up to -O3.
Philippe Houdoin [Sat, 14 Aug 2004 14:29:21 +0000 (14:29 +0000)]
Turn gcc optimization up to -O3.

19 years agofix some memory leaks (bug #1002030)
Brian Paul [Sat, 14 Aug 2004 14:28:11 +0000 (14:28 +0000)]
fix some memory leaks (bug #1002030)

19 years agoRemove obsoleted BeOS-specific makefiles.
Philippe Houdoin [Sat, 14 Aug 2004 14:27:32 +0000 (14:27 +0000)]
Remove obsoleted BeOS-specific makefiles.
Add a makefile to build old Mesa GLU, whatever it worth.
Add a guard to stop building libGLU.so on BeOS, as it's build into libGL.so.

19 years agoAdd a guard to stop building libGLU.so under BeOS, as it's build into libGL.so.
Philippe Houdoin [Sat, 14 Aug 2004 14:24:48 +0000 (14:24 +0000)]
Add a guard to stop building libGLU.so under BeOS, as it's build into libGL.so.

19 years agoForgot to commit this valuable file! :-)
Philippe Houdoin [Sat, 14 Aug 2004 14:22:35 +0000 (14:22 +0000)]
Forgot to commit this valuable file! :-)

19 years agoRemove obsoleted BeOS-specific makefile as the main Makefile system now
Philippe Houdoin [Sat, 14 Aug 2004 10:49:31 +0000 (10:49 +0000)]
Remove obsoleted BeOS-specific makefile as the main Makefile system now
support BeOS platform too.

19 years agoReplaced the .cpp-ized (for build issue) common GLUT source files by their
Philippe Houdoin [Sat, 14 Aug 2004 10:42:57 +0000 (10:42 +0000)]
Replaced the .cpp-ized (for build issue) common GLUT source files by their
standard .c version.
Remove unused libglut.def.

19 years agoReplaced the .cpp-ized (for build issue) common GLUT source files by their
Philippe Houdoin [Sat, 14 Aug 2004 10:37:03 +0000 (10:37 +0000)]
Replaced the .cpp-ized (for build issue) common GLUT source files by their
standard .c version.
Remove outdated Makefile.orig.

19 years agoUpdate to Jake Hamby's BeOS GLUT 3.7 port.
Philippe Houdoin [Sat, 14 Aug 2004 10:27:08 +0000 (10:27 +0000)]
Update to Jake Hamby's BeOS GLUT 3.7 port.

19 years agoMove to $(TOP)/configs/default-based makefile.
Philippe Houdoin [Sat, 14 Aug 2004 10:21:08 +0000 (10:21 +0000)]
Move to $(TOP)/configs/default-based makefile.

19 years agoUpdate BeOS mklib to set mimetype and version.
Philippe Houdoin [Sat, 14 Aug 2004 10:12:38 +0000 (10:12 +0000)]
Update BeOS mklib to set mimetype and version.
Static lib build support added.

19 years agoBeOS now officially moved to main Makefiles chain. To build under BeOS: "make beos"
Philippe Houdoin [Sat, 14 Aug 2004 10:10:42 +0000 (10:10 +0000)]
BeOS now officially moved to main Makefiles chain. To build under BeOS: "make beos"

19 years agoUpdated according to new way to build under BeOS.
Philippe Houdoin [Sat, 14 Aug 2004 10:06:21 +0000 (10:06 +0000)]
Updated according to new way to build under BeOS.

19 years agoObsolete the BeOS-specific makefile as we now build using standard Makefiles chain.
Philippe Houdoin [Sat, 14 Aug 2004 10:05:33 +0000 (10:05 +0000)]
Obsolete the BeOS-specific makefile as we now build using standard Makefiles chain.

19 years agoObsolete BeOS-specific makefile.
Philippe Houdoin [Sat, 14 Aug 2004 10:03:11 +0000 (10:03 +0000)]
Obsolete BeOS-specific makefile.
Removed the oglinfo target from samples from BeOS build, as it depends on X.

19 years agoFix demo.cpp, which wasn't working as expected.
Philippe Houdoin [Sat, 14 Aug 2004 09:59:16 +0000 (09:59 +0000)]
Fix demo.cpp, which wasn't working as expected.
Add a GLInfo app, a graphical tool displaying GL Info as a treeview.
Usefull to see which OpenGL renderer you use and which extension(s) is supported.
Convert the Makefile to be $(TOP)/configs/default-based.

19 years agoObsoleted. Now, the BeOS targets build by main Makefiles chain.
Philippe Houdoin [Sat, 14 Aug 2004 09:52:18 +0000 (09:52 +0000)]
Obsoleted. Now, the BeOS targets build by main Makefiles chain.

19 years agoSilent compiler "variable may be used uninitialized" warnings.
Philippe Houdoin [Sat, 14 Aug 2004 09:51:30 +0000 (09:51 +0000)]
Silent compiler "variable may be used uninitialized" warnings.

19 years agoBeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function
Philippe Houdoin [Sat, 14 Aug 2004 09:48:57 +0000 (09:48 +0000)]
BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function
because she called create_sem(). Now the semaphore creation is made at first
_glthread_LOCK_MUTEX() call.

19 years agoFix a bug that set RGBA bits length always to 0 (reported by Marcin Konicki).
Philippe Houdoin [Sat, 14 Aug 2004 09:43:07 +0000 (09:43 +0000)]
Fix a bug that set RGBA bits length always to 0 (reported by Marcin Konicki).
PPC byte order now supported (thanks Nathan Whitehorn).
Double buffering is now always forced.
Unlock the BGLView looper only if needed. Should fix the GLUT-based apps crash
at window closing.
SwapBuffers() now can wait for next vertical retrace.
And several other minor changes...

19 years agobuild fix from XFree86 tree
Dave Airlie [Sat, 14 Aug 2004 09:29:24 +0000 (09:29 +0000)]
build fix from XFree86 tree

19 years agoMove BeOS build into main Makefiles chain.
Philippe Houdoin [Sat, 14 Aug 2004 09:23:09 +0000 (09:23 +0000)]
Move BeOS build into main Makefiles chain.

19 years agoAdd a BeOS build config.
Philippe Houdoin [Sat, 14 Aug 2004 09:18:04 +0000 (09:18 +0000)]
Add a BeOS build config.

19 years agobring over change from xorg trunk - let build on non-i386
Dave Airlie [Sat, 14 Aug 2004 09:09:56 +0000 (09:09 +0000)]
bring over change from xorg trunk - let build on non-i386

19 years agobring over build fix from xorg tree
Dave Airlie [Sat, 14 Aug 2004 09:08:27 +0000 (09:08 +0000)]
bring over build fix from xorg tree

19 years agosilence a warning
Brian Paul [Fri, 13 Aug 2004 21:05:02 +0000 (21:05 +0000)]
silence a warning

19 years agominor fix for newest glxext.h header
Brian Paul [Fri, 13 Aug 2004 21:04:04 +0000 (21:04 +0000)]
minor fix for newest glxext.h header

19 years agoadded some missing sources to tarball list
Brian Paul [Fri, 13 Aug 2004 20:58:59 +0000 (20:58 +0000)]
added some missing sources to tarball list

19 years agoFix dri_util.c build with new headers.
Eric Anholt [Thu, 12 Aug 2004 21:50:03 +0000 (21:50 +0000)]
Fix dri_util.c build with new headers.

Submitted by: John Lightsey <john@nixnuts.net>

19 years agocvs ignore file
Brian Paul [Tue, 10 Aug 2004 15:42:14 +0000 (15:42 +0000)]
cvs ignore file

19 years agoupdated glext.h and glxext.h files
Brian Paul [Tue, 10 Aug 2004 15:40:20 +0000 (15:40 +0000)]
updated glext.h and glxext.h files

19 years agominor anim tweak
Brian Paul [Tue, 10 Aug 2004 15:39:00 +0000 (15:39 +0000)]
minor anim tweak

19 years agosilence warning
Brian Paul [Tue, 10 Aug 2004 15:36:46 +0000 (15:36 +0000)]
silence warning

19 years agouse 'a' to toggle animation
Brian Paul [Tue, 10 Aug 2004 15:36:31 +0000 (15:36 +0000)]
use 'a' to toggle animation

19 years agominor tweaks
Brian Paul [Tue, 10 Aug 2004 15:34:51 +0000 (15:34 +0000)]
minor tweaks

19 years agoquery/print max convolution filter size
Brian Paul [Tue, 10 Aug 2004 15:32:25 +0000 (15:32 +0000)]
query/print max convolution filter size

19 years agoadded some handy debug code (disabled)
Brian Paul [Tue, 10 Aug 2004 15:30:41 +0000 (15:30 +0000)]
added some handy debug code (disabled)

19 years agoadded a few more debug printfs (disabled)
Brian Paul [Tue, 10 Aug 2004 15:30:16 +0000 (15:30 +0000)]
added a few more debug printfs (disabled)

19 years agoFix from Rogelio Serrano for miniglx double buffering
Jon Smirl [Mon, 9 Aug 2004 22:14:57 +0000 (22:14 +0000)]
Fix from Rogelio Serrano for miniglx double buffering

19 years agofix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESS
Roland Scheidegger [Tue, 3 Aug 2004 13:03:33 +0000 (13:03 +0000)]
fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESS

19 years agoxorg-r200-uninitialized-variable-used.patch from Redhat xorg
Dave Airlie [Sat, 31 Jul 2004 08:14:50 +0000 (08:14 +0000)]
xorg-r200-uninitialized-variable-used.patch from Redhat xorg

19 years agodisabled automatic mipmaps until we can handle 565 textures.
Daniel Borca [Thu, 29 Jul 2004 08:31:26 +0000 (08:31 +0000)]
disabled automatic mipmaps until we can handle 565 textures.

19 years agofixed conflict between depth & alpha in 16bpp
Daniel Borca [Thu, 29 Jul 2004 08:25:03 +0000 (08:25 +0000)]
fixed conflict between depth & alpha in 16bpp

19 years agovtk and Paraview links updated
Brian Paul [Wed, 28 Jul 2004 15:55:13 +0000 (15:55 +0000)]
vtk and Paraview links updated

19 years agoversion 6 from oss.sgi.com
Brian Paul [Wed, 28 Jul 2004 13:23:11 +0000 (13:23 +0000)]
version 6 from oss.sgi.com

19 years agoversion 24 from oss.sgi.com
Brian Paul [Wed, 28 Jul 2004 13:22:46 +0000 (13:22 +0000)]
version 24 from oss.sgi.com

19 years agodon't use GLuint or GLvoid in function declaration
Brian Paul [Tue, 27 Jul 2004 16:32:37 +0000 (16:32 +0000)]
don't use GLuint or GLvoid in function declaration

19 years agodisable W1 when single-texturing
Daniel Borca [Mon, 26 Jul 2004 15:10:34 +0000 (15:10 +0000)]
disable W1 when single-texturing

19 years agoconsistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)
Brian Paul [Mon, 26 Jul 2004 15:09:22 +0000 (15:09 +0000)]
consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)

19 years agoFixed hash table allocation to avoid an assertion failure due to a
Felix Kuehling [Mon, 26 Jul 2004 12:42:36 +0000 (12:42 +0000)]
Fixed hash table allocation to avoid an assertion failure due to a
bad config file. Fixed two more typos.

19 years agoRush is back on ZBUFFER
Daniel Borca [Mon, 26 Jul 2004 08:04:22 +0000 (08:04 +0000)]
Rush is back on ZBUFFER
added DrawPixels555 and DrawPixels565

19 years agouse GL_CALL() macro (Andreas Stenglein)
Brian Paul [Sat, 24 Jul 2004 15:18:36 +0000 (15:18 +0000)]
use GL_CALL() macro (Andreas Stenglein)

19 years agonew MESA_GLX_DEPTH_BITS env var
Brian Paul [Fri, 23 Jul 2004 23:32:15 +0000 (23:32 +0000)]
new MESA_GLX_DEPTH_BITS env var

19 years agominor comments
Brian Paul [Fri, 23 Jul 2004 22:56:29 +0000 (22:56 +0000)]
minor comments

19 years agoupdates from Stephane Marchesin
Brian Paul [Fri, 23 Jul 2004 19:30:33 +0000 (19:30 +0000)]
updates from Stephane Marchesin

19 years agoadded MESA_GLX_FORCE_ALPHA env var
Brian Paul [Fri, 23 Jul 2004 15:49:12 +0000 (15:49 +0000)]
added MESA_GLX_FORCE_ALPHA env var

19 years agoadded support for MESA_GLX_FORCE_ALPHA env var
Brian Paul [Fri, 23 Jul 2004 15:47:04 +0000 (15:47 +0000)]
added support for MESA_GLX_FORCE_ALPHA env var

19 years agoALIGN16 macro repairs
Brian Paul [Fri, 23 Jul 2004 15:45:56 +0000 (15:45 +0000)]
ALIGN16 macro repairs

19 years agofixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)
Daniel Borca [Fri, 23 Jul 2004 08:59:09 +0000 (08:59 +0000)]
fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)

19 years agopartial GL_BLEND for Voodoo1
Daniel Borca [Wed, 21 Jul 2004 08:46:55 +0000 (08:46 +0000)]
partial GL_BLEND for Voodoo1

19 years agominor doc update
Daniel Borca [Wed, 21 Jul 2004 08:45:35 +0000 (08:45 +0000)]
minor doc update

19 years agofixed a bug in clear routine
Daniel Borca [Wed, 21 Jul 2004 08:44:26 +0000 (08:44 +0000)]
fixed a bug in clear routine

19 years agofix compare w/ zero warnings (bug 988766)
Brian Paul [Tue, 20 Jul 2004 21:16:07 +0000 (21:16 +0000)]
fix compare w/ zero warnings (bug 988766)

19 years agoerror message fixups and some debug code
Brian Paul [Tue, 20 Jul 2004 21:15:13 +0000 (21:15 +0000)]
error message fixups and some debug code

19 years agofix compare w/ zero warnings (bug #988766)
Brian Paul [Tue, 20 Jul 2004 21:12:56 +0000 (21:12 +0000)]
fix compare w/ zero warnings (bug #988766)