summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-10-13Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)Adam Jackson
2004-10-09This statechange is vtx state, not tcl.Eric Anholt
2004-10-08Use the right FALLBACK macro for projtex so that projective textures actuallyEric Anholt
cause a fallback, and simplify the tmu handling a little.
2004-10-08Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by defaultEric Anholt
so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks.
2004-10-08Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won'tEric Anholt
be used in that case, and it wanting WRITE_DEPTH was making r128 die on the undefined symbol.
2004-10-08Add support for NV_blend_square, and print errors if an unsupported blendEric Anholt
function is used.
2004-10-08Massively cleaned up the code that calculates front/back/depth bufferIan Romanick
pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555.
2004-10-08Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher
2004-10-07Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
2004-10-07Prevent Y-offset from exceeding valid range in texture upload code. ThisIan Romanick
fixes bugzilla #960.
2004-10-07Fix emitting fog without secondary color and vice-versa.Felix Kuehling
2004-10-06Convert tdfxDDInitExtensions to use driInitExtensions.Ian Romanick
2004-10-05stencil wrap works, either HW or SW (Ian Romanick)Daniel Borca
2004-10-04Use the driFillInModes utility function.Ian Romanick
2004-10-04Also export fbconfigs with 0/0 depth/stencil modes. This fixes "driverIan Romanick
claims not to support visual 0xXX" warnings in X.org 6.8.1.
2004-10-04Add some Savage3D stencil documentation based on discussions during theIan Romanick
20-Sep-2004 #dri-devel meeting.
2004-10-04make clean should remove depend.bak too (Sérgio Moneiro Basto)Brian Paul
2004-10-04Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.Ian Romanick
This fixes bugzilla #1511.
2004-10-04The alpha post-scale and the RGB post-scale were mistakenly reversed.Ian Romanick
2004-10-03Remove empty r128_vb.h.Eric Anholt
2004-10-02fix _DrawDestMask[0][0] typosBrian Paul
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-10-02If an application cleared before any state had been emitted, that clear wouldEric Anholt
happen before any state had been set, causing a hang later on. Fix this by calling r200Flush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in r200Clear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
2004-10-02Convert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers)Eric Anholt
it's not that big of a deal in more normal apps, and axes a good bit of code. And I assume that t_vertex will only get faster. Removes ~43k from compiled binary. Tested with: quake3, ut, ipers, texcyl, chromium, tuxracer, neverball (kinda)
2004-10-02Cut out all of the old texture environment code and rewrote it fromIan Romanick
scratch. There were just too many cut-and-paste errors in the code, and it was too hard to follow. This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but I'd like to do some more testing before I close that particular bug. Additionally, this cuts almost 4,600 lines of code from the driver.
2004-10-01Replace the numerous switch-statements to derive GL_COMBINE post-scaleIan Romanick
state with a function. This function sets the bits correctly. Did some trivial refactoring on some of the GL_COMBINE code. First pass at replacing classic texture environments with GL_COMBINE. This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
2004-09-30Factored out code for setting texture coordinate wrap bits. Added supportIan Romanick
for GL_ARB_texture_mirrored_repeat. Enabled GL_NV_blend_square. It has always actually been supported. Removed redundant EXT versions of ARB extension strings.
2004-09-30Bugzilla #1058: Fix some potential 64bit pointer issues by storing differencesEric Anholt
between pointers in appropriate types. Submitted by: Ronny V. Vindenes <s864@ii.uib.no>
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