#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "gpu/command_buffer/client/gles2_lib.h"
#include <string.h>
#include "gpu/command_buffer/common/thread_local.h"
namespace gles2 {
extern "C" {
extern const NameToFunc g_gles2_function_table[];
}
static gpu::ThreadLocalKey g_gl_context_key;
void Initialize() { … }
void Terminate() { … }
gpu::gles2::GLES2Interface* GetGLContext() { … }
void SetGLContext(gpu::gles2::GLES2Interface* context) { … }
GLES2FunctionPointer GetGLFunctionPointer(const char* name) { … }
}