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

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

Issue 15938002: Get rid of the relative paths in command_buffer client/common (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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/command_buffer/common/gles2_cmd_utils.h ('k') | gpu/command_buffer/common/id_allocator.h » ('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 <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 #include <GLES2/gl2extchromium.h>
12 12
13 #include "../common/gles2_cmd_utils.h" 13 #include "gpu/command_buffer/common/gles2_cmd_format.h"
14 #include "../common/gles2_cmd_format.h" 14 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
15 15
16 namespace gpu { 16 namespace gpu {
17 namespace gles2 { 17 namespace gles2 {
18 18
19 namespace gl_error_bit { 19 namespace gl_error_bit {
20 enum GLErrorBit { 20 enum GLErrorBit {
21 kNoError = 0, 21 kNoError = 0,
22 kInvalidEnum = (1 << 0), 22 kInvalidEnum = (1 << 0),
23 kInvalidValue = (1 << 1), 23 kInvalidValue = (1 << 1),
24 kInvalidOperation = (1 << 2), 24 kInvalidOperation = (1 << 2),
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 return true; 791 return true;
792 default: 792 default:
793 GPU_DLOG(ERROR) << "Invalid context creation attribute: " << attrib; 793 GPU_DLOG(ERROR) << "Invalid context creation attribute: " << attrib;
794 return false; 794 return false;
795 } 795 }
796 } 796 }
797 797
798 return true; 798 return true;
799 } 799 }
800 800
801 #include "../common/gles2_cmd_utils_implementation_autogen.h" 801 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h"
802 802
803 } // namespace gles2 803 } // namespace gles2
804 } // namespace gpu 804 } // namespace gpu
805 805
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.h ('k') | gpu/command_buffer/common/id_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698