summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
AgeCommit message (Collapse)Author
2007-03-13Documented the value written for R300_TX_CNTL cache flush.Oliver McFadden
2007-03-11Guess another unknown register in R300 command buffer initialization. ↵Aapo Tahkola
(Oliver McFadden)
2007-03-11Renamed some of the unkXXX variables in the command buffer initOliver McFadden
ialization code. Note that there are still plenty of actual unknown variables left that should probably be deciphered. There are a number of things incomplete in the driver; the different polygon offset modes (line, point, etc), the other texture filter, texture chroma key, etc. These should probably be fixed in the future, or at least added to the TODO list.
2007-03-01r300: Use register name & add a register about shading.Christoph Bill
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-07-27r300_emit.h cleanup.Jerome Glisse
Remove unused macro Replace LOCAL_VAR, PREFIX* Indent code Remove radeon redundant CP type 3 packet
2006-04-21Fix format strings for LP64Adam Jackson
2006-04-11Fog support (Ewald Snel)Aapo Tahkola
2006-03-13Clean build.Aapo Tahkola
2006-01-20Try to tackle bug #5148Aapo Tahkola
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-11-21get rid of some of those unknowns figured out from reg dumperDave Airlie
2005-10-31fix problems found with gcc 2.96 (bug 4934)Brian Paul
2005-10-26Reduce stderr noise and fix some compiler warnings.Aapo Tahkola
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-09-25Add support for texture compression to R300 driverDave Airlie
This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
2005-09-03silence misc warningsBrian Paul
2005-06-27Rename unchecked state to match DRM driver.Vladimir Dergachev
Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
2005-06-16lost_context never gets reset.Aapo Tahkola
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-14The kernel doesn't like command buffers over 64KB, so we don'tNicolai Haehnle
allocate buffers bigger than that.
2005-05-14Don't print debug messages unless the user explicitly requested themNicolai Haehnle
using the RADEON_DEBUG environment variable.
2005-05-05Getting rusty... 4278 was already there.Aapo Tahkola
2005-05-05Flat shading and bunch of clarifications to r300_reg.h .Aapo Tahkola
2005-03-12Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola
2005-03-08Replacing some RADEON cmd types with r300 counterparts.Aapo Tahkola
2005-03-08Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola
correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
2005-02-19Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by ↵Aapo Tahkola
parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
2005-02-18Print an error if idling the engine before the buffer copy fails.Nicolai Haehnle
Be a bit more useful about the sync message after flushing command buffers. Add an "allmsg" debug name that enables all log messages but does not enable syncing.
2005-02-18Always submit command buffers, even when there are no cliprects,Nicolai Haehnle
so that we no longer leak DMA buffers (plus, this just might fix some state-setting related problems, if there were any - but that's unlikely). Update the DRM to cope with cmdbuf->nbox == 0.
2005-02-18Reset nr_released_bufs to 0 after the command buffer has been submitted.Nicolai Haehnle
Added a more verbose comment about nr_released_bufs in r300_context.h
2005-02-17Fixing *lots* of warning messages, especially concerning unportableNicolai Haehnle
whitespace before preprocessor commands. Please, can you try to keep the warnings down? Try running make with make -s sometime to see just how bad an offender the current code is.
2005-02-11Port of r200 VB code. VB path should be as fast as the immediate path now, ↵Ben Skeggs
tuxracer should render correctly. Immediate path was left enabled.
2005-02-10Removing some regs that are wrong and adding some comments to r300_reg.h .Aapo Tahkola
2005-02-10Fix copy'n'paste errors.Vladimir Dergachev
Print command buffer sizes during startup (TODO: remove 1 || when the driver is more mature).
2005-02-10Turns out unknown5 was border color. texwrap looks good now.Aapo Tahkola
2005-02-10Adding support for selecting line width. Stipple patterns still cause lots ↵Aapo Tahkola
of trouble.
2005-02-08Fix the bug and get zbias back into shape. There might still be some ↵Aapo Tahkola
problems with initial zbias...
2005-02-08BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer ↵Aapo Tahkola
clears and other things not to work. This bug can be triggered by extending struct r300_hw_state by two struct r300_state_atom's from its current size. Everything zbs and unk42B4 related is now covered with HAVE_ZBS and GA ifdefs. Who wants to fix it? Not i. :)
2005-02-08To cut the long and boring story short, polygon offsets should now work. vb ↵Aapo Tahkola
mode colorbuffer clears are still mysticly broken by offsets... Maybe we need to merge zbs and unk42B4 together?
2005-02-03Get Polygon offset fill to work.Vladimir Dergachev
Make WARN_ONCE message more informative.
2005-01-24border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola
2005-01-21Properly input stencil info contributed by Wladimir.Vladimir Dergachev
2005-01-15On the way to getting stencil and texture formats working.Vladimir Dergachev
Looks like the matter of texture formats is a lot simpler, with the wrong display in quake explained by the fact that we are not handling texture combine modes.
2005-01-14Added fixes for filter modes and support for anisotropy filters.Aapo Tahkola
Wrap modes would work perfectly but i messed up something when cleaning up the code :/ Border color code is incomplete because i forgot to check how to set border size :)
2005-01-14Remove redundant register.Vladimir Dergachev
Hook up some functions in r300Enable().
2005-01-10Bring vertex buffer code up to date..Vladimir Dergachev
2005-01-09Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev
2005-01-09Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev
perfect. Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c. The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
2005-01-04Major code restructuring:Vladimir Dergachev
* move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !