summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
AgeCommit message (Collapse)Author
2007-03-13r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; notOliver McFadden
enough information is known about them to be sure as to what the values mean.
2007-03-13Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.Oliver McFadden
Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set.
2007-03-13Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to eitherOliver McFadden
R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
2007-03-13Guess another unknown register used for R300 pacification.Oliver McFadden
2007-03-01r300: Use reg definition when available & add missing reg definition.Christoph Bill
2007-02-22r300: get rid of CB_DPATH legacyDave Airlie
2006-11-02Add requested size to r300RefillCurrentDmaRegion.Jerome Glisse
This way we no longuer have the fixed RADEON_BUFFER_SIZE. Anyway function calling AllocDmaRegion should check if this succeed and fail gracefuly if not (see bug 8348).
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-10-18Want to stop passing x/y/width/height to Clear() function.Brian Paul
The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
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-06-27Fix stencil clears that have caused problems with redbook/stencil, ↵Aapo Tahkola
tests/stencilwrap and ut2k4 adrenaline pills.
2006-06-02remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger
request at least drmMinor 6 anyway.
2006-04-11Fog support (Ewald Snel)Aapo Tahkola
2006-03-31Enough testing alreadyAapo Tahkola
2006-03-13Clean build.Aapo Tahkola
2006-03-09Kick VBOs out of GART if nothing else helps.Aapo Tahkola
2006-03-09Use the force Luke, use the force.Aapo Tahkola
2006-03-07Various fallbacks, checks and tags.Aapo Tahkola
2006-01-27R300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLORAapo Tahkola
2006-01-09Missing patch from Ben Skeggs:Aapo Tahkola
Lots of changes, and fixes for some badness on my behalf. 1. Disposable data used during fp compile is now per-context, rather than per-program to save memory. 2. Track usage of INPUT/TEMP registers from Mesa program, free them when no longer required so the hw temps can be re-used. 3. Changed LAST_NODE to OUTPUT_COLOR (see r300_reg.h) 4. Implemented remaining ARB_f_p instructions, with the exception of the trig/LIT opcodes. 5. Treat ZERO/ONE swizzles the same way as other native swizzles. 6. emit_arith changes, basically a complete re-write. Should produce cleaner instructions, but no real functional changes. internal reg -> hw reg routines shared with emit_tex. A bit messy still.
2005-12-17Enable CB_DPATH by default.Aapo Tahkola
2005-10-28Compiled arrays for vtxfmt_a path.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-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-21r300 driver side of color tiling support.Aapo Tahkola
2005-06-16Support 16-bit modes.Aapo Tahkola
2005-06-08- Secondary colourBen Skeggs
- Calculate tc_count in EmitArrays (enabled units != nr texcoords).
2005-05-31Causes lockups on some rare cases.Aapo Tahkola
2005-05-27More optimal r300Clear.Aapo Tahkola
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-13Remove quiescence sequence from r300ClearBuffer.Nicolai Haehnle
The DRM is responsible for emitting this quiescence sequence when appropriate.
2005-05-11VBOs.Aapo Tahkola
2005-05-06Updated for EXT_framebuffer_object changes. I don't know if this is correct, ↵Ben Skeggs
but it seems to work
2005-05-05Getting rusty... 4278 was already there.Aapo Tahkola
2005-04-21Adding some comments.Aapo Tahkola
2005-03-14Stencil supportPeter Zubaj
Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
2005-02-24Another nasty struct size bug found.Aapo Tahkola
2005-02-18r300RefillCurrentDmaRegion: Retry buffer acquisition only once, afterNicolai Haehnle
waiting for the engine to idle. There's no way for another buffer to become free anyway once the engine is idle.
2005-02-16small cleanup, remove some warningsRune Petersen
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-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-01Reduce noiseness of the driver.Vladimir Dergachev
2005-01-31Add magic sequence to prevent ClearBuffer from locking up.Vladimir Dergachev
Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
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-10Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev
in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
2005-01-04Port code from r200 that implements color blending. Seems to work.Vladimir Dergachev
This can be tested with lesson19 from NeHe. This has also shown that the alpha code does not work - we pick up a red tint for transparent pixels somewhere.
2005-01-04Major code restructuring:Vladimir Dergachev
* move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !