ReactOS  0.4.12-dev-75-g00dd17e
gl_shared_state Struct Reference

#include <mtypes.h>

Collaboration diagram for gl_shared_state:

Public Attributes

_glthread_Mutex Mutex
 
GLint RefCount
 
struct _mesa_HashTableDisplayList
 
struct _mesa_HashTableTexObjects
 
struct gl_texture_objectDefaultTex [NUM_TEXTURE_TARGETS]
 
struct gl_texture_objectFallbackTex
 
struct gl_buffer_objectNullBufferObj
 
struct _mesa_HashTableBufferObjects
 
voidDriverData
 
Thread safety and statechange notification for texture

objects.

Todo:
Improve the granularity of locking.
_glthread_Mutex TexMutex
 
GLuint TextureStateStamp
 

Detailed Description

State which can be shared by multiple contexts:

Definition at line 1301 of file mtypes.h.

Member Data Documentation

◆ BufferObjects

struct _mesa_HashTable* gl_shared_state::BufferObjects

Definition at line 1328 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ DefaultTex

struct gl_texture_object* gl_shared_state::DefaultTex[NUM_TEXTURE_TARGETS]

Default texture objects (shared by all texture units)

Definition at line 1309 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ DisplayList

struct _mesa_HashTable* gl_shared_state::DisplayList

Display lists hash table

Definition at line 1305 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ DriverData

void* gl_shared_state::DriverData

Device driver shared state

Definition at line 1330 of file mtypes.h.

◆ FallbackTex

struct gl_texture_object* gl_shared_state::FallbackTex

Fallback texture used when a bound texture is incomplete

Definition at line 1312 of file mtypes.h.

Referenced by free_shared_state().

◆ Mutex

_glthread_Mutex gl_shared_state::Mutex

for thread safety

Definition at line 1303 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), _mesa_reference_shared_state(), and free_shared_state().

◆ NullBufferObj

struct gl_buffer_object* gl_shared_state::NullBufferObj

Default buffer object for vertex arrays that aren't in VBOs

Definition at line 1326 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ RefCount

GLint gl_shared_state::RefCount

Reference count

Definition at line 1304 of file mtypes.h.

Referenced by _mesa_reference_shared_state().

◆ TexMutex

_glthread_Mutex gl_shared_state::TexMutex

texobj thread safety

Definition at line 1321 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ TexObjects

struct _mesa_HashTable* gl_shared_state::TexObjects

Texture objects hash table

Definition at line 1306 of file mtypes.h.

Referenced by _mesa_alloc_shared_state(), and free_shared_state().

◆ TextureStateStamp

GLuint gl_shared_state::TextureStateStamp

state notification for shared tex

Definition at line 1322 of file mtypes.h.

Referenced by _mesa_alloc_shared_state().


The documentation for this struct was generated from the following file: