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

Unified Diff: content/common/gpu/image_transport_surface_mac.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_mac.cc
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index 8106f3bc52814fdf559d944a3d2fb8b08bb96a3a..abf9614439331abc7d53fafb2786baee757912cd 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -60,6 +60,7 @@ class IOSurfaceImageTransportSurface : public gfx::NoOpGLSurfaceCGL,
const AcceleratedSurfaceMsg_BufferPresented_Params& params) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
+ virtual void SetLatencyInfo(const cc::LatencyInfo&) OVERRIDE;
private:
virtual ~IOSurfaceImageTransportSurface() OVERRIDE;
@@ -297,6 +298,11 @@ void IOSurfaceImageTransportSurface::OnResize(gfx::Size size) {
CreateIOSurface();
}
+void IOSurfaceImageTransportSurface::SetLatencyInfo(
+ const cc::LatencyInfo&) {
+ // TODO: implement
piman 2013/04/03 18:05:09 Is there anything to do here beyond keeping it aro
+}
+
void IOSurfaceImageTransportSurface::UnrefIOSurface() {
// If we have resources to destroy, then make sure that we have a current
// context which we can use to delete the resources.

Powered by Google App Engine
This is Rietveld 408576698