summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_state.c
AgeCommit message (Collapse)Author
2008-06-21replace __inline and __inline__ with INLINE macroBrian Paul
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2007-03-18screen offset changes, bug 9965Miguel Marte
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2006-11-10Implement GLX_SGI_make_current_readIan Romanick
Discontinue use of the old GetBuffeSize interface. Track both the current read-drawable and the current draw-drawable. After moving some context state to via_rednerbuffer, GLX_SGI_make_current_read can be enabled. The extension works, but the wincopy test prodcues a black window for the destination window. After messing around with the window and looking at the code, I believe the problem is in the handling of buffer swap requests on a drawable that isn't the current draw-drawable.
2006-10-31switch remaining drivers over to vboKeith Whitwell
2006-10-15Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul
default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
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.