summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2006-09-22fix the broken fallback string/debug stuffBrian Paul
2006-09-22remove extra indentationBrian Paul
2006-09-22fix up access to vertex attrib components which don't really exist but are ↵Roland Scheidegger
defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
2006-09-22Explicit test for +ve pitches in intelEmitCopyBlit()Keith Whitwell
2006-09-21Do a better job of choosing texture formats to avoid image conversions.Keith Whitwell
2006-09-21use the requested internal texture format where possibleKeith Whitwell
2006-09-21Catch a couple of cases where we would have to delete and recreate theKeith Whitwell
miptree object.
2006-09-20try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger
mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
2006-09-20Add a comment about the interactions of negative pitches, overlappingKeith Whitwell
blits and the different ways of specifying a blit on this hardware.
2006-09-20remove some dead codeKeith Whitwell
2006-09-20Fix some warningsKeith Whitwell
2006-09-20fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵Roland Scheidegger
(GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).
2006-09-20Support ARB_texture_rectangle.Keith Whitwell
2006-09-201) Add a new flag in the sarea (coopting the unused texAge value) toKeith Whitwell
identify context switches between members of a share group - ie. multiple contexts in a single application, possibly on different threads. In this case the contexts share a bufmgr instance and there is no need to evict textures - so don't. 2) Use a new flag 'need_flush' to ensure hardware rendering is flushed prior to starting a software fallback.
2006-09-20Broadwater seems to prefer this style of blitting.Keith Whitwell
2006-09-20add accelerated glCopyPixels pathKeith Whitwell
2006-09-20restore debug output after brw_wm_fp compilation stageKeith Whitwell
2006-09-20Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.Keith Whitwell
2006-09-18change make depend output redirection to 2>&1 (bug 8344)Brian Paul
2006-09-14Fallback if ColorLogicOp is enabled. Cleanup a bit the fallbackJerome Glisse
function.
2006-09-14Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.Michel Dänzer
2006-09-14VS nr of urb entries is constrained to be one of a fixed set of values,Keith Whitwell
specifically {8,16,32}.
2006-09-13always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger
faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
2006-09-13Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger
ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).
2006-09-13don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger
we call the blend/logic op functions. Fixes glean logicOp test on r200.
2006-09-13fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵Roland Scheidegger
is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
2006-09-13make sure we upload the new vertex program if the program string changes.Roland Scheidegger
2006-09-13make triangle smoothing a sw fallback (Martign van Oosterhout)Brian Paul
2006-09-12Fix compilation warning.Jerome Glisse
2006-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-09-12quieten debugKeith Whitwell
2006-09-12Potential fix for doom3 lockups. Seems that there is a conflictKeith Whitwell
between the vertex cache, the vertex shader and the clipping stages, all of which are competitors for URB entries assigned to the VS unit. This change reduces the maximum number of clip and VS threads by enough to ensure that they cannot consume all the available URB entries, and then reduces the number somewhat more up to an arbitary amount I discovered by trial and error. Unfortunately trial and error solutions don't inspire total confidence...
2006-09-12Disassemble active program when DEBUG_VS is set.Keith Whitwell
2006-09-12Add code to tweak aubfile state and primitives on replay.Keith Whitwell
2006-09-12Encode a unique id in the aub header date fields.Keith Whitwell
2006-09-10remove code to deal with non-normalized texture coordinates for tex rect ↵Roland Scheidegger
targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).
2006-09-10cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv ↵Roland Scheidegger
conversion appears only to work on first unit.
2006-09-08Basic facility for playing back captured aubfiles. Requires a smallKeith Whitwell
hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring.
2006-09-08cause a vtxfmt fallback directly when hitting NewList for radeon and r200 ↵Roland Scheidegger
drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure.
2006-09-07Consistent return values from the bm* functions.Keith Whitwell
Get aubfile generation working again.
2006-09-07Cope with memory pool fragmentation by allowing a second attempt atKeith Whitwell
rendering operations to take place after evicting all resident buffers. Cope better with memory allocation failures throughout the driver and improve tracking of failures.
2006-09-07Fix glitch with pool alignments.Keith Whitwell
2006-09-07Use lower alignments where possible. Also pad out allocated blocks toKeith Whitwell
a multiple of alignment to avoid accumulating unusable free blocks.
2006-09-07Make sure bmBufferOffset is called for all active buffers every timeKeith Whitwell
we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE().
2006-09-07make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're ↵Roland Scheidegger
already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1).
2006-09-07Fix a leak of the screen's option cache on cleanup (copied from radeon).Eric Anholt
2006-09-06Simplify the immediate and displaylist code. Treat VertexAttrib*ARBKeith Whitwell
as non-aliasing and cope with the >32 attributes that result, taking materials into account.
2006-09-05Dynamically allocate instruction store for tnl programs according toKeith Whitwell
requirements.
2006-09-04Fixes for calculating point attenuationKeith Whitwell
2006-09-04Don't export NV_vertex_program as it's not supported, it confusesKeith Whitwell
glean, and we no longer need to export it to keep Mesa happy as we did at one time.