aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/s3v
Commit message (Collapse)AuthorAgeFilesLines
* mesa: re-remove s3v and trident driver filesBrian Paul2009-10-282-885/+0
| | | | | These were removed from master but a few files came back from the texformat-rework branch.
* Merge branch 'texformat-rework'Brian Paul2009-10-282-0/+885
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul2009-10-221-5/+5
| | | | | | | | | | | | | | | | 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.
| * drivers: don't include texformat.hBrian Paul2009-10-051-4/+0
| | | | | | | | And remove other unneeded #includes while we're at it.
* | Nuke s3v.Corbin Simpson2009-10-2227-7718/+0
| | | | | | | | As per FDO #17889.
* | mesa: lift default symlinks target into Makefile.templateBrian Paul2009-10-161-1/+0
|/ | | | Driver Makefiles can still add symlink dependencies/rules if needed.
* s3v: remove unneeded initializationsBrian Paul2009-09-161-11/+0
|
* s3v: Fix driver build for ARB_sync.Eric Anholt2009-09-031-3/+2
| | | | | | | This driver was including Xlibint.h to get the CARD32 typedef to use for 32-bit unsigned integers, which #defined Status to something. CARD32 isn't actually a 32-bit unsigned integer, so replacing with uint32_t usage should fix bugs on 64-bit along with the build.
* dri: use BorderColor instead of _BorderChanBrian Paul2009-04-011-4/+9
|
* mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul2009-03-071-1/+2
| | | | A bit of refactoring with an eye toward ES2 and GL 3.1
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-071-1/+1
|
* mesa: use an array for current texture objectsBrian Paul2009-02-211-4/+4
| | | | Use loops to consolidate lots of texture object code.
* Make GL_ARB_draw_buffers mandatoryIan Romanick2009-01-281-0/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-1813-52/+52
| | | | Makefile.template
* dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646Xiang, Haihao2008-08-051-0/+6
|
* #undef DEBUG to silence warningsBrian Paul2008-06-211-0/+1
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-212-5/+5
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-311-35/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* 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.