summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstorage.h
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-07-12 18:45:11 -0400
committerTimothy Arceri <[email protected]>2017-08-06 12:42:06 +1000
commitfc790c50ccb060cf8d07a5be59d8b3868a627784 (patch)
treea2f660e23a932a94cd9e68985e4c08878b7a4544 /src/mesa/main/texstorage.h
parent49f4ecc67773c082d93708bdf111acc4248678da (diff)
mesa: hook up memoryobject tex(ture)storage api
V2 (Timothy Arceri): - formating fixes V3 (Timothy): - error check memory == 0 before lookup Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.h')
-rw-r--r--src/mesa/main/texstorage.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/texstorage.h b/src/mesa/main/texstorage.h
index 66b77be4e14..f184dfd86eb 100644
--- a/src/mesa/main/texstorage.h
+++ b/src/mesa/main/texstorage.h
@@ -137,4 +137,13 @@ _mesa_AllocTextureStorage_sw(struct gl_context *ctx,
GLsizei levels, GLsizei width,
GLsizei height, GLsizei depth);
+extern void
+_mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims,
+ struct gl_texture_object *texObj,
+ struct gl_memory_object *memObj,
+ GLenum target, GLsizei levels,
+ GLenum internalformat, GLsizei width,
+ GLsizei height, GLsizei depth,
+ GLuint64 offset, bool dsa);
+
#endif /* TEXSTORAGE_H */