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

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

Issue 1591813002: Make //gpu/* pass gn check (and make it gn checked). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 4 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
« no previous file with comments | « gpu/command_buffer/common/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('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 // 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 <sstream> 8 #include <sstream>
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 #include <GLES2/gl2extchromium.h>
12 #include <GLES3/gl3.h> 12 #include <GLES3/gl3.h>
13 13
14 #include "base/numerics/safe_math.h" 14 #include "base/numerics/safe_math.h"
15 #include "gpu/command_buffer/common/gles2_cmd_format.h"
16 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 15 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
17 16
18 namespace gpu { 17 namespace gpu {
19 namespace gles2 { 18 namespace gles2 {
20 19
21 namespace gl_error_bit { 20 namespace gl_error_bit {
22 enum GLErrorBit { 21 enum GLErrorBit {
23 kNoError = 0, 22 kNoError = 0,
24 kInvalidEnum = (1 << 0), 23 kInvalidEnum = (1 << 0),
25 kInvalidValue = (1 << 1), 24 kInvalidValue = (1 << 1),
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 } 1097 }
1099 1098
1100 return true; 1099 return true;
1101 } 1100 }
1102 1101
1103 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" 1102 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h"
1104 1103
1105 } // namespace gles2 1104 } // namespace gles2
1106 } // namespace gpu 1105 } // namespace gpu
1107 1106
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698