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

Unified Diff: ui/gl/gl_surface_ozone.h

Issue 2047283003: Move GLSurface creation from //ui/gl to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_context
Patch Set: Fix Ozone CreateViewGLSurface logic. Created 4 years, 6 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_surface_osmesa_win.cc ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_ozone.h
diff --git a/ui/gl/gl_surface_ozone.h b/ui/gl/gl_surface_ozone.h
new file mode 100644
index 0000000000000000000000000000000000000000..af447caf78c778aecd52ad0c622b485225d33977
--- /dev/null
+++ b/ui/gl/gl_surface_ozone.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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_SURFACE_OZONE_H_
+#define UI_GL_GL_SURFACE_OZONE_H_
+
+#include "base/memory/ref_counted.h"
+#include "ui/gfx/native_widget_types.h"
+#include "ui/gl/gl_export.h"
+#include "ui/gl/gl_surface.h"
+
+namespace gl {
+
+GL_EXPORT scoped_refptr<GLSurface> CreateViewGLSurfaceOzone(
+ gfx::AcceleratedWidget window);
+
+GL_EXPORT scoped_refptr<GLSurface> CreateViewGLSurfaceOzoneSurfaceless(
+ gfx::AcceleratedWidget window);
+
+GL_EXPORT scoped_refptr<GLSurface>
+CreateViewGLSurfaceOzoneSurfacelessSurfaceImpl(gfx::AcceleratedWidget window);
+
+} // namespace gl
+
+#endif // UI_GL_GL_SURFACE_OZONE_H_
« no previous file with comments | « ui/gl/gl_surface_osmesa_win.cc ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698