#include "gpu/command_buffer/service/vertex_array_manager.h"
#include <stdint.h>
#include "base/check_op.h"
#include "base/trace_event/trace_event.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
#include "gpu/command_buffer/service/buffer_manager.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/command_buffer/service/vertex_attrib_manager.h"
namespace gpu {
namespace gles2 {
VertexArrayManager::VertexArrayManager()
: … { … }
VertexArrayManager::~VertexArrayManager() { … }
void VertexArrayManager::Destroy(bool have_context) { … }
scoped_refptr<VertexAttribManager>
VertexArrayManager::CreateVertexAttribManager(GLuint client_id,
GLuint service_id,
uint32_t num_vertex_attribs,
bool client_visible,
bool do_buffer_refcounting) { … }
VertexAttribManager* VertexArrayManager::GetVertexAttribManager(
GLuint client_id) { … }
void VertexArrayManager::RemoveVertexAttribManager(GLuint client_id) { … }
void VertexArrayManager::StartTracking(
VertexAttribManager* ) { … }
void VertexArrayManager::StopTracking(
VertexAttribManager* ) { … }
bool VertexArrayManager::GetClientId(
GLuint service_id, GLuint* client_id) const { … }
}
}