summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
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-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-14Forgot to commit this valuable file! :-)Philippe Houdoin
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-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-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-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-23added support for MESA_GLX_FORCE_ALPHA env varBrian 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-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
2004-07-15add debugging for compresssed texturesDave Airlie
2004-07-15fix up heights for i830/i915 texture compressionDave Airlie
2004-07-15move config options to same place as other drivers (again for S3TC patch later)Dave Airlie
2004-07-15use a switch statement makes integrating the s3tc patch easierDave Airlie
2004-07-15enable FXT1 texture compression for ixxx chipsetsDave Airlie
commented out Keiths extensions strings
2004-07-15move over changes to intel driver from i830 driver for modesDave Airlie
2004-07-13fixed vertex RGBADaniel Borca
2004-07-10Make solo radeon/r128 drivers track fix for DRI bug 849Jon Smirl
2004-07-10Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.Jon Smirl
2004-07-10Fix unichrome solo build to not need X11 headers. Minor change toJon Smirl
use mesa_alloc/free.
2004-07-10Make GET_PROGRAM_NAME work with uCLibc using the __progname hack.Felix Kuehling
Improved that hack to remove leading directory names.
2004-07-09Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_nameJon Smirl
will be correctly defined.
2004-07-06use tnl_emit_func, it's saferDaniel Borca
2004-07-05Convert miniglx to use Ian's fancy new driver config code.Jon Smirl
This removes the miniglx driver function InitContextModes(). All of the server directories were edited to remove the implementations.
2004-07-05added GL_ARB_point_sprite.Daniel Borca
color masking correctly implemented for 15bpp. small fixes for textures and tri engine.
2004-07-04Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale insteadEric Anholt
of 1.0.