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

Unified Diff: ui/gl/gl_surface.cc

Issue 781683005: Ozone: Avoid blocking in Swapbuffer Call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unintended changes. Created 6 years 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_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index e2f1717348538e6c01e42f6fb70cfff92ae2d4f4..19c0d2fbf43d8b49ce1962067f6d8e66da1db102 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -243,6 +243,10 @@ bool GLSurface::IsSurfaceless() const {
return false;
}
+void GLSurface::SetPageFlipCompletionCallback(
+ const PageFlipCompletionCallback& callback) {
+}
+
GLSurface* GLSurface::GetCurrent() {
return current_surface_.Pointer()->Get();
}
@@ -364,6 +368,11 @@ bool GLSurfaceAdapter::IsSurfaceless() const {
return surface_->IsSurfaceless();
}
+void GLSurfaceAdapter::SetPageFlipCompletionCallback(
+ const PageFlipCompletionCallback& callback) {
+ surface_->SetPageFlipCompletionCallback(callback);
+}
+
GLSurfaceAdapter::~GLSurfaceAdapter() {}
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698