Vuo  0.5.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions | Variables
VuoGlTexturePool.cc File Reference

Description

VuoGlTexturePool implementation.

Typedefs

typedef map< GLuint, unsigned int > VuoGlTexturePool
 

Functions

 __attribute__ ((constructor)) static void VuoGlTexturePool_init(void)
 Initializes VuoGlTexturePool_referenceCountsSemaphore.
 
void VuoGlTexturePool_retain (GLuint glTextureName)
 Increments the reference count for glTextureName.
 
void VuoGlTexturePool_release (GLuint glTextureName)
 Decrements the reference count for glTextureName.
 

Variables

VuoGlTexturePool VuoGlTexturePool_referenceCounts
 The reference count for each OpenGL Texture Object.
 
dispatch_semaphore_t VuoGlTexturePool_referenceCountsSemaphore = NULL
 Synchronizes access to VuoGlTexturePool_referenceCounts.
 

Typedef Documentation

typedef map<GLuint, unsigned int> VuoGlTexturePool
Todo:
After we drop 10.6 support, switch back to gl3.h.

Function Documentation

__attribute__ ( (constructor)  )

Initializes VuoGlTexturePool_referenceCountsSemaphore.

void VuoGlTexturePool_release ( GLuint  glTextureName)

Decrements the reference count for glTextureName.

void VuoGlTexturePool_retain ( GLuint  glTextureName)

Increments the reference count for glTextureName.

Variable Documentation

VuoGlTexturePool VuoGlTexturePool_referenceCounts

The reference count for each OpenGL Texture Object.

dispatch_semaphore_t VuoGlTexturePool_referenceCountsSemaphore = NULL

Synchronizes access to VuoGlTexturePool_referenceCounts.