#include "gpu/command_buffer/client/buffer_tracker.h"
#include <stdint.h>
#include <utility>
#include "gpu/command_buffer/client/mapped_memory.h"
namespace gpu {
namespace gles2 {
BufferTracker::BufferTracker(MappedMemoryManager* manager)
: … { … }
BufferTracker::~BufferTracker() { … }
BufferTracker::Buffer* BufferTracker::CreateBuffer(
GLuint id, GLsizeiptr size) { … }
BufferTracker::Buffer* BufferTracker::GetBuffer(GLuint client_id) { … }
void BufferTracker::RemoveBuffer(GLuint client_id) { … }
void BufferTracker::FreePendingToken(Buffer* buffer, int32_t token) { … }
void BufferTracker::Unmanage(Buffer* buffer) { … }
void BufferTracker::Free(Buffer* buffer) { … }
}
}