aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_tex.c
Commit message (Collapse)AuthorAgeFilesLines
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-071-0/+129
| | | | | | | | | | | | | | | | | (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.
* print internalFormat value in r200ChooseTextureFormat() error messageBrian Paul2004-08-251-1/+3
|
* Big-endian texture fixes from Michel Dänzer.Brian Paul2004-06-191-20/+22
|
* use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵Roland Scheidegger2004-06-171-7/+3
| | | | formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT
* Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl2004-06-021-2/+2
|
* Remove include of texutil.h to get build working.Ian Romanick2004-04-271-1/+0
|
* New glTexImage code.Brian Paul2004-04-221-8/+3
| | | | | | | | The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
* remove bogus check of texture target in R200TexParameterRoland Scheidegger2004-02-061-4/+0
|
* remove bogus assertion in DeleteTexture() functionBrian Paul2004-01-261-2/+0
|
* Make the R200 driver work with the NewTextureObject in Mesa. OtherIan Romanick2004-01-211-4/+9
| | | | drivers that use the texmem interface will likely need similar changes.
* Undo some bits from last check-in related to the ctx->Driver.NewTextureObjectBrian Paul2004-01-201-15/+3
| | | | | 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-42/+59
| | | | | | | | | | 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-6/+18
|
* call _mesa_delete_texture_object() from in the driver's DeleteTexture functionBrian Paul2004-01-111-0/+2
|
* 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.
* Updates to tnl_dd_dmatmp.hKeith Whitwell2003-12-111-3/+4
| | | | | | | | | | | | | | - Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings.
* xmlconfig fixesAlan Hourihane2003-12-051-16/+33
|
* Update DRI drivers to current DRI CVS and make them work.Jon Smirl2003-10-211-7/+7
|
* r200 driver, brought over by Jon SmirlKeith Whitwell2003-08-061-0/+1002