aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_texmem.c
Commit message (Collapse)AuthorAgeFilesLines
* coverity checker bug: Pointer dereferenced after NULL checkDave Airlie2006-03-081-3/+5
|
* enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger2005-10-151-2/+1
| | | | generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
* Attempt to fix the issue reported by Alan Grimes with DRM_RADEON_TEXTUREEric Anholt2005-08-251-1/+1
| | | | | | | | erroring out when it shouldn't. The errno could be changed by usleep() between the ioctl call and the loop check, if a signal was received. This could cause an EAGAIN return from the DRM_RADEON_TEXTURE ioctl to not loop again. Instead of checking errno, check thevalue of ret itself, since it is a saved (and sign-flipped) copy of errno from the ioctl call.
* add texture micro and macro tiling to radeon/r200 driver. This can improve ↵Roland Scheidegger2005-02-101-13/+39
| | | | performance up to 15% in texture-intensive applications. Convert the driver to use the correct blit format and blit width instead of fixed blit format and blit width when uploading textures to make it work.
* add sync debugging to the radeon driverDave Airlie2005-01-231-0/+10
|
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-071-4/+15
| | | | | | | | | | | | | | | | | (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.
* The previous code would emit a full set of state during the first EmitState onEric Anholt2004-09-251-3/+1
| | | | | | | | | | | | a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my tests, along with other apps. Tested with: ipers, glxgears, quake3
* bring over build fixes from stable branchAlan Hourihane2004-04-261-3/+3
|
* Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl2004-03-111-5/+5
| | | | of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
* fix potential problem overwriting dma regionRoland Scheidegger2004-02-061-2/+2
|
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-20/+1
| | | | array, texObj->Image[face][level].
* Update DRI drivers to current DRI CVS and make them work.Jon Smirl2003-10-211-3/+3
|
* patch to import Jon Smirl's work from BitkeeperBrian Paul2003-08-221-0/+378