aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/s3v
Commit message (Collapse)AuthorAgeFilesLines
* fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527)Roland Scheidegger2007-12-221-1/+1
| | | | | | primitive needs to include the begin/end flags (broken since vbo-0.2). Should fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon, s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527.
* Pull createNewScreen entry point into dri_util.c.Kristian Høgsberg2007-10-101-1/+3
| | | | | | | | This pulls the top level createNewScreen entry point out of the drivers and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point. The change moves more logic into the common/ layer and changes the createNewScreen entry point to only be defined in one place.
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-23/+23
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* Merge branch 'origin' into glsl-compiler-1Brian2007-03-091-1/+1
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * Fix/improve framebuffer object reference counting.Brian2007-03-061-1/+1
| | | | | | | | | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
* | Update DRI drivers for new glsl compiler.Brian2007-02-231-23/+23
|/ | | | | | Mostly: - update #includes - update STATE_* token code
* merge current trunk into vbo branchAlan Hourihane2006-11-021-3/+2
|
* switch remaining drivers over to vboKeith Whitwell2006-10-313-6/+6
|
* Want to stop passing x/y/width/height to Clear() function.Brian Paul2006-10-181-4/+10
| | | | | | | The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-151-19/+2
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-151-1/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell2005-11-281-2/+2
|
* fix problems found with gcc 2.96 (bug 4934)Brian Paul2005-10-311-7/+38
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-052-5/+5
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul2005-09-131-4/+0
| | | | ctx->Driver.Stencil*Separate() functions.
* Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul2005-09-041-19/+16
| | | | driNewRenderbuffer().
* Use InitPointers helperBrian Paul2005-09-041-18/+5
|
* SetBuffer, renderbuffer changesBrian Paul2005-09-033-134/+26
|
* Add Egberts fixes for 64bit architecturesAlan Hourihane2005-08-151-0/+5
| | | | | | Add additional checks for the *DRIRec info structure passed in from the device driver. This ensures that things fallback to indirect rendering if the DDX driver has had modifications (i.e. removal of the drmAddress field).
* All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick2005-07-241-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
* remove common macros used in the span functions of most drivers from the ↵Roland Scheidegger2005-07-011-32/+0
| | | | 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.
* Refactor COMMON_SOURCES up to Makefile.templateAdam Jackson2005-05-051-11/+0
|
* Add drirenderbuffer.c to COMMON_SOURCESAdam Jackson2005-05-041-0/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-046-28/+146
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell2005-04-221-53/+4
|
* Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.Adam Jackson2005-01-312-8/+0
|
* silence makedepend warnings about non-portable whitespaceAdam Jackson2005-01-233-13/+13
|
* linux-dri-x86 build fix from Andreas Stenglein.Adam Jackson2005-01-022-2/+2
|
* Fix read-from-uninitialized in s3vMakeCurrent()Adam Jackson2004-12-271-0/+1
|
* Get s3v building with a minimum of warnings.Adam Jackson2004-12-2718-206/+483
|
* Import s3virge and trident drivers. Not functional yet; no Makefile, no ↵Adam Jackson2004-12-1624-0/+7549
DRI-aware DDX.