46 const char* vendor = (
const char*) glGetString( GL_VENDOR );
50 if( strstr( vendor,
"X.Org" ) || strstr( vendor,
"nouveau" ) )
62 m_currentSize( aSize ),
63 m_initialSize( aSize ),
64 m_vertices( nullptr ),
Specialization of CACHED_CONTAINER that stores data in video memory via memory mapping.
Specialization of CACHED_CONTAINER that stores data in RAM.
VERTEX_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
static VERTEX_CONTAINER * MakeContainer(bool aCached)
Return a pointer to a new container of an appropriate type.
virtual ~VERTEX_CONTAINER()
The Cairo implementation of the graphics abstraction layer.
Class to store instances of VERTEX without caching.
Class to store vertices and handle transfers between system memory and GPU memory.