27#ifndef CACHED_CONTAINER_GPU_H_
28#define CACHED_CONTAINER_GPU_H_
58 void Unmap()
override;
void Map() override
Finish the vertices updates stage.
bool m_isMapped
Vertex buffer handle.
unsigned int GetBufferHandle() const override
Return handle to the vertex buffer.
virtual unsigned int AllItemsSize() const override
bool IsMapped() const override
Prepare the container for vertices updates.
bool defragmentResizeMemcpy(unsigned int aNewSize)
Flag saying if vertex buffer is currently mapped.
void Unmap() override
Finish the vertices updates stage.
CACHED_CONTAINER_GPU(unsigned int aSize=DEFAULT_SIZE)
bool defragmentResize(unsigned int aNewSize) override
Remove empty spaces between chunks and optionally resizes the container.
unsigned int m_glBufferHandle
Flag saying whether it is safe to use glCopyBufferSubData.
CACHED_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
static constexpr unsigned int DEFAULT_SIZE
The Cairo implementation of the graphics abstraction layer.