Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/opengl/gl_backend.hh
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | static GLBackend *get() | ||||
| return static_cast<GLBackend *>(GPUBackend::get()); | return static_cast<GLBackend *>(GPUBackend::get()); | ||||
| } | } | ||||
| void samplers_update() override | void samplers_update() override | ||||
| { | { | ||||
| GLTexture::samplers_update(); | GLTexture::samplers_update(); | ||||
| }; | }; | ||||
| Context *context_alloc(void *ghost_window) override | Context *context_alloc(void *ghost_window, void *ghost_context) override | ||||
| { | { | ||||
| return new GLContext(ghost_window, shared_orphan_list_); | return new GLContext(ghost_window, shared_orphan_list_); | ||||
| }; | }; | ||||
| Batch *batch_alloc() override | Batch *batch_alloc() override | ||||
| { | { | ||||
| return new GLBatch(); | return new GLBatch(); | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines | |||||