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

Unified Diff: ui/gl/gl_utils.h

Issue 1484473003: gl, ozone: enable GLImageBindTest unittests Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address reveman's comments Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_image_shared_memory_unittest.cc ('k') | ui/gl/gl_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+
+} // namespace gl
+
+#endif // UI_GL_GL_UTILS_H_
« no previous file with comments | « ui/gl/gl_image_shared_memory_unittest.cc ('k') | ui/gl/gl_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698