Blender  V2.93
Public Member Functions | Static Public Member Functions | List of all members
blender::gpu::GLBackend Class Reference

#include <gl_backend.hh>

Inherits blender::gpu::GPUBackend.

Public Member Functions

 GLBackend ()
 
 ~GLBackend ()
 
void samplers_update (void) override
 
Contextcontext_alloc (void *ghost_window) override
 
Batchbatch_alloc (void) override
 
DrawListdrawlist_alloc (int list_length) override
 
FrameBufferframebuffer_alloc (const char *name) override
 
IndexBufindexbuf_alloc (void) override
 
QueryPoolquerypool_alloc (void) override
 
Shadershader_alloc (const char *name) override
 
Texturetexture_alloc (const char *name) override
 
UniformBufuniformbuf_alloc (int size, const char *name) override
 
VertBufvertbuf_alloc (void) override
 
GLSharedOrphanListsshared_orphan_list_get (void)
 
- Public Member Functions inherited from blender::gpu::GPUBackend
virtual ~GPUBackend ()
 

Static Public Member Functions

static GLBackendget (void)
 
- Static Public Member Functions inherited from blender::gpu::GPUBackend
static GPUBackendget (void)
 

Detailed Description

Definition at line 44 of file gl_backend.hh.

Constructor & Destructor Documentation

◆ GLBackend()

blender::gpu::GLBackend::GLBackend ( )
inline

Definition at line 49 of file gl_backend.hh.

References blender::gpu::GLTexture::samplers_init().

◆ ~GLBackend()

blender::gpu::GLBackend::~GLBackend ( )
inline

Definition at line 57 of file gl_backend.hh.

References blender::gpu::GLTexture::samplers_free().

Member Function Documentation

◆ batch_alloc()

Batch* blender::gpu::GLBackend::batch_alloc ( void  )
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 79 of file gl_backend.hh.

◆ context_alloc()

Context* blender::gpu::GLBackend::context_alloc ( void *  ghost_window)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 74 of file gl_backend.hh.

◆ drawlist_alloc()

DrawList* blender::gpu::GLBackend::drawlist_alloc ( int  list_length)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 84 of file gl_backend.hh.

◆ framebuffer_alloc()

FrameBuffer* blender::gpu::GLBackend::framebuffer_alloc ( const char *  name)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 89 of file gl_backend.hh.

◆ get()

static GLBackend* blender::gpu::GLBackend::get ( void  )
inlinestatic

◆ indexbuf_alloc()

IndexBuf* blender::gpu::GLBackend::indexbuf_alloc ( void  )
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 94 of file gl_backend.hh.

◆ querypool_alloc()

QueryPool* blender::gpu::GLBackend::querypool_alloc ( void  )
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 99 of file gl_backend.hh.

◆ samplers_update()

void blender::gpu::GLBackend::samplers_update ( void  )
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 69 of file gl_backend.hh.

References blender::gpu::GLTexture::samplers_update().

◆ shader_alloc()

Shader* blender::gpu::GLBackend::shader_alloc ( const char *  name)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 104 of file gl_backend.hh.

◆ shared_orphan_list_get()

GLSharedOrphanLists& blender::gpu::GLBackend::shared_orphan_list_get ( void  )
inline

◆ texture_alloc()

Texture* blender::gpu::GLBackend::texture_alloc ( const char *  name)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 109 of file gl_backend.hh.

◆ uniformbuf_alloc()

UniformBuf* blender::gpu::GLBackend::uniformbuf_alloc ( int  size,
const char *  name 
)
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 114 of file gl_backend.hh.

References size().

◆ vertbuf_alloc()

VertBuf* blender::gpu::GLBackend::vertbuf_alloc ( void  )
inlineoverridevirtual

Implements blender::gpu::GPUBackend.

Definition at line 119 of file gl_backend.hh.


The documentation for this class was generated from the following files: