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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 11782020: Refactor so chromium only GL extensions require gl2extchromium.h (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
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 // This file is here so other GLES2 related files can have a common set of 5 // This file is here so other GLES2 related files can have a common set of
6 // includes where appropriate. 6 // includes where appropriate.
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <GLES2/gl2.h> 9 #include <GLES2/gl2.h>
10 #include <GLES2/gl2ext.h> 10 #include <GLES2/gl2ext.h>
11 #include <GLES2/gl2extchromium.h>
11 12
12 #include "../common/gles2_cmd_utils.h" 13 #include "../common/gles2_cmd_utils.h"
13 #include "../common/gles2_cmd_format.h" 14 #include "../common/gles2_cmd_format.h"
14 15
15 namespace gpu { 16 namespace gpu {
16 namespace gles2 { 17 namespace gles2 {
17 18
18 namespace gl_error_bit { 19 namespace gl_error_bit {
19 enum GLErrorBit { 20 enum GLErrorBit {
20 kNoError = 0, 21 kNoError = 0,
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 } 792 }
792 793
793 return true; 794 return true;
794 } 795 }
795 796
796 #include "../common/gles2_cmd_utils_implementation_autogen.h" 797 #include "../common/gles2_cmd_utils_implementation_autogen.h"
797 798
798 } // namespace gles2 799 } // namespace gles2
799 } // namespace gpu 800 } // namespace gpu
800 801
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/query_tracker.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698