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

Unified Diff: android_webview/browser/aw_gl_surface.cc

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ozone demo Created 5 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
Index: android_webview/browser/aw_gl_surface.cc
diff --git a/android_webview/browser/aw_gl_surface.cc b/android_webview/browser/aw_gl_surface.cc
index 5ff927284ddeae906eb2eec6f5c329c232657298..a542275b34407ace1dc0073eccbb399c884ff9f2 100644
--- a/android_webview/browser/aw_gl_surface.cc
+++ b/android_webview/browser/aw_gl_surface.cc
@@ -21,8 +21,8 @@ unsigned int AwGLSurface::GetBackingFrameBufferObject() {
return fbo_;
}
-bool AwGLSurface::SwapBuffers() {
- return true;
+gfx::SwapResult AwGLSurface::SwapBuffers() {
+ return gfx::SwapResult::SWAP_ACK;
}
gfx::Size AwGLSurface::GetSize() {
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | content/browser/compositor/gpu_browser_compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698