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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont expose to extension yet Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/tile_priority.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 cc::switches::kEnablePartialSwap, 853 cc::switches::kEnablePartialSwap,
854 cc::switches::kEnableRightAlignedScheduling, 854 cc::switches::kEnableRightAlignedScheduling,
855 cc::switches::kEnableTopControlsPositionCalculation, 855 cc::switches::kEnableTopControlsPositionCalculation,
856 cc::switches::kNumRasterThreads, 856 cc::switches::kNumRasterThreads,
857 cc::switches::kShowPropertyChangedRects, 857 cc::switches::kShowPropertyChangedRects,
858 cc::switches::kShowSurfaceDamageRects, 858 cc::switches::kShowSurfaceDamageRects,
859 cc::switches::kShowScreenSpaceRects, 859 cc::switches::kShowScreenSpaceRects,
860 cc::switches::kShowReplicaScreenSpaceRects, 860 cc::switches::kShowReplicaScreenSpaceRects,
861 cc::switches::kShowNonOccludingRects, 861 cc::switches::kShowNonOccludingRects,
862 cc::switches::kShowOccludingRects, 862 cc::switches::kShowOccludingRects,
863 cc::switches::kTraceAllRenderedFrames,
863 cc::switches::kTraceOverdraw, 864 cc::switches::kTraceOverdraw,
864 cc::switches::kTopControlsHeight, 865 cc::switches::kTopControlsHeight,
865 cc::switches::kSlowDownRasterScaleFactor, 866 cc::switches::kSlowDownRasterScaleFactor,
866 cc::switches::kUseCheapnessEstimator, 867 cc::switches::kUseCheapnessEstimator,
867 }; 868 };
868 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 869 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
869 arraysize(kSwitchNames)); 870 arraysize(kSwitchNames));
870 871
871 // Disable databases in incognito mode. 872 // Disable databases in incognito mode.
872 if (GetBrowserContext()->IsOffTheRecord() && 873 if (GetBrowserContext()->IsOffTheRecord() &&
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 TRACE_EVENT0("renderer_host", 1624 TRACE_EVENT0("renderer_host",
1624 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1625 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1625 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1626 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1626 ack_params.sync_point = 0; 1627 ack_params.sync_point = 0;
1627 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1628 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1628 gpu_process_host_id, 1629 gpu_process_host_id,
1629 ack_params); 1630 ack_params);
1630 } 1631 }
1631 1632
1632 } // namespace content 1633 } // namespace content
OLDNEW
« no previous file with comments | « cc/tile_priority.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698