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

Side by Side Diff: cc/stubs/extensions_3d_chromium.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « cc/stubs/extensions_3d.h ('k') | cc/stubs/float_point.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 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
5 #ifndef CC_STUBS_EXTENSIONS3DCHROMIUM_H_
6 #define CC_STUBS_EXTENSIONS3DCHROMIUM_H_
7
8 #include "Extensions3D.h"
9
10 // These enum names collides with gl2ext.h, so we just redefine them.
11 #ifdef GL_TEXTURE_EXTERNAL_OES
12 #undef GL_TEXTURE_EXTERNAL_OES
13 #endif
14 #ifdef GL_TEXTURE_USAGE_ANGLE
15 #undef GL_TEXTURE_USAGE_ANGLE
16 #endif
17 #ifdef GL_FRAMEBUFFER_ATTACHMENT_ANGLE
18 #undef GL_FRAMEBUFFER_ATTACHMENT_ANGLE
19 #endif
20
21 namespace cc {
22
23 class Extensions3DChromium {
24 public:
25 enum {
26 // GL_OES_EGL_image_external
27 GL_TEXTURE_EXTERNAL_OES = 0x8D65,
28
29 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object )
30 READ_ONLY = 0x88B8,
31 WRITE_ONLY = 0x88B9,
32
33 // GL_ANGLE_texture_usage
34 GL_TEXTURE_USAGE_ANGLE = 0x93A2,
35 GL_FRAMEBUFFER_ATTACHMENT_ANGLE = 0x93A3,
36
37 // GL_EXT_texture_storage
38 BGRA8_EXT = 0x93A1,
39
40 // GL_EXT_occlusion_query_boolean
41 ANY_SAMPLES_PASSED_EXT = 0x8C2F,
42 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A,
43 CURRENT_QUERY_EXT = 0x8865,
44 QUERY_RESULT_EXT = 0x8866,
45 QUERY_RESULT_AVAILABLE_EXT = 0x8867,
46
47 // GL_CHROMIUM_command_buffer_query
48 COMMANDS_ISSUED_CHROMIUM = 0x84F2
49 };
50 };
51
52 }
53
54 #endif // CC_STUBS_EXTENSIONS3DCHROMIUM_H_
OLDNEW
« no previous file with comments | « cc/stubs/extensions_3d.h ('k') | cc/stubs/float_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698