diff options
author | Kristian Høgsberg <[email protected]> | 2008-02-14 22:12:51 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-02-14 22:12:51 -0500 |
commit | 6d48779c7e5c9002d1bec4b1266ca05a474218ef (patch) | |
tree | 11e77add8301b85d43151d66dc62ded2bf4e50df /src/mesa/drivers/dri/intel/intel_mipmap_tree.h | |
parent | 5961ed5fbc6c76476ff8f76d21a7113673563068 (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_mipmap_tree.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h index e3b31f9c6e5..3c1a6ffa2a8 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h @@ -124,6 +124,16 @@ struct intel_mipmap_tree *intel_miptree_create(struct intel_context *intel, GLuint cpp, GLuint compress_byte); +struct intel_mipmap_tree * +intel_miptree_create_for_region(struct intel_context *intel, + GLenum target, + GLenum internal_format, + GLuint first_level, + GLuint last_level, + struct intel_region *region, + GLuint depth0, + GLuint compress_byte); + int intel_miptree_pitch_align (struct intel_context *intel, struct intel_mipmap_tree *mt, int pitch); |