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

Unified Diff: ui/gl/gl_surface_egl_x11.cc

Issue 2088453003: Move GLSurface and rename source files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GYP path. 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_egl_win.cc ('k') | ui/gl/gl_surface_overlay.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl_x11.cc
diff --git a/ui/gl/gl_surface_egl_x11.cc b/ui/gl/gl_surface_egl_x11.cc
index 3dcaf70a8681c1010891d90752c4a1c61894a013..5fd04f3650ae98c822b51ddba26738818b652a64 100644
--- a/ui/gl/gl_surface_egl_x11.cc
+++ b/ui/gl/gl_surface_egl_x11.cc
@@ -5,6 +5,7 @@
#include "ui/gl/gl_surface_egl_x11.h"
#include "ui/events/platform/platform_event_source.h"
+#include "ui/gfx/x/x11_types.h"
#include "ui/gl/egl_util.h"
extern "C" {
@@ -177,4 +178,8 @@ NativeViewGLSurfaceEGLX11::~NativeViewGLSurfaceEGLX11() {
Destroy();
}
+EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
+ return gfx::GetXDisplay();
+}
+
} // namespace gl
« no previous file with comments | « ui/gl/gl_surface_egl_win.cc ('k') | ui/gl/gl_surface_overlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698