summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagespan.c
Commit message (Collapse)AuthorAgeFilesLines
* dri: Remove all DRI1 driversIan Romanick2011-08-261-282/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-5/+5
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-1/+0
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * savage: Remove unnecessary headers.Vinson Lee2010-01-231-1/+0
| |
* | Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-041-2/+2
|/ | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul2009-10-221-10/+8
| | | | | | | | Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix.
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-1/+1
| | | | Makefile.template
* dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646Xiang, Haihao2008-08-051-0/+8
|
* remove unused imesa local var to silence warningsBrian Paul2006-11-161-2/+0
|
* Enable GLX_SGI_make_current_read.Ian Romanick2006-11-101-2/+2
| | | | | | | | Eliminate use of deprecated GetBufferSize interface. Keep framebuffer state associated with the read-drawable and the draw-drawable up to date. Tested with progs/demos/wincopy.
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-151-4/+1
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* minor clean-upsBrian Paul2005-09-041-2/+1
|
* SetBuffer, renderbuffer changesBrian Paul2005-09-031-89/+30
|
* use proper datatypes to silence a bunch of warningsBrian Paul2005-09-011-4/+3
|
* remove common macros used in the span functions of most drivers from the ↵Roland Scheidegger2005-07-011-36/+1
| | | | individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.
* start removing old (pre-renderbuffer) span codeBrian Paul2005-06-021-59/+0
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-4/+70
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Fixed some suspicious pointer casts that caused lots ofFelix Kuehling2005-04-211-10/+10
| | | | | | compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good thing in general, so I'm giving up waiting for feedback. See also https://bugs.freedesktop.org/show_bug.cgi?id=2924.
* Small cleanup:Felix Kuehling2005-01-211-4/+4
| | | | | | | * Remove some unused (mostly empty) functions * Added context parameter to WAIT_IDLE_EMPTY[_LOCKED] for consistency * Added debug messages to WAIT_IDLE_EMPTY[_LOCKED] * Don't flush empty command buffers
* Converted to use spantmp2.h.Felix Kuehling2005-01-151-74/+32
|
* Added support for floating point depth buffers on Savage4-basedFelix Kuehling2005-01-031-17/+74
| | | | | | | | | | | | 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).
* Improved the performance of software fallbacks by not waiting for idleFelix Kuehling2005-01-021-40/+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.
* Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher2004-10-081-2/+0
|
* 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.
* Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVSFelix Kuehling2004-02-221-0/+313
with modifications to make it work with current Mesa 6.