aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
diff options
context:
space:
mode:
authorAbdiel Janulgue <[email protected]>2013-01-17 17:04:01 +0200
committerChad Versace <[email protected]>2013-02-01 11:58:12 -0800
commit7014df0d1da97b655014eb783fa9f34c78a93631 (patch)
tree962305a06300986b59278106ec0bd0fe0a90a0aa /src/mesa/drivers/dri/intel/intel_mipmap_tree.h
parentf9e4e5f9f968fa9b40b40fd4f24622556019b80a (diff)
intel: Expose intel_miptree_create_internal as intel_miptree_create_layout.
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Chad Versace <[email protected]> Signed-off-by: Abdiel Janulgue <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_mipmap_tree.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_mipmap_tree.h12
1 files changed, 12 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 a3f013f4d85..a8f27d96a58 100644
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
@@ -394,6 +394,18 @@ struct intel_mipmap_tree *intel_miptree_create(struct intel_context *intel,
bool force_y_tiling);
struct intel_mipmap_tree *
+intel_miptree_create_layout(struct intel_context *intel,
+ GLenum target,
+ gl_format format,
+ GLuint first_level,
+ GLuint last_level,
+ GLuint width0,
+ GLuint height0,
+ GLuint depth0,
+ bool for_region,
+ GLuint num_samples);
+
+struct intel_mipmap_tree *
intel_miptree_create_for_region(struct intel_context *intel,
GLenum target,
gl_format format,