Index: ui/gl/gl_utils.h |
diff --git a/ui/gl/gl_utils.h b/ui/gl/gl_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..853d0be4ae43700ec95ce122aba116d1b2a05299 |
--- /dev/null |
+++ b/ui/gl/gl_utils.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 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 UI_GL_GL_UTILS_H_ |
+#define UI_GL_GL_UTILS_H_ |
+ |
+#include "base/macros.h" |
+#include "ui/gfx/buffer_types.h" |
+#include "ui/gl/gl_export.h" |
+ |
+typedef unsigned int GLenum; |
+ |
+namespace gl { |
+ |
+GL_EXPORT GLenum GetTextureFormatFrom(gfx::BufferFormat format); |
reveman
2016/01/13 15:50:09
Not sure we need this change as part of this patch
dshwang
2016/01/13 17:07:42
Done.
we need, because both GLImageMemory and unit
|
+ |
+} // namespace gl |
+ |
+#endif // UI_GL_GL_UTILS_H_ |