summaryrefslogtreecommitdiffstats
path: root/cc/stubs/extensions_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs/extensions_3d.h')
-rw-r--r--cc/stubs/extensions_3d.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/cc/stubs/extensions_3d.h b/cc/stubs/extensions_3d.h
index 638cbb2..bbeb9e6 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_