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.
4 
5 // These functions emulate GLES2 over command buffers for C.
6 
7 #include "gpu/command_buffer/client/gles2_lib.h"
8 
9 #ifndef GL_GLEXT_PROTOTYPES
10 #define GL_GLEXT_PROTOTYPES
11 #endif
12 
13 #include <GLES2/gl2ext.h>
14 #include <GLES2/gl2extchromium.h>
15 #include <GLES3/gl3.h>
16 #include <stddef.h>
17 
18 extern "C" {
19 // Include the auto-generated part of this file. We split this because it means
20 // we can easily edit the non-auto generated parts right here in this file
21 // instead of having to edit some template or the code generator.
22 #include "gpu/command_buffer/client/gles2_c_lib_autogen.h"
23 }  // extern "C"
24