mesa.git
20 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

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

20 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

20 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%).

20 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

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

20 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 ? ;-)

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

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

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

20 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

20 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

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

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

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

20 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

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

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

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

20 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

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

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

20 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

20 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

20 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

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

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

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

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

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

20 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! :-)

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

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

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

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

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

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

20 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"

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

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

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

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

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

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

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

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

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

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

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

20 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

20 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

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

20 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

20 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

20 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>

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

20 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

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

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

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

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

20 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

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

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

20 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

20 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

20 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

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

20 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

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

20 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

20 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

20 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

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

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

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

20 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

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

20 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

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

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

20 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

20 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

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

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

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

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

20 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

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

20 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

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

20 years agonew image (see mesa bug #993926)
Brian Paul [Tue, 20 Jul 2004 21:00:34 +0000 (21:00 +0000)]
new image (see mesa bug #993926)

20 years agoremove -lXm (motif) from GLW_LIB_DEPS since it's not needed by default
Brian Paul [Tue, 20 Jul 2004 20:43:24 +0000 (20:43 +0000)]
remove -lXm (motif) from GLW_LIB_DEPS since it's not needed by default

20 years agoGL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?
Daniel Borca [Tue, 20 Jul 2004 10:33:21 +0000 (10:33 +0000)]
GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?

20 years agotrying vertex_program...
Daniel Borca [Mon, 19 Jul 2004 14:08:46 +0000 (14:08 +0000)]
trying vertex_program...

20 years agoseveral new bugs
Daniel Borca [Mon, 19 Jul 2004 08:06:00 +0000 (08:06 +0000)]
several new bugs

20 years agominor corrections
Daniel Borca [Fri, 16 Jul 2004 07:54:46 +0000 (07:54 +0000)]
minor corrections

20 years agoGL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)
Daniel Borca [Fri, 16 Jul 2004 07:53:53 +0000 (07:53 +0000)]
GL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)

20 years agoSGIS_generate_mipmap
Daniel Borca [Fri, 16 Jul 2004 07:53:02 +0000 (07:53 +0000)]
SGIS_generate_mipmap

20 years agoMiniglx clients now authorize with server DRM
Jon Smirl [Fri, 16 Jul 2004 04:27:00 +0000 (04:27 +0000)]
Miniglx clients now authorize with server DRM