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

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 300023006: ozone: Add OnSwapBuffers hook to SurfaceOzoneEGL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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_ozone.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
index 4aa6ea8ad137a40bbfa30841403798560b496dca..8114cb98f5c78f4b2cbd5b829e382a378e16c198 100644
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
@@ -59,6 +59,8 @@ class SurfaceOzoneEgltest : public gfx::SurfaceOzoneEGL {
virtual intptr_t GetNativeWindow() OVERRIDE { return native_window_; }
+ virtual bool OnSwapBuffers() OVERRIDE { return true; }
+
virtual bool ResizeNativeWindow(const gfx::Size& viewport_size) OVERRIDE {
return true;
}
« no previous file with comments | « ui/gl/gl_surface_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698