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

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: Created 5 years, 1 month 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
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..74997b85bfb0e57cbcc1ad66bccb1e5c2b9f4529
--- /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/basictypes.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_

Powered by Google App Engine
This is Rietveld 408576698