| Index: gpu/command_buffer/client/client_context_state.cc
|
| diff --git a/gpu/command_buffer/client/gles2_c_lib.cc b/gpu/command_buffer/client/client_context_state.cc
|
| similarity index 55%
|
| copy from gpu/command_buffer/client/gles2_c_lib.cc
|
| copy to gpu/command_buffer/client/client_context_state.cc
|
| index 0bed5f8f40180e727dde69a364322875bb0ea81d..84a262e22446a3501a515b8d53959cee4036aeeb 100644
|
| --- a/gpu/command_buffer/client/gles2_c_lib.cc
|
| +++ b/gpu/command_buffer/client/client_context_state.cc
|
| @@ -2,21 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// These functions emulate GLES2 over command buffers for C.
|
| +#include "../client/client_context_state.h"
|
| +#include "../common/logging.h"
|
|
|
| -#include <assert.h>
|
| -#include "../client/gles2_lib.h"
|
| +namespace gpu {
|
| +namespace gles2 {
|
|
|
| -#ifndef GL_GLEXT_PROTOTYPES
|
| -#define GL_GLEXT_PROTOTYPES
|
| -#endif
|
| -#include <GLES2/gl2ext.h>
|
| +ClientContextState::ClientContextState() {
|
| +}
|
| +
|
| +ClientContextState::~ClientContextState() {
|
| +}
|
|
|
| -extern "C" {
|
| // Include the auto-generated part of this file. We split this because it means
|
| // we can easily edit the non-auto generated parts right here in this file
|
| // instead of having to edit some template or the code generator.
|
| -#include "../client/gles2_c_lib_autogen.h"
|
| -} // extern "C"
|
| +#include "gpu/command_buffer/client/client_context_state_impl_autogen.h"
|
| +
|
| +} // namespace gles2
|
| +} // namespace gpu
|
|
|
|
|
|
|