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

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: build fix for win and mac, but cros need crrev.com/1208603002 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
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_

Powered by Google App Engine
This is Rietveld 408576698