OLD | NEW |
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 #ifndef CC_STUBS_EXTENSIONS3D_H_ | 5 #ifndef CC_STUBS_EXTENSIONS3D_H_ |
6 #define CC_STUBS_EXTENSIONS3D_H_ | 6 #define CC_STUBS_EXTENSIONS3D_H_ |
7 | 7 |
8 #include "third_party/khronos/GLES2/gl2.h" | 8 #include "third_party/khronos/GLES2/gl2.h" |
9 #include "third_party/khronos/GLES2/gl2ext.h" | 9 #include "third_party/khronos/GLES2/gl2ext.h" |
10 | 10 |
11 namespace WebCore { | 11 namespace cc { |
12 | 12 |
13 class Extensions3D { | 13 class Extensions3D { |
14 public: | 14 public: |
15 enum { | 15 enum { |
16 TEXTURE_RECTANGLE_ARB = GL_TEXTURE_RECTANGLE_ARB, | 16 TEXTURE_RECTANGLE_ARB = GL_TEXTURE_RECTANGLE_ARB, |
17 BGRA_EXT = GL_BGRA_EXT, | 17 BGRA_EXT = GL_BGRA_EXT, |
18 RGBA8_OES = GL_RGBA8_OES, | 18 RGBA8_OES = GL_RGBA8_OES, |
19 }; | 19 }; |
20 }; | 20 }; |
21 | 21 |
22 } | 22 } |
23 | 23 |
24 | 24 |
25 #endif // CC_STUBS_EXTENSIONS3D_H_ | 25 #endif // CC_STUBS_EXTENSIONS3D_H_ |
26 | |
OLD | NEW |