aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix format strings for LP64Adam Jackson2006-04-211-2/+2
|
* Fog support (Ewald Snel)Aapo Tahkola2006-04-111-8/+11
|
* Clean build.Aapo Tahkola2006-03-131-2/+2
|
* Try to tackle bug #5148Aapo Tahkola2006-01-201-2/+10
|
* Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie2005-12-041-0/+4
| | | | sw tcl
* get rid of some of those unknowns figured out from reg dumperDave Airlie2005-11-211-2/+2
|
* fix problems found with gcc 2.96 (bug 4934)Brian Paul2005-10-311-2/+3
|
* Reduce stderr noise and fix some compiler warnings.Aapo Tahkola2005-10-261-1/+1
|
* Sync with my local tree.Aapo Tahkola2005-10-261-25/+21
| | | | | | Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
* Add support for texture compression to R300 driverDave Airlie2005-09-251-0/+1
| | | | | This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
* silence misc warningsBrian Paul2005-09-031-4/+1
|
* Rename unchecked state to match DRM driver.Vladimir Dergachev2005-06-271-105/+92
| | | | Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
* lost_context never gets reset.Aapo Tahkola2005-06-161-2/+3
|
* Ditch unused code and features that arent in subject to get supported any ↵the_perfect_fragAapo Tahkola2005-05-191-7/+0
| | | | near time.
* The kernel doesn't like command buffers over 64KB, so we don'tNicolai Haehnle2005-05-141-3/+5
| | | | allocate buffers bigger than that.
* Don't print debug messages unless the user explicitly requested themNicolai Haehnle2005-05-141-4/+6
| | | | using the RADEON_DEBUG environment variable.
* Getting rusty... 4278 was already there.Aapo Tahkola2005-05-051-3/+0
|
* Flat shading and bunch of clarifications to r300_reg.h .Aapo Tahkola2005-05-051-0/+3
|
* Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola2005-03-121-2/+2
|
* Replacing some RADEON cmd types with r300 counterparts.Aapo Tahkola2005-03-081-2/+2
|
* Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola2005-03-081-1/+1
| | | | 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.
* Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by ↵Aapo Tahkola2005-02-191-8/+7
| | | | parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
* Print an error if idling the engine before the buffer copy fails.Nicolai Haehnle2005-02-181-1/+1
| | | | | | | 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.
* Always submit command buffers, even when there are no cliprects,Nicolai Haehnle2005-02-181-13/+6
| | | | | | | 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.
* Reset nr_released_bufs to 0 after the command buffer has been submitted.Nicolai Haehnle2005-02-181-0/+2
| | | | Added a more verbose comment about nr_released_bufs in r300_context.h
* Fixing *lots* of warning messages, especially concerning unportableNicolai Haehnle2005-02-171-16/+16
| | | | | | | 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.
* Port of r200 VB code. VB path should be as fast as the immediate path now, ↵Ben Skeggs2005-02-111-30/+25
| | | | tuxracer should render correctly. Immediate path was left enabled.
* Removing some regs that are wrong and adding some comments to r300_reg.h .Aapo Tahkola2005-02-101-7/+0
|
* Fix copy'n'paste errors.Vladimir Dergachev2005-02-101-3/+9
| | | | Print command buffer sizes during startup (TODO: remove 1 || when the driver is more mature).
* Turns out unknown5 was border color. texwrap looks good now.Aapo Tahkola2005-02-101-7/+3
|
* Adding support for selecting line width. Stipple patterns still cause lots ↵Aapo Tahkola2005-02-101-0/+17
| | | | of trouble.
* Fix the bug and get zbias back into shape. There might still be some ↵Aapo Tahkola2005-02-081-8/+0
| | | | problems with initial zbias...
* BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer ↵Aapo Tahkola2005-02-081-0/+8
| | | | 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. :)
* To cut the long and boring story short, polygon offsets should now work. vb ↵Aapo Tahkola2005-02-081-3/+3
| | | | mode colorbuffer clears are still mysticly broken by offsets... Maybe we need to merge zbs and unk42B4 together?
* Get Polygon offset fill to work.Vladimir Dergachev2005-02-031-0/+3
| | | | Make WARN_ONCE message more informative.
* border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola2005-01-241-3/+3
|
* Properly input stencil info contributed by Wladimir.Vladimir Dergachev2005-01-211-1/+1
|
* On the way to getting stencil and texture formats working.Vladimir Dergachev2005-01-151-6/+3
| | | | | 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.
* Added fixes for filter modes and support for anisotropy filters.Aapo Tahkola2005-01-141-0/+4
| | | | | | 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 :)
* Remove redundant register.Vladimir Dergachev2005-01-141-3/+0
| | | | Hook up some functions in r300Enable().
* Bring vertex buffer code up to date..Vladimir Dergachev2005-01-101-12/+26
|
* Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev2005-01-091-58/+6
|
* Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev2005-01-091-49/+0
| | | | | | | 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.
* Major code restructuring:Vladimir Dergachev2005-01-041-16/+16
| | | | | | * move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
* Add structs describing vertex and pixel shader state to r300_state.Vladimir Dergachev2005-01-031-0/+144
| | | | | Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()
* Port texture allocation code from R200.red_tinted_cubeVladimir Dergachev2005-01-031-0/+63
| | | | Hook it up, so lesson06 displays red colored textures.
* Add texture units registersVladimir Dergachev2005-01-021-1/+35
|
* Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like ↵rotating_gearsVladimir Dergachev2004-12-311-3/+3
| | | | | | disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit.
* Change default RS settings so that glxgears will display something..Vladimir Dergachev2004-12-301-0/+3
|
* Clarify some of the unkXXXX atoms.Vladimir Dergachev2004-12-301-6/+9
|