summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_tex.h
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2008-07-14 10:09:58 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-07-14 10:11:20 +0200
commit5e600209f4908ece2ba8b7f880e1d7e950d2cfb4 (patch)
treec64094d24c78d588fd70cb9f6ff277c48ecee0b3 /src/mesa/drivers/dri/radeon/radeon_tex.h
parent93115c4b235896df097b91edec7458a8a4488c4e (diff)
radeon: SetTexOffset support
This patch is a straightforward duplication of the R200 SetTexOffset code, except that there is no big-endian tx_table[] array.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_tex.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_tex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex.h b/src/mesa/drivers/dri/radeon/radeon_tex.h
index a806981ae6..0b955eda14 100644
--- a/src/mesa/drivers/dri/radeon/radeon_tex.h
+++ b/src/mesa/drivers/dri/radeon/radeon_tex.h
@@ -38,6 +38,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __RADEON_TEX_H__
#define __RADEON_TEX_H__
+extern void radeonSetTexOffset(__DRIcontext *pDRICtx, GLint texname,
+ unsigned long long offset, GLint depth,
+ GLuint pitch);
+
extern void radeonUpdateTextureState( GLcontext *ctx );
extern int radeonUploadTexImages( radeonContextPtr rmesa, radeonTexObjPtr t,