summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-08-17Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in theEric Anholt
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.
2004-08-17don't enable the float texture and GLhalf pixel extensions yetBrian Paul
2004-08-17Fixed an assembler warning / error (depending on the version of GAS used).Ian Romanick
Fixed a crash in the optimized pthreads dispatch path.
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-16Add glutGetProcAddress(). Not all GLUT version 5 APIs are supported yet, ↵Philippe Houdoin
thought. -> #define GLUT_API_VERSION 4.5 ? ;-)
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-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-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-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-14bring over change from xorg trunk - let build on non-i386Dave Airlie
2004-08-14bring over build fix from xorg treeDave Airlie
2004-08-12Fix dri_util.c build with new headers.Eric Anholt
Submitted by: John Lightsey <john@nixnuts.net>
2004-08-10added some handy debug code (disabled)Brian Paul
2004-08-10added a few more debug printfs (disabled)Brian Paul
2004-08-09Fix from Rogelio Serrano for miniglx double bufferingJon Smirl
2004-08-03fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESSRoland Scheidegger
2004-07-31xorg-r200-uninitialized-variable-used.patch from Redhat xorgDave Airlie
2004-07-29disabled automatic mipmaps until we can handle 565 textures.Daniel Borca
2004-07-29fixed conflict between depth & alpha in 16bppDaniel Borca
2004-07-26disable W1 when single-texturingDaniel Borca
2004-07-26consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)Brian Paul
2004-07-26Fixed hash table allocation to avoid an assertion failure due to aFelix Kuehling
bad config file. Fixed two more typos.
2004-07-26Rush is back on ZBUFFERDaniel Borca
added DrawPixels555 and DrawPixels565
2004-07-24use GL_CALL() macro (Andreas Stenglein)Brian Paul
2004-07-23new MESA_GLX_DEPTH_BITS env varBrian Paul
2004-07-23minor commentsBrian Paul
2004-07-23added support for MESA_GLX_FORCE_ALPHA env varBrian Paul
2004-07-23ALIGN16 macro repairsBrian Paul