aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_tex.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into radeon-rewriteDave Airlie2009-04-091-3/+8
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
| * dri: use BorderColor instead of _BorderChanBrian Paul2009-04-011-3/+8
| |
* | radeon: go back and repick texture formats.Dave Airlie2009-04-011-1/+1
| | | | | | | | | | This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
* | radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie2009-02-171-4/+0
| | | | | | | | this is just more code cleanup for old dead code
* | radeon-common: Fix crash in glGetTexImageNicolai Haehnle2009-02-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <[email protected]>
* | radeon/r200/r300: another big merge upheavel.Dave Airlie2009-02-121-1/+1
| | | | | | | | | | | | | | | | This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
* | r100: fix 3D texture fallbackDave Airlie2009-02-101-2/+8
| |
* | radeon: major cleanups removing old dead codepaths.Dave Airlie2009-02-101-1/+9
| | | | | | | | This should be working gears on radeon state
* | radeon: make more r100 workDave Airlie2009-02-091-1/+1
| |
* | radeon: make compile again.Dave Airlie2009-02-041-1/+2
| | | | | | | | Not tested but ripped out lots of stuff unneeded anymore time to test later
* | radeon: remove even more common codeDave Airlie2009-01-291-451/+34
| |
* | radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-9/+9
| |
* | radeon/r200: start splitting out commonalities into separate headersDave Airlie2009-01-131-1/+1
|/
* Remove CVS keywords.Keith Whitwell2008-09-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-12/+11
| | | | Makefile.template
* always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger2006-09-131-4/+4
| | | | faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
* enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger2005-10-151-2/+19
| | | | generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-071-0/+106
| | | | | | | | | | | | | | | | | (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
* Big-endian texture fixes from Michel Dänzer.Brian Paul2004-06-191-17/+19
|
* use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵Roland Scheidegger2004-06-171-2/+2
| | | | formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE
* bring over build fixes from stable branchAlan Hourihane2004-04-261-3/+3
|
* remove bogus check of texture target in RadeonTexParameterRoland Scheidegger2004-02-061-4/+0
|
* remove bogus assertion in DeleteTexture() functionBrian Paul2004-01-261-1/+0
|
* Make the drivers using the common texmem code work with NewTextureObjectFelix Kuehling2004-01-261-5/+4
| | | | | in Mesa. This is analogous to changes idr made to the r200 driver. Patch submitted by Andreas Stenglein.
* Undo some bits from last check-in related to the ctx->Driver.NewTextureObjectBrian Paul2004-01-201-13/+4
| | | | | functions. Don't allocate the driver-specific data during texture object creation but do it later as needed (as code originally was).
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-51/+41
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* Added support for EXT_texture_mirror_clamp.Ian Romanick2004-01-131-4/+12
|
* call _mesa_delete_texture_object() from in the driver's DeleteTexture functionBrian Paul2004-01-111-0/+3
|
* Added def_max_anisotropy and no_neg_lod_bias options to radeon and r200.Felix Kuehling2004-01-051-2/+24
| | | | | The def_max_anisotropy option breaks driconf. :( I'm going to upload a fixed version soon.
* xmlconfig fixesAlan Hourihane2003-12-051-16/+33
|
* patch to import Jon Smirl's work from BitkeeperBrian Paul2003-08-221-0/+733