summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-02-14 22:12:51 -0500
committerKristian Høgsberg <krh@redhat.com>2008-02-14 22:12:51 -0500
commit6d48779c7e5c9002d1bec4b1266ca05a474218ef (patch)
tree11e77add8301b85d43151d66dc62ded2bf4e50df /src/mesa/drivers/dri/intel/intel_tex.h
parent5961ed5fbc6c76476ff8f76d21a7113673563068 (diff)
Add TTM buffer object based texture from pixmap implementation.
Currently only implemented for intel hw.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.h b/src/mesa/drivers/dri/intel/intel_tex.h
index 2973e0ceb9..d1055be93e 100644
--- a/src/mesa/drivers/dri/intel/intel_tex.h
+++ b/src/mesa/drivers/dri/intel/intel_tex.h
@@ -137,6 +137,9 @@ void intelGetCompressedTexImage(GLcontext *ctx, GLenum target, GLint level,
void intelSetTexOffset(__DRIcontext *pDRICtx, GLint texname,
unsigned long long offset, GLint depth, GLuint pitch);
+void intelSetTexBuffer(__DRIcontext *pDRICtx,
+ GLint target, unsigned long handle,
+ GLint cpp, GLuint pitch, GLuint height);
GLuint intel_finalize_mipmap_tree(struct intel_context *intel, GLuint unit);