Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib.cc

Issue 11973003: Move code around to fix build with system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/GLES2/gl2chromium_constants.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // These functions emulate GLES2 over command buffers for C. 5 // These functions emulate GLES2 over command buffers for C.
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include "../client/gles2_lib.h" 8 #include "../client/gles2_lib.h"
9 9
10 #ifndef GL_GLEXT_PROTOTYPES 10 #ifndef GL_GLEXT_PROTOTYPES
11 #define GL_GLEXT_PROTOTYPES 11 #define GL_GLEXT_PROTOTYPES
12 #endif 12 #endif
13 #include <GLES2/gl2chromium.h>
13 #include <GLES2/gl2ext.h> 14 #include <GLES2/gl2ext.h>
14 #include <GLES2/gl2extchromium.h> 15 #include <GLES2/gl2extchromium.h>
15 16
16 extern "C" { 17 extern "C" {
17 // Include the auto-generated part of this file. We split this because it means 18 // Include the auto-generated part of this file. We split this because it means
18 // we can easily edit the non-auto generated parts right here in this file 19 // we can easily edit the non-auto generated parts right here in this file
19 // instead of having to edit some template or the code generator. 20 // instead of having to edit some template or the code generator.
20 #include "../client/gles2_c_lib_autogen.h" 21 #include "../client/gles2_c_lib_autogen.h"
21 } // extern "C" 22 } // extern "C"
22 23
23 24
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_constants.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698