|
Blender V5.3
|
#include <gl_context.hh>
Public Member Functions | |
Safe object deletion | |
GPU objects can be freed when the context is not bound. In this case we delay the deletion until the context is bound again. | |
| void | orphans_clear () |
Public Attributes | |
| OrphanList | textures |
| OrphanList | buffers |
| OrphanList | shaders |
| OrphanList | programs |
Definition at line 27 of file gl_context.hh.
| void blender::GLSharedOrphanLists::orphans_clear | ( | ) |
Definition at line 219 of file gl_context.cc.
References blender::BLI_assert(), buffers, blender::gpu::GLContext::get(), programs, shaders, and textures.
| OrphanList blender::gpu::GLSharedOrphanLists::buffers |
Definition at line 42 of file gl_context.hh.
Referenced by blender::gpu::GLContext::buffer_free(), and orphans_clear().
| OrphanList blender::gpu::GLSharedOrphanLists::programs |
Definition at line 44 of file gl_context.hh.
Referenced by orphans_clear(), and blender::gpu::GLContext::program_free().
| OrphanList blender::gpu::GLSharedOrphanLists::shaders |
Definition at line 43 of file gl_context.hh.
Referenced by orphans_clear(), and blender::gpu::GLContext::shader_free().
| OrphanList blender::gpu::GLSharedOrphanLists::textures |
Shaders, Buffers and textures are shared across context.
Definition at line 41 of file gl_context.hh.
Referenced by orphans_clear(), and blender::gpu::GLContext::texture_free().