summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-09-30OK, one more time. Simplify the state-backup system by just storing the fullEric Anholt
state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported where the check() could return differently during backup-and-emit than it should have if it were called at the right time. Move the lit emission before most of the TCL state emission on r200, which fixes neverball issues. Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers
2004-09-28Initial revisionNicolai Haehnle
2004-09-28use GLuint instead of uintDaniel Borca
2004-09-25Bump driver_date for today's fixes.Eric Anholt
2004-09-25Can't bail in sisDDLogicOpCode when logicop is off, because it's called withEric Anholt
GL_COPY to turn off logicop. Fixes glean's logicop test.
2004-09-25Triangle stipple is a fallback, since we don't have code for the stippling.Eric Anholt
Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct.
2004-09-25Correct a couple of comments.Eric Anholt
2004-09-25Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hangEric Anholt
the hardware. Re-enable AGP by default.
2004-09-25The previous code would emit a full set of state during the first EmitState onEric Anholt
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my tests, along with other apps. Tested with: ipers, glxgears, quake3
2004-09-25Fix texturing in quake3. Some code was left over from the dirty/clean listEric Anholt
setup that now removed atoms from the atomlist on texture deletion.
2004-09-25Bump DRIVER_DATE for yesterday's changes.Eric Anholt
2004-09-24patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)Brian Paul
2004-09-24-O -Wall warnings cleanups in r200.Eric Anholt
2004-09-24Clean up some warnings in the R100 driver with -O -Wall.Eric Anholt
2004-09-24Remove an unnecessary calculation of the dest pointer.Eric Anholt
2004-09-23fix for Erics new emit state code, rework out the dest pointerDave Airlie
after we check the buffer
2004-09-22The previous code would emit a full set of state during the first EmitState onEric Anholt
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on UNLOCK. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Also, remove the dirty/clean atom lists, since atoms are emitted in a fixed order these days, and go with a simpler single list. Provides a 14% improvement in ipers performance in my tests, along with other apps.
2004-09-21Add xmlconfig to the i810 makefileDave Airlie
2004-09-19Add GL_ARB_texture_cube_map support for i830. Most of the code wasIan Romanick
lifted from the i915 side. i830 will now report version 1.3! Hurrah! With the exception of GL_EXT_texture_compression_s3tc, the i830 driver now supports all the extensions that its Windows counterpart supports.
2004-09-19Added GL_ARB_point_parameters support for i830.Ian Romanick
2004-09-19Merge in all the i830 functional differences from the old i830 driver.Ian Romanick
2004-09-15replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas StengleinBrian Paul
2004-09-13Minor extension string tweaks. Added support for vertex program extensions.Ian Romanick
Tested with arbvptorus, arbvpwarpmesh, vptorus, and vpwarpmesh.
2004-09-08updated patch for vertex programDave Airlie
2004-09-07This patch enables GL_ARB_vertex_program and GL_NV_vertex_programDave Airlie
support in the r200 driver. Both extensions can be enabled via options, GL_ARB_vertex_program is on by default, GL_NV_vertex_program off. Option descriptions are in german, english and french. From: Philipp Klaus Krause
2004-09-02r200-maybe-flush-less-3.diffKeith Whitwell
2004-08-31The i915 driver was merged after EMIT_*_BGR bug was fixed. This bringsKeith Whitwell
the driver into line with the correct meaning of those symbols and fixes color corruptions.
2004-08-30cleaned up extensions a bitDaniel Borca
2004-08-30clamp lodbiasDaniel Borca
2004-08-30fixed automatic mipmap generationDaniel Borca
2004-08-30fog really needs WDaniel Borca
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