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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again. Created 8 years, 1 month 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/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 391f72a361527156c666fe1e572daea5f9c121a2..7b6d1df4ce6b404de4fde33035beb8a756a23ed1 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -114,6 +114,8 @@ class ImageTransportHelper : public IPC::Listener {
void SendAcceleratedSurfaceRelease(
GpuHostMsg_AcceleratedSurfaceRelease_Params params);
void SendResizeView(const gfx::Size& size);
+ void SendUpdateVSyncParameters(
+ base::TimeTicks timebase, base::TimeDelta interval);
// Whether or not we should execute more commands.
void SetScheduled(bool is_scheduled);
@@ -186,6 +188,10 @@ class PassThroughImageTransportSurface
protected:
virtual ~PassThroughImageTransportSurface();
+ // If updated vsync parameters can be determined, send this information to
+ // the browser.
+ virtual void SendVSyncUpdateIfAvailable();
+
private:
scoped_ptr<ImageTransportHelper> helper_;
gfx::Size new_size_;
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698