summaryrefslogtreecommitdiff
path: root/src/mesa
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-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-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-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-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-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
2004-07-23fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)Daniel Borca
2004-07-21partial GL_BLEND for Voodoo1Daniel Borca
2004-07-21fixed a bug in clear routineDaniel Borca
2004-07-20fix compare w/ zero warnings (bug 988766)Brian Paul
2004-07-20error message fixups and some debug codeBrian Paul
2004-07-20fix compare w/ zero warnings (bug #988766)Brian Paul
2004-07-20GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?Daniel Borca
2004-07-19trying vertex_program...Daniel Borca
2004-07-19several new bugsDaniel Borca
2004-07-16minor correctionsDaniel Borca
2004-07-16GL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)Daniel Borca
2004-07-16SGIS_generate_mipmapDaniel Borca