summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-04use HIDDEN macro to export fewer symbols (bug 2210)Brian Paul
2005-01-04directfb changes (Claudio Ciccani)Brian Paul
2005-01-04Add GL_EXT_fog_coordKeith Whitwell
2005-01-04Add GL_EXT_secondary_colorKeith Whitwell
2005-01-04Turn specular lighting state on/off appropriately.Keith Whitwell
2005-01-04Change to use the t_vertex.c mechanisms for building vertices,Keith Whitwell
including Felix's ptex code. Re-enable some assembly for performance.
2005-01-03Added support for floating point depth buffers on Savage4-basedFelix Kuehling
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).
2005-01-03Added a boolean option for a floating-point depth buffer.Felix Kuehling
2005-01-03The opcode and command length fields of RenderLarge commands wereIan Romanick
mistakenly emitted in the wrong order.
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-03DirectFB driver (Claudio Ciccani)Brian Paul
2005-01-03updates from JoukBrian Paul
2005-01-03Turns out I left flat primitives in vertex buffer mode. Switch them back to ↵Vladimir Dergachev
immediate which works correctly..
2005-01-03Enable code to compute other constants that were used by R200 code.Vladimir Dergachev
Add fprintf to print these constants. Correct t->size computation, so it works now.
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
2005-01-02Cleanup !Vladimir Dergachev
I can not trigger any lockups now..
2005-01-02I think I fixed the lockups issue.Vladimir Dergachev
2005-01-02Get textures to work with NeHe lesson06.Vladimir Dergachev
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.
2005-01-02linux-dri-x86 build fix from Andreas Stenglein.Adam Jackson
2005-01-02Improved the performance of software fallbacks by not waiting for idleFelix Kuehling
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.
2005-01-01Removed all direct hardware access (MMIO, BCI) from the Savage DRIFelix Kuehling
driver. It uses the new DRM version 2.0.x now, which has just been committed to DRM CVS.
2005-01-01Use DRM headers from $(DRM_SOURCE_PATH)/shared-core instead of .../shared.Felix Kuehling
2005-01-01Add a convenience function to issue CP delays.Vladimir 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-31Sync with master copy.Vladimir Dergachev
2004-12-31Add texture drawing code. Note: it is broken at the moment and is disabled ↵Vladimir Dergachev
in CVS. However, all hooks are there. Fix vertex buffer drawing code.
2004-12-30Rework slightly r300_get_primitive_type - make it clearer and more compact..Vladimir Dergachev
2004-12-30Get scissor test working again. Passes glean scissor test.Keith Whitwell
2004-12-30Calculate DEPTH_SCALE correctly for polygon offset.Keith Whitwell
2004-12-30Simplify viaBlit a bit more.Keith Whitwell
Implement masked clears.
2004-12-30Add missing files.Vladimir Dergachev
2004-12-30Initialize depth pointer correctly.Keith Whitwell
2004-12-30Don't need to adjust for drawXoff in fallback clipping.Keith Whitwell
2004-12-30fix regression with fallbacks from recent commitsKeith Whitwell
2004-12-30Fix MagFilter state for texunit 0Keith Whitwell
2004-12-30Update vertex buffer code (still does not work properly..)Vladimir Dergachev
2004-12-30Update to recent r300_lib.Vladimir Dergachev
Cleanup code that is not relevant anymore. Play with unknown2 parameter.
2004-12-30Hooked up projection matrix - the gears actually rotate !Vladimir Dergachev
2004-12-30Restructure code.Vladimir Dergachev
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.
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-12-30Port viewport setting code from R200.Vladimir Dergachev
Take it outside R300ResetHwState.
2004-12-29Fix some wrapping bugs in the last commit. Probably there are moreKeith Whitwell
remaining.
2004-12-29Simplfy clear() and swapbuffers() code.Keith Whitwell
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.
2004-12-29Use Point._Size in calculationKeith Whitwell
2004-12-29use clamped Line._Width in calculationsKeith Whitwell
2004-12-29Don't advertise wide lines or points.Keith Whitwell
2004-12-29Make line stipple a fallback.Keith Whitwell
Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish