Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes. | Aapo Tahkola | 2005-03-12 | 6 | -23/+70 |
| | |||||
* | Add suitable definitions for the _REV formats, plus a comment | Paul Mackerras | 2005-03-11 | 1 | -10/+20 |
| | | | | | | | explaining why they are the same as the non-REV formats now that textures don't get byte-swapped on their way to the chip. Fix the ARGB4444 and L8 formats. Add entries for the A8 and RGB332 formats. | ||||
* | - Flush before updating the timestamp of a texture heap from a bound texture. | Felix Kuehling | 2005-03-10 | 1 | -3/+21 |
| | | | | | | | - Flush before using a new texture or before disabling a texture unit, because savageFlushCmdBuf can only update the timestamp of the last used texture. This fixes corruption in quake2 with single-textured lighting. | ||||
* | If the texture image changed force emitting the texture address, even | Felix Kuehling | 2005-03-09 | 1 | -2/+10 |
| | | | | | if it didn't change. This seems to flush texture cashes. Fixes multi-textured lighting in quake2. | ||||
* | Don't use R200 texture constants - R300 fields are all different. | Vladimir Dergachev | 2005-03-09 | 1 | -0/+4 |
| | |||||
* | Deal with texture formats in a more robust way. | Vladimir Dergachev | 2005-03-09 | 1 | -49/+25 |
| | |||||
* | Replacing some RADEON cmd types with r300 counterparts. | Aapo Tahkola | 2005-03-08 | 2 | -6/+6 |
| | |||||
* | Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵ | Aapo Tahkola | 2005-03-08 | 5 | -19/+15 |
| | | | | 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. | ||||
* | Don't synchronize after each frame. Allow the GPU to be one frame | Felix Kuehling | 2005-03-06 | 3 | -14/+17 |
| | | | | | | | | | ahead of the CPU for more parallelism of CPU and GPU. Unfortunately there seems to be some broken hardware (like my ProSavageDDR) on which status register updates are delayed sometimes. This leads to very jerky animation if the hardware can buffer more than the current frame. A new option "sync_frames" can be used as a remedy on such broken hardware. | ||||
* | - Fixed two bugs related to DMA buffer handling that showed up with the | Felix Kuehling | 2005-03-06 | 5 | -29/+14 |
| | | | | | | new DRM version 2.4 and command DMA. - Flush less. - Bumped the driver date. | ||||
* | Add format 15. It turned out to be X,X,X,X,X8.gliding_penguin | Vladimir Dergachev | 2005-03-05 | 1 | -2/+2 |
| | |||||
* | Fixing memset on ia64 & other archs | Dave Airlie | 2005-03-05 | 4 | -6/+26 |
| | | | | From: Stephane Marchesin | ||||
* | Enable VB mode rendering by default. If anyone thinks this is wrong, ↵ | Vladimir Dergachev | 2005-03-05 | 1 | -1/+1 |
| | | | | | | | | | | *please* feel free to change it back. My reasons: * immediate mode is broken * vb mode is faster * vb mode is the right way to do it. | ||||
* | Do properly initialize ALPHA_TEST register instead of carefully preserving ↵ | Vladimir Dergachev | 2005-03-05 | 1 | -2/+6 |
| | | | | bogus value. This fixes many, many rendering issues which I wrongly blamed on texture programming or performance.. | ||||
* | remove one of the two _tnl_isolate_materials function calls | Roland Scheidegger | 2005-03-05 | 1 | -6/+0 |
| | |||||
* | Set pipes for R420 cards. Gives a nice speedup. This needs to be tested on ↵ | Rune Petersen | 2005-03-04 | 2 | -0/+5 |
| | | | | r420 cards with less than 16 pipes. | ||||
* | Add a couple of helper functions for completeness. | Vladimir Dergachev | 2005-03-03 | 1 | -0/+19 |
| | |||||
* | fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping ↵before_upgrade_03_01_05 | Aapo Tahkola | 2005-02-28 | 5 | -16/+35 |
| | | | | VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise. | ||||
* | Added 0x4e51 - Saphire 9600 256MB | hmarson | 2005-02-27 | 1 | -0/+4 |
| | | | | 0x4e71 - Saphire 9600 256MB - Second Head... | ||||
* | precedence precedence precedence.. add some brackets | Dave Airlie | 2005-02-27 | 1 | -1/+1 |
| | |||||
* | Add a dri config option to enable the max texture level hack | Dave Airlie | 2005-02-26 | 6 | -5/+28 |
| | | | | make ycbcr depend on a CHIPSET define .. needs to be filled in though | ||||
* | Another nasty struct size bug found. | Aapo Tahkola | 2005-02-24 | 5 | -7/+15 |
| | |||||
* | Don't forget to update a heap's timestamp when a texture image is | Felix Kuehling | 2005-02-23 | 1 | -2/+15 |
| | | | | | | changed. Other drivers don't need to do this because they're swapping modified textures out of texture memory, which implies a timestamp update. | ||||
* | With Savage DRM version 2.3.x or later use event counters for texture | Felix Kuehling | 2005-02-23 | 3 | -1/+30 |
| | | | | | heap aging, similar to the way it's done in the i810 and i855 drivers. This avoids idling the engine on every texture upload. | ||||
* | New elt buffer code should be fairly stable. | Aapo Tahkola | 2005-02-22 | 6 | -124/+43 |
| | |||||
* | Add code to autogenerate vertex shaders. | Vladimir Dergachev | 2005-02-21 | 3 | -7/+113 |
| | | | | This is needed for multitexturing to work properly. | ||||
* | Adding support for front buffer mode, removing some code we dont really need ↵ | Aapo Tahkola | 2005-02-20 | 3 | -79/+74 |
| | | | | and some new debugging stuff. | ||||
* | Minor fix to border and blend color. | Aapo Tahkola | 2005-02-19 | 3 | -2/+15 |
| | |||||
* | Disabling some fallbacks as they cause misc programs not to start and adding ↵ | Aapo Tahkola | 2005-02-19 | 1 | -15/+22 |
| | | | | some comments. | ||||
* | Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by ↵ | Aapo Tahkola | 2005-02-19 | 4 | -25/+30 |
| | | | | 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 Haehnle | 2005-02-18 | 2 | -1/+2 |
| | | | | | | | 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. | ||||
* | fd.o bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.) | Michel Dänzer | 2005-02-18 | 1 | -0/+3 |
| | |||||
* | r300RefillCurrentDmaRegion: Retry buffer acquisition only once, after | Nicolai Haehnle | 2005-02-18 | 1 | -7/+12 |
| | | | | | waiting for the engine to idle. There's no way for another buffer to become free anyway once the engine is idle. | ||||
* | Always submit command buffers, even when there are no cliprects, | Nicolai Haehnle | 2005-02-18 | 1 | -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. | ||||
* | We dont need to call r300EmitAOS if we arent going to draw ↵ | Aapo Tahkola | 2005-02-18 | 1 | -6/+7 |
| | | | | anything(r300_get_num_verts returns 0). | ||||
* | Reset nr_released_bufs to 0 after the command buffer has been submitted. | Nicolai Haehnle | 2005-02-18 | 2 | -1/+7 |
| | | | | Added a more verbose comment about nr_released_bufs in r300_context.h | ||||
* | Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not == | Nicolai Haehnle | 2005-02-18 | 1 | -1/+1 |
| | |||||
* | Fixing *lots* of warning messages, especially concerning unportable | Nicolai Haehnle | 2005-02-17 | 10 | -322/+324 |
| | | | | | | | 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. | ||||
* | RADEON_DEBUG is a bitfield, so use & instead of ==. | Nicolai Haehnle | 2005-02-17 | 1 | -98/+98 |
| | | | | | Also, put the hash in preprocessor directives at the beginning of the line to fix error messages. | ||||
* | Switching to start_index32_packet. | Aapo Tahkola | 2005-02-17 | 1 | -1/+7 |
| | |||||
* | magic_1 handling... | Aapo Tahkola | 2005-02-17 | 2 | -21/+60 |
| | |||||
* | oops. | Ben Skeggs | 2005-02-17 | 1 | -1/+1 |
| | |||||
* | s/0/NULL/ (Jeff Muizelaar) | Brian Paul | 2005-02-17 | 12 | -23/+23 |
| | |||||
* | remove extern (Jeff Muizelaar) | Brian Paul | 2005-02-17 | 1 | -3/+3 |
| | |||||
* | Make immediate code do a LOAD_VBPNTR again | Ben Skeggs | 2005-02-17 | 1 | -0/+2 |
| | |||||
* | fix some 0->NULLs | Dave Airlie | 2005-02-17 | 1 | -2/+2 |
| | |||||
* | Cleanup formatting a little bit. | Vladimir Dergachev | 2005-02-17 | 1 | -2/+6 |
| | |||||
* | Support for idx buffers. Leaving it on by default as it doesnt seem to cause ↵ | Aapo Tahkola | 2005-02-16 | 5 | -4/+119 |
| | | | | any lock ups nor other issues. Tests with one object using elts should pass. Introducing more than one object will cause indices to mix up as far as i can see. DRM update is needed for this code to work\! | ||||
* | small cleanup, remove some warnings | Rune Petersen | 2005-02-16 | 6 | -6/+6 |
| | |||||
* | s/0/NULL/ (Jeff Muizelaar) | Brian Paul | 2005-02-16 | 11 | -25/+25 |
| |