Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Fixed handling of scissors | Felix Kuehling | 2005-01-05 | 3 | -43/+8 |
| | | | | | | | * Only set scissor regs directly if drmMinor < 1 * Don't set texaddr to 0 when a texture unit is disabled. That would trigger the tightened texture state check in the DRM if the texaddr and texdesc registers were not emitted atomically. | ||||
* | Only try to free the front buffer when it's a pbuffer. | Alan Hourihane | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | fix build problem | Alan Hourihane | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | make alloc-dma functions inline, rearrange some debug | Keith Whitwell | 2005-01-05 | 4 | -68/+54 |
| | |||||
* | Avoid a segfault in multiarb.c | Keith Whitwell | 2005-01-05 | 1 | -3/+4 |
| | |||||
* | Bring VIA driver up-to-date with regard to drm_*_t changes and remove | Alan Hourihane | 2005-01-05 | 9 | -336/+333 |
| | | | | | | | the xf86drmVIA.[ch] files. Bring in the IRQ handler and Ring buffer code, but ring buffer is disabled as it is with the Xserver. It certainly locks up the CLE266. | ||||
* | Reduce the amount of debug output, while still printing important messages.blended_fountain | Vladimir Dergachev | 2005-01-05 | 2 | -22/+52 |
| | | | | Make guessing texture formats easier. | ||||
* | Play a little bit with texture formats. | Vladimir Dergachev | 2005-01-05 | 4 | -18/+41 |
| | | | | Get NeHe demos 06, 07 and 19 working. | ||||
* | Sync with master copy. | Vladimir Dergachev | 2005-01-04 | 1 | -0/+5 |
| | |||||
* | Port code from r200 that implements color blending. Seems to work. | Vladimir Dergachev | 2005-01-04 | 3 | -3/+288 |
| | | | | | | 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. | ||||
* | Unify rendering of textured and non-textured primitives. | Vladimir Dergachev | 2005-01-04 | 1 | -165/+51 |
| | |||||
* | Major code restructuring: | Vladimir Dergachev | 2005-01-04 | 8 | -295/+411 |
| | | | | | | * move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup ! | ||||
* | Add GL_EXT_fog_coord | Keith Whitwell | 2005-01-04 | 1 | -0/+1 |
| | |||||
* | Add GL_EXT_secondary_color | Keith Whitwell | 2005-01-04 | 1 | -0/+1 |
| | |||||
* | Turn specular lighting state on/off appropriately. | Keith Whitwell | 2005-01-04 | 1 | -0/+5 |
| | |||||
* | Change to use the t_vertex.c mechanisms for building vertices, | Keith Whitwell | 2005-01-04 | 10 | -678/+381 |
| | | | | | | including Felix's ptex code. Re-enable some assembly for performance. | ||||
* | Added support for floating point depth buffers on Savage4-based | Felix Kuehling | 2005-01-03 | 6 | -40/+221 |
| | | | | | | | | | | | | hardware. By also reversing the depth range this can compensate the loss of accuracy of far objects caused by the projective transformation. Software fallbacks work but are slightly slower since floats in a custom (non IEEE) format have to be encoded and decoded. I havn't done anything about polygon offsets yet. There doesn't seem to be an easy way do get it right except making the offset unit as big as the lowest resolution of depth values. For now float depth is disabled by default but can be enabled through driconf (though I have seen only positive effects so far). | ||||
* | Added a boolean option for a floating-point depth buffer. | Felix Kuehling | 2005-01-03 | 1 | -0/+6 |
| | |||||
* | Add structs describing vertex and pixel shader state to r300_state. | Vladimir Dergachev | 2005-01-03 | 4 | -72/+581 |
| | | | | | Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render() | ||||
* | DirectFB driver (Claudio Ciccani) | Brian Paul | 2005-01-03 | 2 | -0/+695 |
| | |||||
* | Turns out I left flat primitives in vertex buffer mode. Switch them back to ↵ | Vladimir Dergachev | 2005-01-03 | 1 | -1/+1 |
| | | | | immediate which works correctly.. | ||||
* | Enable code to compute other constants that were used by R200 code. | Vladimir Dergachev | 2005-01-03 | 4 | -29/+30 |
| | | | | | Add fprintf to print these constants. Correct t->size computation, so it works now. | ||||
* | Port texture allocation code from R200.red_tinted_cube | Vladimir Dergachev | 2005-01-03 | 11 | -13/+3393 |
| | | | | Hook it up, so lesson06 displays red colored textures. | ||||
* | Add texture units registers | Vladimir Dergachev | 2005-01-02 | 3 | -2/+118 |
| | |||||
* | Cleanup !noisy_cube | Vladimir Dergachev | 2005-01-02 | 1 | -27/+15 |
| | | | | I can not trigger any lockups now.. | ||||
* | I think I fixed the lockups issue. | Vladimir Dergachev | 2005-01-02 | 1 | -3/+23 |
| | |||||
* | Get textures to work with NeHe lesson06. | Vladimir Dergachev | 2005-01-02 | 1 | -59/+57 |
| | | | | The code is still disabled since we are displaying random image data instead of actual texture and because I had to put a sleep(1) in lesson06 drawing loop to prevent lockups. | ||||
* | linux-dri-x86 build fix from Andreas Stenglein. | Adam Jackson | 2005-01-02 | 4 | -4/+4 |
| | |||||
* | Improved the performance of software fallbacks by not waiting for idle | Felix Kuehling | 2005-01-02 | 2 | -41/+85 |
| | | | | | | in every single span function. Instead flush and wait in the SpanRenderStart hook and in wrappers around _swrast_Copy/Draw/ReadPixels. Misc. cleanups in savagespan.c while I'm there. | ||||
* | Removed all direct hardware access (MMIO, BCI) from the Savage DRI | Felix Kuehling | 2005-01-01 | 15 | -874/+842 |
| | | | | | driver. It uses the new DRM version 2.0.x now, which has just been committed to DRM CVS. | ||||
* | Use DRM headers from $(DRM_SOURCE_PATH)/shared-core instead of .../shared. | Felix Kuehling | 2005-01-01 | 1 | -4/+3 |
| | |||||
* | Add a convenience function to issue CP delays. | Vladimir Dergachev | 2005-01-01 | 1 | -0/+21 |
| | |||||
* | Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like ↵rotating_gears | Vladimir Dergachev | 2004-12-31 | 4 | -22/+22 |
| | | | | | | disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit. | ||||
* | Sync with master copy. | Vladimir Dergachev | 2004-12-31 | 1 | -0/+13 |
| | |||||
* | Add texture drawing code. Note: it is broken at the moment and is disabled ↵ | Vladimir Dergachev | 2004-12-31 | 1 | -22/+237 |
| | | | | | | in CVS. However, all hooks are there. Fix vertex buffer drawing code. | ||||
* | Rework slightly r300_get_primitive_type - make it clearer and more compact.. | Vladimir Dergachev | 2004-12-30 | 1 | -53/+41 |
| | |||||
* | Get scissor test working again. Passes glean scissor test. | Keith Whitwell | 2004-12-30 | 4 | -26/+70 |
| | |||||
* | Calculate DEPTH_SCALE correctly for polygon offset. | Keith Whitwell | 2004-12-30 | 3 | -1/+5 |
| | |||||
* | Simplify viaBlit a bit more. | Keith Whitwell | 2004-12-30 | 3 | -57/+63 |
| | | | | Implement masked clears. | ||||
* | Add missing files.shimmering_gears | Vladimir Dergachev | 2004-12-30 | 2 | -0/+184 |
| | |||||
* | Initialize depth pointer correctly. | Keith Whitwell | 2004-12-30 | 1 | -1/+1 |
| | |||||
* | Don't need to adjust for drawXoff in fallback clipping. | Keith Whitwell | 2004-12-30 | 1 | -4/+4 |
| | |||||
* | fix regression with fallbacks from recent commits | Keith Whitwell | 2004-12-30 | 2 | -6/+6 |
| | |||||
* | Fix MagFilter state for texunit 0 | Keith Whitwell | 2004-12-30 | 1 | -11/+17 |
| | |||||
* | Update vertex buffer code (still does not work properly..) | Vladimir Dergachev | 2004-12-30 | 1 | -6/+11 |
| | |||||
* | Update to recent r300_lib. | Vladimir Dergachev | 2004-12-30 | 1 | -38/+15 |
| | | | | | Cleanup code that is not relevant anymore. Play with unknown2 parameter. | ||||
* | Hooked up projection matrix - the gears actually rotate ! | Vladimir Dergachev | 2004-12-30 | 1 | -0/+2 |
| | |||||
* | Restructure code. | Vladimir Dergachev | 2004-12-30 | 1 | -91/+275 |
| | | | | | Add drawing code that uses vertex buffers - does not lockup, but does not draw correctly either.. Perhaps something to do with vertices being overwritten ? Start using hardware state retained by the driver and cut back on direct register writes significantly. | ||||
* | Change default RS settings so that glxgears will display something.. | Vladimir Dergachev | 2004-12-30 | 3 | -3/+15 |
| | |||||
* | Clarify some of the unkXXXX atoms. | Vladimir Dergachev | 2004-12-30 | 3 | -15/+43 |
| |