aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_swtcl.c
Commit message (Collapse)AuthorAgeFilesLines
* fix problems found with gcc 2.96 (bug 4934)Brian Paul2005-10-311-1/+1
|
* enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger2005-10-151-3/+8
| | | | generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
* enable 3rd texture unit on radeon (default still 2 enabled units). Disable ↵Roland Scheidegger2005-10-131-1/+1
| | | | some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
* fix projective texturing for (swtcl) texture rectangles. Fix wrong argument ↵Roland Scheidegger2005-09-261-3/+13
| | | | order for texgen/texmat matrix multiplication.
* s/__inline/INLINE/Brian Paul2005-09-011-3/+4
|
* Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coordsEric Anholt2005-06-261-1/+7
| | | | | | | | | | during fallbacks. In one case, _swsetup_Wakeup had just been called, covering the need there, and in the other case, we can simply exit the entire radeonChooseVertexState function, knowing that it will be called again once we leave the fallback. Bugzilla #: 2516 Submitted by: sroland
* Remove unused CTX_ARG2 define.Eric Anholt2005-05-311-1/+0
|
* Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cutsEric Anholt2005-05-311-406/+201
| | | | | | | | | about 200 lines from the code and 25k from the binary, while matching other drivers more closely. In the worst case (tcl_mode=0) it appears to have a performance cost of 4.4% +/- 0.3% on quake3 (800x600 demofours, 1ghz p3, rv200). Tested on ut2004, ut, q3, projtex. Submitted by: Andreas Stenglein <[email protected]>
* Add a missing EnsureCmdBufSpace, matching r200.Eric Anholt2005-05-281-0/+4
|
* First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell2005-04-221-62/+14
|
* s/0/NULL/ (Jeff Muizelaar)Brian Paul2005-02-161-4/+4
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-2/+2
|
* silence warningsAlan Hourihane2004-12-021-2/+5
|
* Clean up some warnings in the R100 driver with -O -Wall.Eric Anholt2004-09-241-1/+1
|
* Close some races with locking on R100 and R200 which could manifest as renderingEric Anholt2004-08-171-0/+2
| | | | | | | | | | | | | | | | | | | | 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%).
* Remove unused HAVE_INDEX define.Eric Anholt2004-08-161-1/+0
|
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-7/+7
|
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-1/+1
| | | | array, texObj->Image[face][level].
* Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell2004-01-051-17/+1
|
* Updates to tnl_dd_dmatmp.hKeith Whitwell2003-12-111-88/+58
| | | | | | | | | | | | | | - Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings.
* Fix use of uninited value 'flags', removed unused vars.Keith Whitwell2003-12-091-2/+2
|
* Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floatingKeith Whitwell2003-12-091-14/+34
| | | | point colors throughout mesa.
* Import vtx-0-2-branchKeith Whitwell2003-11-241-30/+25
|
* Update DRI drivers to current DRI CVS and make them work.Jon Smirl2003-10-211-86/+8
|
* patch to import Jon Smirl's work from BitkeeperBrian Paul2003-08-221-0/+1332