Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/opengl/gl_backend.hh
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | Batch *batch_alloc() override | ||||
| return new GLBatch(); | return new GLBatch(); | ||||
| }; | }; | ||||
| DrawList *drawlist_alloc(int list_length) override | DrawList *drawlist_alloc(int list_length) override | ||||
| { | { | ||||
| return new GLDrawList(list_length); | return new GLDrawList(list_length); | ||||
| }; | }; | ||||
| Fence *fence_alloc() override | |||||
| { | |||||
| return new GLFence(); | |||||
| }; | |||||
| FrameBuffer *framebuffer_alloc(const char *name) override | FrameBuffer *framebuffer_alloc(const char *name) override | ||||
| { | { | ||||
| return new GLFrameBuffer(name); | return new GLFrameBuffer(name); | ||||
| }; | }; | ||||
| IndexBuf *indexbuf_alloc() override | IndexBuf *indexbuf_alloc() override | ||||
| { | { | ||||
| return new GLIndexBuf(); | return new GLIndexBuf(); | ||||
| }; | }; | ||||
| PixelBuffer *pixelbuf_alloc(uint size) override | |||||
| { | |||||
| return new GLPixelBuffer(size); | |||||
| }; | |||||
| QueryPool *querypool_alloc() override | QueryPool *querypool_alloc() override | ||||
| { | { | ||||
| return new GLQueryPool(); | return new GLQueryPool(); | ||||
| }; | }; | ||||
| Shader *shader_alloc(const char *name) override | Shader *shader_alloc(const char *name) override | ||||
| { | { | ||||
| return new GLShader(name); | return new GLShader(name); | ||||
| ▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines | |||||