summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_state.c
AgeCommit message (Collapse)Author
2005-09-14Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul
call driUpdateFramebufferSize() when window size/position changes.
2005-09-03SetBuffer, renderbuffer changesBrian Paul
2005-05-25add special case for flat shaded + separate specular trianglesKeith Whitwell
2005-05-25Disable polygon stipple - it seems to break if certain specific stippleKeith Whitwell
patterns are used, including the one generated by conform.
2005-04-14Disable CLOD (Lod constant) state emit. The values emitted wereKeith Whitwell
possibly negative, hence clobbering the leading register-id byte. Fixed the calculation of the values to prevent negative numbers being emitted, but the code still doesn't implement texture LOD bias correctly, so leave it disabled overall.
2005-03-22merge unichrome changes from branchKeith Whitwell
2005-01-19Bring the texcombine fixes to the trunk.Keith Whitwell
2005-01-14Enable line stippling.Alan Hourihane
2005-01-14Fix previously un-noticed issue with flat-shaded points.Keith Whitwell
2005-01-14Get PolygonStipple working.. (or seemingly too). It seems to do the rightAlan Hourihane
things now given the demos I've used and passes glean's paths test.
2005-01-13Remove misleading comment.Keith Whitwell
2005-01-13Emit constant colors for texunit 1 blending.Keith Whitwell
Change comments and some code to match naming used in the docs.
2005-01-13cut out dead texture state codeKeith Whitwell
2005-01-13Fix glean scissor testAlan Hourihane
2005-01-13As we fallback for polygon stipple on the CLE266 for now, ensure weAlan Hourihane
don't turn on the polygon stipple hardware bit.
2005-01-12Don't special-case 16bpp for colormask register - not needed.Keith Whitwell
2005-01-12Add flag to clear texture caches after texture upload.Keith Whitwell
2005-01-12Fix multitexturing.Alan Hourihane
The multiarb test works now when disabling texunit0/1.
2005-01-11fix a typoAlan Hourihane
2005-01-11Fix the calculation of the alpha reference value which negates theAlan Hourihane
need for the big nasty fallback - so I've commented out that code.
2005-01-11uncommentAlan Hourihane
2005-01-11Fix ColorMaskAlan Hourihane
2005-01-11Add a big nasty fallback for AlphaTest -- seems to always be wrongKeith Whitwell
on CLE266 because Z values are written even for fragments which fail the test.
2005-01-11fallback on polygon.stippleflag (thanks Keith)Alan Hourihane
2005-01-10Fallback on PolygonStipple for CLE266 hardware.Alan Hourihane
Only upload stencil configuration when a stencil buffer exists.
2005-01-05Avoid a segfault in multiarb.cKeith 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.
2004-12-30Get scissor test working again. Passes glean scissor test.Keith Whitwell
2004-12-30Simplify viaBlit a bit more.Keith Whitwell
Implement masked clears.
2004-12-30fix regression with fallbacks from recent commitsKeith Whitwell
2004-12-30Fix MagFilter state for texunit 0Keith Whitwell
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-29Make line stipple a fallback.Keith Whitwell
Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish
2004-12-29Large updateKeith Whitwell
- 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.
2004-12-23Chop out more dead code.Keith Whitwell
Get the drawXoff adjustment working a bit better. Seems to pass the glean orthoPos tests.
2004-12-22Remove dead code.Keith Whitwell
Fix 24/8 depth/stencil visuals.
2004-12-20Remove #ifdef DEBUG's in code, but still allow compiler to remove debugKeith Whitwell
code if DEBUG not defined.
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-12-12fix recursion problem introduced on Nov 27Brian Paul
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-10-02Cut out all of the old texture environment code and rewrote it fromIan Romanick
scratch. There were just too many cut-and-paste errors in the code, and it was too hard to follow. This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but I'd like to do some more testing before I close that particular bug. Additionally, this cuts almost 4,600 lines of code from the driver.
2004-10-01Replace the numerous switch-statements to derive GL_COMBINE post-scaleIan Romanick
state with a function. This function sets the bits correctly. Did some trivial refactoring on some of the GL_COMBINE code. First pass at replacing classic texture environments with GL_COMBINE. This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
2004-09-30Factored out code for setting texture coordinate wrap bits. Added supportIan Romanick
for GL_ARB_texture_mirrored_repeat. Enabled GL_NV_blend_square. It has always actually been supported. Removed redundant EXT versions of ARB extension strings.
2004-02-23updates from Erdi ChenBrian Paul
2004-01-30Minor fixes for recent Mesa 6.1 changesBrian Paul
2004-01-30Via Unichrome/cle266 driver (Erdi Chen)Brian Paul