diff options
author | Andres Rodriguez <[email protected]> | 2017-07-12 18:45:11 -0400 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-06 12:42:06 +1000 |
commit | fc790c50ccb060cf8d07a5be59d8b3868a627784 (patch) | |
tree | a2f660e23a932a94cd9e68985e4c08878b7a4544 /src/mesa/main/texstorage.h | |
parent | 49f4ecc67773c082d93708bdf111acc4248678da (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.h | 9 |
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 */ |