summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2004-09-24Remove an unnecessary calculation of the dest pointer.Eric Anholt
2004-09-23just some comments and formatting changesBrian Paul
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-20clamp size of wide pointsDaniel Borca
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-17rearrange a couple of lines of code to avoid compilation error in VC 6,Karl Schultz
probably due to a compiler bug.
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-13cleanup and bugfixes for fxDDClear()Daniel Borca
2004-09-13cleanup and some changes towards GL_ARB_point_sprite (two-zero)Daniel Borca
2004-09-13cleanupDaniel Borca
2004-09-10applied patch #1026109Brian Paul
2004-09-10assorted updates (bug #1025977)Brian Paul
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-03make sure the HW is clean before shooting the pipelineDaniel Borca
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-31newer Glide3x snaps vertices internally for V1/VR/VBDaniel Borca
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-30remove CRDaniel Borca
2004-08-25ICD update from Gregor AnichBrian Paul
2004-08-25print internalFormat value in r200ChooseTextureFormat() error messageBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-08-25Windows ICD driver code (patch 1014800)Brian Paul
2004-08-22Converted the Savage driver to the new DRI interface and enabled compilationFelix Kuehling
in the Mesa tree.
2004-08-20hide GL_ARB_texture_compression from non-VSA cardsDaniel Borca
2004-08-19why is GL_ARB_texture_env_combine different from EXT?Daniel Borca
2004-08-19"const int _nc" was really stupid...Daniel Borca
2004-08-19cleanupDaniel Borca
2004-08-19silence compiler warningsDaniel Borca
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-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