27#ifndef CACHED_CONTAINER_RAM_H_
28#define CACHED_CONTAINER_RAM_H_
52 void Map()
override {}
55 void Unmap()
override;
~CACHED_CONTAINER_RAM()
Finish the vertices updates stage.
bool IsMapped() const override
Return true if vertex buffer is currently mapped.
void Map() override
Finish the vertices updates stage.
void Unmap() override
Finish the vertices updates stage.
bool defragmentResize(unsigned int aNewSize) override
Defragment the currently stored data and resizes the buffer.
unsigned int GetBufferHandle() const override
Return handle to the vertex buffer.
CACHED_CONTAINER_RAM(unsigned int aSize=DEFAULT_SIZE)
CACHED_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
Provide the access to the OpenGL shaders.
static constexpr unsigned int DEFAULT_SIZE
The Cairo implementation of the graphics abstraction layer.