summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
AgeCommit message (Collapse)Author
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 !
2005-01-03Add structs describing vertex and pixel shader state to r300_state.Vladimir Dergachev
Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()
2005-01-03Port texture allocation code from R200.Vladimir Dergachev
Hook it up, so lesson06 displays red colored textures.
2005-01-02Add texture units registersVladimir Dergachev
2004-12-31Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like ↵Vladimir Dergachev
disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit.
2004-12-30Change default RS settings so that glxgears will display something..Vladimir Dergachev
2004-12-30Clarify some of the unkXXXX atoms.Vladimir Dergachev
2004-11-02No visible changes, but commit the groundwork for further experiments:Nicolai Haehnle
- Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
2004-10-24Hardware accelerated depth clearNicolai Haehnle
2004-10-17- FIX: flickeringNicolai Haehnle
- Scissor support works now
2004-10-15Huge dumb drop. State:Nicolai Haehnle
- Color buffer clear is accelerated, but flickers (possibly caused by a recent DDX or Mesa change or bad merge) - Everything else uses software fallback rendering - There should be no clipping-related artifacts with the sw-clipspan-fixes.patch against Mesa (posted on dri-devel) - Multiple clients should be rock solid with a DDX patch that is soon to come (soon = within the next hour or so)
2004-09-28Initial revisionNicolai Haehnle