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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 310183002: Ack swap buffers after a timeout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 6 years, 6 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/browser/renderer_host/render_widget_host_view_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 93e641409a0f43ffb24277196c9f488d29954eaf..4852f4a38b49a86322b45fc407b14289252dfc0e 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -2358,11 +2358,6 @@ void RenderWidgetHostViewMac::AddPendingSwapAck(
// loss. Drop the old acks.
pending_swap_ack_.reset(new PendingSwapAck(
route_id, gpu_host_id, renderer_id));
-
- // A trace value of 2 indicates that there is a pending swap ack. See
- // CompositingIOSurfaceLayer's canDrawInCGLContext for other value meanings.
- TRACE_COUNTER_ID1("browser", "PendingSwapAck",
- compositing_iosurface_layer_.get(), 2);
}
void RenderWidgetHostViewMac::SendPendingSwapAck() {
@@ -2376,7 +2371,6 @@ void RenderWidgetHostViewMac::SendPendingSwapAck() {
pending_swap_ack_->gpu_host_id,
ack_params);
pending_swap_ack_.reset();
- TRACE_COUNTER_ID1("browser", "PendingSwapAck", this, 0);
}
void RenderWidgetHostViewMac::PauseForPendingResizeOrRepaintsAndDraw() {
@@ -2486,10 +2480,6 @@ void RenderWidgetHostViewMac::AcceleratedLayerDidDrawFrame(bool succeeded) {
GotAcceleratedCompositingError();
}
-bool RenderWidgetHostViewMac::AcceleratedLayerHasNotAckedPendingFrame() const {
- return pending_swap_ack_;
-}
-
} // namespace content
// RenderWidgetHostViewCocoa ---------------------------------------------------
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698