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

Unified Diff: content/common/gpu/image_transport_surface_win.cc

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: content/common/gpu/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index f6c3a13acac8da5ce5f65890fc5d7bd60c86a5cf..2cbedb22ba00129e4dca497ea09091cb45889bdb 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -48,6 +48,7 @@ class PbufferImageTransportSurface
const AcceleratedSurfaceMsg_BufferPresented_Params& params) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
+ virtual void SetLatencyInfo(const cc::LatencyInfo&) OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
private:
@@ -225,6 +226,11 @@ void PbufferImageTransportSurface::OnResize(gfx::Size size) {
visible_size_ = size;
}
+void PbufferImageTransportSurface::SetLatencyInfo(
+ const cc::LatencyInfo&) {
+ // TODO: implement
piman 2013/04/03 18:05:09 Same here, is there anything to do here beyond kee
+}
+
gfx::Size PbufferImageTransportSurface::GetSize() {
return GLSurfaceAdapter::GetSize();
}

Powered by Google App Engine
This is Rietveld 408576698