|
Blender V4.5
|
#include <gl_backend.hh>
Inherits blender::gpu::GPUBackend.
Public Member Functions | |
| GLBackend () | |
| ~GLBackend () | |
| void | init_resources () override |
| void | delete_resources () override |
| void | samplers_update () override |
| Context * | context_alloc (void *ghost_window, void *) override |
| Batch * | batch_alloc () override |
| Fence * | fence_alloc () override |
| FrameBuffer * | framebuffer_alloc (const char *name) override |
| IndexBuf * | indexbuf_alloc () override |
| PixelBuffer * | pixelbuf_alloc (size_t size) override |
| QueryPool * | querypool_alloc () override |
| Shader * | shader_alloc (const char *name) override |
| Texture * | texture_alloc (const char *name) override |
| UniformBuf * | uniformbuf_alloc (size_t size, const char *name) override |
| StorageBuf * | storagebuf_alloc (size_t size, GPUUsageType usage, const char *name) override |
| VertBuf * | vertbuf_alloc () override |
| GLSharedOrphanLists & | shared_orphan_list_get () |
| void | compute_dispatch (int groups_x_len, int groups_y_len, int groups_z_len) override |
| void | compute_dispatch_indirect (StorageBuf *indirect_buf) override |
| void | shader_cache_dir_clear_old () override |
| void | render_begin () override |
| void | render_end () override |
| void | render_step (bool) override |
Debug Groups | |
Useful for debugging through render-doc. This makes all the API calls grouped into "passes". | |
| bool | debug_capture_begin (const char *title) |
| void | debug_capture_end () |
| Public Member Functions inherited from blender::gpu::GPUBackend | |
| virtual | ~GPUBackend ()=default |
| ShaderCompiler * | get_compiler () |
Static Public Member Functions | |
| static GLBackend * | get () |
| Static Public Member Functions inherited from blender::gpu::GPUBackend | |
| static GPUBackend * | get () |
Additional Inherited Members | |
| Protected Attributes inherited from blender::gpu::GPUBackend | |
| ShaderCompiler * | compiler_ |
Definition at line 41 of file gl_backend.hh.
|
inline |
Definition at line 49 of file gl_backend.hh.
References blender::gpu::GLTexture::samplers_init().
Referenced by get().
|
inline |
Definition at line 57 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 94 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 154 of file gl_backend.hh.
References blender::gpu::GLStateManager::apply_state(), blender::gpu::GLCompute::dispatch(), blender::gpu::GLContext::get(), and blender::gpu::GLContext::state_manager_active_get().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 160 of file gl_backend.hh.
References blender::gpu::GLStateManager::apply_state(), blender::gpu::GLContext::get(), and blender::gpu::GLContext::state_manager_active_get().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 89 of file gl_backend.hh.
References blender::gpu::GLContext::GLContext().
| bool blender::gpu::GLBackend::debug_capture_begin | ( | const char * | title | ) |
Definition at line 483 of file gl_debug.cc.
References G, G_DEBUG_GPU_RENDERDOC, result, and UNUSED_VARS.
Referenced by blender::gpu::GLContext::debug_capture_begin(), and blender::gpu::GLContext::debug_capture_scope_begin().
| void blender::gpu::GLBackend::debug_capture_end | ( | ) |
Definition at line 503 of file gl_debug.cc.
References G, and G_DEBUG_GPU_RENDERDOC.
Referenced by blender::gpu::GLContext::debug_capture_end(), and blender::gpu::GLContext::debug_capture_scope_end().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 72 of file gl_backend.hh.
References blender::gpu::GPUBackend::compiler_, and blender::gpu::GLTexture::samplers_free().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 99 of file gl_backend.hh.
References blender::gpu::GLFence::GLFence().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 104 of file gl_backend.hh.
References blender::gpu::GLFrameBuffer::GLFrameBuffer().
|
inlinestatic |
Definition at line 79 of file gl_backend.hh.
References blender::gpu::GPUBackend::get(), and GLBackend().
Referenced by blender::gpu::GLContext::buf_free(), blender::gpu::GLContext::debug_capture_begin(), blender::gpu::GLContext::debug_capture_end(), blender::gpu::GLContext::debug_capture_scope_begin(), blender::gpu::GLContext::debug_capture_scope_end(), and blender::gpu::GLContext::tex_free().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 109 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 62 of file gl_backend.hh.
References blender::gpu::GPUBackend::compiler_, blender::gpu::GCaps, and blender::gpu::GPUCapabilities::use_subprocess_shader_compilations.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 114 of file gl_backend.hh.
References blender::gpu::GLPixelBuffer::GLPixelBuffer().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 119 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 181 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 182 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 183 of file gl_backend.hh.
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 84 of file gl_backend.hh.
References blender::gpu::GLTexture::samplers_update().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 124 of file gl_backend.hh.
References blender::gpu::GLShader::GLShader().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 173 of file gl_backend.hh.
|
inline |
Definition at line 149 of file gl_backend.hh.
Referenced by blender::gpu::GLContext::buf_free(), and blender::gpu::GLContext::tex_free().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 139 of file gl_backend.hh.
References blender::gpu::GLStorageBuf::GLStorageBuf().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 129 of file gl_backend.hh.
References blender::gpu::GLTexture::GLTexture().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 134 of file gl_backend.hh.
References blender::gpu::GLUniformBuf::GLUniformBuf().
|
inlineoverridevirtual |
Implements blender::gpu::GPUBackend.
Definition at line 144 of file gl_backend.hh.