summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-08-17Close some races with locking on R100 and R200 which could manifest as renderingEric Anholt
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%).
2004-08-16whitespace clean-up, new 'clean' commandsBrian Paul
2004-08-16prepared for releaseDaniel Borca
2004-08-16Add glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, ↵Philippe Houdoin
thought. -> #define GLUT_API_VERSION 4.5 ? ;-)
2004-08-16make clean at root now clean the glu/$(GLU_DIRS) too.Philippe Houdoin
2004-08-16Stupid me. I don't know why I moved the GLView.h here at first, but now I ↵Philippe Houdoin
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.
2004-08-16cleanupDaniel Borca
2004-08-16fixed texture fetchers, fixed automatic mipmap generation, some cleanupDaniel Borca
2004-08-16fixed pixel drawing routines, some cleanupDaniel Borca
2004-08-16disabled stereo checking in wglChoosePixelFormatDaniel Borca
2004-08-16Clearer guard message text.Philippe Houdoin
2004-08-16Remove unused HAVE_INDEX define.Eric Anholt
2004-08-15GLInfo now show GLU and GLUT infos too. Fix the includes pathsPhilippe Houdoin
2004-08-15Obsoleted as demos programs build on BeOS with standard Makefile system.Philippe Houdoin
2004-08-14fix swrast/shader typoBrian Paul
2004-08-14add shader.dsp and descrip.mms to tarball list for relatively new shader dir.Karl Schultz
2004-08-14updated tarball list for BeOS changesBrian Paul
2004-08-14Update Visual Studio Project file for src tree updates.Karl Schultz
2004-08-14New Visual Studio project file for this directory.Karl Schultz
2004-08-14Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32Karl Schultz
2004-08-14minor update to intro, and some word wrappingBrian Paul
2004-08-14BeOS updates, memory leak fix, updated release notesBrian Paul
2004-08-14indentation fixesBrian Paul
2004-08-14Turn gcc optimization up to -O3.Philippe Houdoin
2004-08-14fix some memory leaks (bug #1002030)Brian Paul
2004-08-14Remove obsoleted BeOS-specific makefiles.Philippe Houdoin
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.
2004-08-14Add a guard to stop building libGLU.so under BeOS, as it's build into libGL.so.Philippe Houdoin
2004-08-14Forgot to commit this valuable file! :-)Philippe Houdoin
2004-08-14Remove obsoleted BeOS-specific makefile as the main Makefile system nowPhilippe Houdoin
support BeOS platform too.
2004-08-14Replaced the .cpp-ized (for build issue) common GLUT source files by theirPhilippe Houdoin
standard .c version. Remove unused libglut.def.
2004-08-14Replaced the .cpp-ized (for build issue) common GLUT source files by theirPhilippe Houdoin
standard .c version. Remove outdated Makefile.orig.
2004-08-14Update to Jake Hamby's BeOS GLUT 3.7 port.Philippe Houdoin
2004-08-14Move to $(TOP)/configs/default-based makefile.Philippe Houdoin
2004-08-14Update BeOS mklib to set mimetype and version.Philippe Houdoin
Static lib build support added.
2004-08-14BeOS now officially moved to main Makefiles chain. To build under BeOS: ↵Philippe Houdoin
"make beos"
2004-08-14Updated according to new way to build under BeOS.Philippe Houdoin
2004-08-14Obsolete the BeOS-specific makefile as we now build using standard Makefiles ↵Philippe Houdoin
chain.
2004-08-14Obsolete BeOS-specific makefile.Philippe Houdoin
Removed the oglinfo target from samples from BeOS build, as it depends on X.
2004-08-14Fix demo.cpp, which wasn't working as expected.Philippe Houdoin
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.
2004-08-14Obsoleted. Now, the BeOS targets build by main Makefiles chain.Philippe Houdoin
2004-08-14Silent compiler "variable may be used uninitialized" warnings.Philippe Houdoin
2004-08-14BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a functionPhilippe Houdoin
because she called create_sem(). Now the semaphore creation is made at first _glthread_LOCK_MUTEX() call.
2004-08-14Fix a bug that set RGBA bits length always to 0 (reported by Marcin Konicki).Philippe Houdoin
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...
2004-08-14build fix from XFree86 treeDave Airlie
2004-08-14Move BeOS build into main Makefiles chain.Philippe Houdoin
2004-08-14Add a BeOS build config.Philippe Houdoin
2004-08-14bring over change from xorg trunk - let build on non-i386Dave Airlie
2004-08-14bring over build fix from xorg treeDave Airlie
2004-08-13silence a warningBrian Paul
2004-08-13minor fix for newest glxext.h headerBrian Paul