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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 17265006: wayland patch for inspection Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_implementation_wayland.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 04db3a9691438eb5bffadcea74a895191d5f9e1e..1101b5a70872d9e13c2dd38a4811ce9f9b6a14a3 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -19,6 +19,11 @@
#include "ui/gl/gl_surface.h"
#include "ui/gl/vsync_provider.h"
+#if defined(USE_WAYLAND)
+struct wl_surface;
+struct wl_egl_window;
+#endif
+
namespace gfx {
// Interface for EGL surface.
@@ -109,6 +114,10 @@ class GL_EXPORT PbufferGLSurfaceEGL : public GLSurfaceEGL {
private:
gfx::Size size_;
EGLSurface surface_;
+#if defined(USE_WAYLAND)
+ wl_surface *wsurf_;
+ wl_egl_window *wwindow_;
+#endif
DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceEGL);
};
« no previous file with comments | « ui/gl/gl_implementation_wayland.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698