40 using namespace KIGFX;
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 ),
static VERTEX_CONTAINER * MakeContainer(bool aCached)
Return a pointer to a new container of an appropriate type.
The Cairo implementation of the graphics abstraction layer.
VERTEX_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
Specialization of CACHED_CONTAINER that stores data in RAM.
Specialization of CACHED_CONTAINER that stores data in video memory via memory mapping.
Class to store vertices and handle transfers between system memory and GPU memory.
Class to store instances of VERTEX without caching.
virtual ~VERTEX_CONTAINER()