diff options
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 737b4a542c8..2427301782c 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -173,6 +173,11 @@ void GPU_invalid_tex_free(void); void GPU_texture_free(GPUTexture *tex); +void GPU_texture_init_orphans(void); +void GPU_texture_exit_orphans(void); +/* This has to be called from a thread with an ogl context bound. */ +void GPU_texture_delete_orphans(void); + void GPU_texture_ref(GPUTexture *tex); void GPU_texture_bind(GPUTexture *tex, int number); void GPU_texture_unbind(GPUTexture *tex); |