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

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

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <GLES2/gl2.h>
9
8 #include "../common/gles2_cmd_utils.h" 10 #include "../common/gles2_cmd_utils.h"
9 #include "../common/gles2_cmd_format.h" 11 #include "../common/gles2_cmd_format.h"
10 12
11 namespace gpu { 13 namespace gpu {
12 namespace gles2 { 14 namespace gles2 {
13 15
14 namespace gl_error_bit { 16 namespace gl_error_bit {
15 enum GLErrorBit { 17 enum GLErrorBit {
16 kNoError = 0, 18 kNoError = 0,
17 kInvalidEnum = (1 << 0), 19 kInvalidEnum = (1 << 0),
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 480 GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
479 GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 481 GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
480 GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 482 GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
481 }; 483 };
482 return faces[index]; 484 return faces[index];
483 } 485 }
484 486
485 } // namespace gles2 487 } // namespace gles2
486 } // namespace gpu 488 } // namespace gpu
487 489
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format.h ('k') | gpu/command_buffer/common/unittest_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698