aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis/sis_state.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian2008-01-061-7/+8
| | | | | | | 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.
* switch remaining drivers over to vboKeith Whitwell2006-10-311-2/+2
|
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-151-13/+1
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-081-1/+1
|
* Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it'sEric Anholt2005-10-261-0/+1
| | | | | | | | not respecting the coords (or perhaps interpreting them differently?) in my testing. However, in the process it led to a fix of a secondary color handling issue where it would be taken from the wrong offset, I believe, based off of reading the r200 driver. Also add a minor tweak to save time in the fog-but-not-specular case.
* Initial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox'sEric Anholt2005-10-251-1/+7
| | | | | | | | last drop I saw, which was in turn based on a code drop of mine. Texturing, culling, and several extensions are unimplemented, and some features could probably be improved. It's untested, but there don't appear to be regressions on the 300-series code, so I'd like to get these bits in now so that it can be worked on as not a huge diff.
* Add support for GL_EXT_secondary_color, tested with seccolor test.Eric Anholt2005-10-241-2/+25
|
* Bug #4615: Fix the SiS driver for the renderbuffer changes. Previously, allEric Anholt2005-10-191-8/+7
| | | | | | | drirenderbuffers pointed at screen offset 0 and NULL. Instead, set up the front buffer at startup but leave the others for later, since sis allocates them on demand rather than using the static method of the other non-sis-descendent drivers. Some basic apps work, but fallbacks may be broken still.
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-141-3/+0
| | | | call driUpdateFramebufferSize() when window size/position changes.
* SetBuffer, renderbuffer changesBrian Paul2005-09-031-7/+6
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-3/+3
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-271-0/+3
| | | | | | | | 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.
* Add support for NV_blend_square, and print errors if an unsupported blendEric Anholt2004-10-081-9/+25
| | | | function is used.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-1/+1
|
* Can't bail in sisDDLogicOpCode when logicop is off, because it's called withEric Anholt2004-09-251-3/+0
| | | | GL_COPY to turn off logicop. Fixes glean's logicop test.
* * Convert to use t_vertex.c instead of sis_vb.[ch]Eric Anholt2004-06-081-56/+7
| | | | | | | | | | | | * Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers first. This makes things more uniform between AGP and MMIO paths, cleans up some locking ugliness, and makes the driver look more like other drivers. * Don't use the AGP Cmd buffer provided by the server. Instead allocate one in the client, which avoids the need for lots of synchronization stuff. * Mark some MMIO accesses volatile that should have been. * Disable the AGP submission path by default (agp_disable=true) due to unresolved issues in the new code. The old code had its own (serious) errors with AGP, so this is not really a step backwards.
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-2/+2
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Remove dd_function_table::BlendFunc. All drivers now useIan Romanick2004-01-211-4/+6
| | | | | | dd_function_table:BlendFuncSeparate. If a driver does not actually support EXT_blend_func_separate, it can assume that the RGB and alpha blend functions are the same.
* merge latest DRI sis driver changes from the DRI trunkAlan Hourihane2003-12-041-45/+11
|
* add the SiS driver - no kernel driver yetAlan Hourihane2003-09-301-0/+918
(build tested, but not physically tested)