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

Unified Diff: content/renderer/android/synchronous_compositor_output_surface.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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 | « content/common/view_messages.h ('k') | content/renderer/android/synchronous_compositor_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_output_surface.h
diff --git a/content/renderer/android/synchronous_compositor_output_surface.h b/content/renderer/android/synchronous_compositor_output_surface.h
index 9f09ae5fa17026a5c8cec91de19bd754dc4c598d..69eec2eadbf57f76d21ce3b7520c582e2448a764 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.h
+++ b/content/renderer/android/synchronous_compositor_output_surface.h
@@ -36,7 +36,7 @@ class SynchronousCompositorOutputSurface
virtual bool BindToClient(cc::OutputSurfaceClient* surface_client) OVERRIDE;
virtual void Reshape(gfx::Size size) OVERRIDE;
virtual void SendFrameToParentCompositor(cc::CompositorFrame* frame) OVERRIDE;
- virtual void EnableVSyncNotification(bool enable_vsync) OVERRIDE;
+ virtual void SetNeedsBeginFrame(bool enable) OVERRIDE;
virtual void SwapBuffers(const cc::LatencyInfo& info) OVERRIDE;
// SynchronousCompositor.
@@ -60,7 +60,7 @@ class SynchronousCompositorOutputSurface
SynchronousCompositorClient* compositor_client_;
int routing_id_;
- bool vsync_enabled_;
+ bool needs_begin_frame_;
bool did_swap_buffer_;
// Only valid (non-NULL) during a DemandDrawSw() call.
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/android/synchronous_compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698