summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texturebindless.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-04-03 22:06:27 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 10:04:35 +0200
commit1fe7b1f9724ac38cbddcac6505d3750ef99a2eca (patch)
tree96c8051197c169332feef881c98516126aa919c9 /src/mesa/main/texturebindless.h
parent6649b840c34016b4753e69d4513a8d09da9febb2 (diff)
mesa: implement ARB_bindless_texture
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/texturebindless.h')
-rw-r--r--src/mesa/main/texturebindless.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mesa/main/texturebindless.h b/src/mesa/main/texturebindless.h
index 88b84ce275b..d584f5cc0cc 100644
--- a/src/mesa/main/texturebindless.h
+++ b/src/mesa/main/texturebindless.h
@@ -31,6 +31,38 @@ extern "C" {
#endif
/**
+ * \name Internal functions
+ */
+/*@{*/
+
+void
+_mesa_init_resident_handles(struct gl_context *ctx);
+void
+_mesa_free_resident_handles(struct gl_context *ctx);
+
+void
+_mesa_init_shared_handles(struct gl_shared_state *shared);
+void
+_mesa_free_shared_handles(struct gl_shared_state *shared);
+
+void
+_mesa_init_texture_handles(struct gl_texture_object *texObj);
+void
+_mesa_make_texture_handles_non_resident(struct gl_context *ctx,
+ struct gl_texture_object *texObj);
+void
+_mesa_delete_texture_handles(struct gl_context *ctx,
+ struct gl_texture_object *texObj);
+
+void
+_mesa_init_sampler_handles(struct gl_sampler_object *sampObj);
+void
+_mesa_delete_sampler_handles(struct gl_context *ctx,
+ struct gl_sampler_object *sampObj);
+
+/*@}*/
+
+/**
* \name API functions
*/
/*@{*/