diff options
author | Fredrik Höglund <[email protected]> | 2014-01-17 18:35:31 +0100 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2014-05-02 02:53:25 +0200 |
commit | b8ee235e721ffd2503f4e8114d38685d58a0ceae (patch) | |
tree | 55ccb1ab8589a39f36c9770afbe4d663585e0ae6 /src/mesa/main/texobj.h | |
parent | b16e2ada4c41aab085da8cc5b93150825a674370 (diff) |
mesa: Add helper functions for looking up multiple textures
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r-- | src/mesa/main/texobj.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h index 25394b6195f..b1b7a302755 100644 --- a/src/mesa/main/texobj.h +++ b/src/mesa/main/texobj.h @@ -46,6 +46,15 @@ extern struct gl_texture_object * _mesa_lookup_texture(struct gl_context *ctx, GLuint id); +extern void +_mesa_begin_texture_lookups(struct gl_context *ctx); + +extern void +_mesa_end_texture_lookups(struct gl_context *ctx); + +extern struct gl_texture_object * +_mesa_lookup_texture_locked(struct gl_context *ctx, GLuint id); + extern struct gl_texture_object * _mesa_new_texture_object( struct gl_context *ctx, GLuint name, GLenum target ); |