chromium/gpu/command_buffer/client/gles2_lib.cc

// Copyright 2009 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#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 {

// This is defined in gles2_c_lib_autogen.h
extern "C" {
extern const NameToFunc g_gles2_function_table[];
}

// TODO(kbr): the use of this anonymous namespace core dumps the
// linker on Mac OS X 10.6 when the symbol ordering file is used
// namespace {
static gpu::ThreadLocalKey g_gl_context_key;
// }  // namespace anonymous

void Initialize() {}

void Terminate() {}

gpu::gles2::GLES2Interface* GetGLContext() {}

void SetGLContext(gpu::gles2::GLES2Interface* context) {}

GLES2FunctionPointer GetGLFunctionPointer(const char* name) {}

}  // namespace gles2