summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-08-25print internalFormat value in r200ChooseTextureFormat() error messageBrian Paul
2004-08-22Converted the Savage driver to the new DRI interface and enabled compilationFelix Kuehling
in the Mesa tree.
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-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-16Remove unused HAVE_INDEX define.Eric Anholt
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-26Fixed hash table allocation to avoid an assertion failure due to aFelix Kuehling
bad config file. Fixed two more typos.
2004-07-24use GL_CALL() macro (Andreas Stenglein)Brian Paul
2004-07-20fix compare w/ zero warnings (bug 988766)Brian Paul
2004-07-19several new bugsDaniel 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-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-04Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale insteadEric Anholt
of 1.0.
2004-07-04Patch removes _SOLO definition needed for mesa-solo. mesa-soloJon Smirl
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2004-07-01Remove __driRegisterExtensionsKeith Whitwell
2004-07-01Rename 'emit_func' usages in drivers. Will also rename the ones inKeith Whitwell
t_context.h.
2004-07-01fix for older gcc's (from freedesktop bug id #419)Alan Hourihane
2004-06-29First phase of TLS work. At this point SPARC assembly dispatch isIan Romanick
broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004.
2004-06-29This should make most linux-solo drivers work again. Mainly a fixJon Smirl
for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver is still broken.
2004-06-28add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.cRoland Scheidegger
2004-06-26Mesa-solo builds with these changes. There are still more fixups needed toJon Smirl
get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
2004-06-25Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick
the definitions of CC and CXX on Linux. This fixed build issues with sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set to a GCC 3.x compiler.
2004-06-25Corrected a float to ubyte conversion bug with fog enabled.Erdi Chen
2004-06-23revert accidental change from rev. 1.10Roland Scheidegger
2004-06-22check for NULL pointer to glTexImage (fix verified by Adam Jackson)Brian Paul
2004-06-19Big-endian texture fixes from Michel Dänzer.Brian Paul
2004-06-18Use correct macros for packing pixel colors -- this bug is probablyKeith Whitwell
present in many of the other drivers as well.
2004-06-18add missing license textsKeith Whitwell
2004-06-17use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵Roland Scheidegger
formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT
2004-06-17use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵Roland Scheidegger
formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE
2004-06-17Fix up texture compression mipmapping .. not sure if it fixes FXT1 butDave Airlie
with S3TC patch it fixes those