Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the GLX 1.3 pbuffer/fbconfig functions in preference to the SGIX ones. | Brian Paul | 2005-01-04 | 4 | -145/+295 |
| | | | | Added more functions to pbutil.[ch] to better isolate API differences. | ||||
* | 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 |
| | |||||
* | The opcode and command length fields of RenderLarge commands were | Ian Romanick | 2005-01-03 | 2 | -13/+19 |
| | | | | mistakenly emitted in the wrong order. | ||||
* | latest updates | Brian Paul | 2005-01-03 | 2 | -5/+19 |
| | |||||
* | 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() | ||||
* | bump version to 6.3, etc. | Brian Paul | 2005-01-03 | 1 | -8/+11 |
| | |||||
* | DirectFB driver (Claudio Ciccani) | Brian Paul | 2005-01-03 | 6 | -1/+849 |
| | |||||
* | updates from Jouk | Brian Paul | 2005-01-03 | 2 | -3/+6 |
| | |||||
* | 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 |
| | |||||
* | Port viewport setting code from R200. | Vladimir Dergachev | 2004-12-30 | 3 | -20/+85 |
| | | | | Take it outside R300ResetHwState. | ||||
* | Fix some wrapping bugs in the last commit. Probably there are more | Keith Whitwell | 2004-12-29 | 8 | -31/+65 |
| | | | | remaining. | ||||
* | Simplfy clear() and swapbuffers() code. | Keith Whitwell | 2004-12-29 | 10 | -1003/+613 |
| | | | | | | | Fix various mishandling of cliprects. Allow multiple primitives to be emitted to a single dma buffer, which was largely impossible previously. Re-enable the fast unclipped render stage. | ||||
* | Use Point._Size in calculation | Keith Whitwell | 2004-12-29 | 1 | -1/+1 |
| | |||||
* | use clamped Line._Width in calculations | Keith Whitwell | 2004-12-29 | 2 | -7/+7 |
| | |||||
* | Don't advertise wide lines or points. | Keith Whitwell | 2004-12-29 | 1 | -4/+4 |
| | |||||
* | Make line stipple a fallback. | Keith Whitwell | 2004-12-29 | 5 | -21/+16 |
| | | | | Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish | ||||
* | Don't pingpong cliprects through sarea on CopyBuffer(). | Keith Whitwell | 2004-12-29 | 1 | -34/+5 |
| | |||||
* | Fallback on 3d textures correctly. | Keith Whitwell | 2004-12-29 | 1 | -13/+18 |
| | |||||
* | Get twoside-lit triangles working again | Keith Whitwell | 2004-12-29 | 1 | -8/+33 |
| | |||||
* | Large update | Keith Whitwell | 2004-12-29 | 20 | -4331/+1131 |
| | | | | | | | | | - Remove via duplicates of shared template files - Update driver to work with current versions of the above - Rework dma accounting - Rework emitting to dma to use a consistent set of macros The handling of cliprects in the driver is still pretty questionable. |