Index: cc/stubs/extensions_3d.h |
diff --git a/cc/stubs/extensions_3d.h b/cc/stubs/extensions_3d.h |
index 638cbb270ce9b24689d5095baf174ade4f4d1a13..bbeb9e6e9f26628a4e8eaa67b018fc652e40cb79 100644 |
--- a/cc/stubs/extensions_3d.h |
+++ b/cc/stubs/extensions_3d.h |
@@ -1,3 +1,25 @@ |
-// Copyright 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+ |
+#ifndef CC_STUBS_EXTENSIONS3D_H_ |
+#define CC_STUBS_EXTENSIONS3D_H_ |
+ |
+#include "third_party/khronos/GLES2/gl2.h" |
+#include "third_party/khronos/GLES2/gl2ext.h" |
+ |
+namespace cc { |
+ |
+class Extensions3D { |
+public: |
+ enum { |
+ TEXTURE_RECTANGLE_ARB = GL_TEXTURE_RECTANGLE_ARB, |
+ BGRA_EXT = GL_BGRA_EXT, |
+ RGBA8_OES = GL_RGBA8_OES, |
+ }; |
+}; |
+ |
+} |
+ |
+ |
+#endif // CC_STUBS_EXTENSIONS3D_H_ |