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

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

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

Powered by Google App Engine
This is Rietveld 408576698