Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_interface.h
blob0b0bc514f2489822582482a66fa8806237cd5e12
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
8 #include <GLES2/gl2.h>
10 #include "base/compiler_specific.h"
12 extern "C" typedef struct _ClientBuffer* ClientBuffer;
14 namespace gpu {
15 namespace gles2 {
17 // This class is the interface for all client side GL functions.
18 class GLES2Interface {
19 public:
20 GLES2Interface() {}
21 virtual ~GLES2Interface() {}
23 // Include the auto-generated part of this class. We split this because
24 // it means we can easily edit the non-auto generated parts right here in
25 // this file instead of having to edit some template or the code generator.
26 #include "gpu/command_buffer/client/gles2_interface_autogen.h"
29 } // namespace gles2
30 } // namespace gpu
32 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_