Chromium Code Reviews

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

Issue 11421171: cc: Add experimental --num-raster-threads option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« cc/tile_manager.cc ('K') | « cc/tile_manager.cc ('k') | no next file » | 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 825 matching lines...)
836 switches::kUseGL, 836 switches::kUseGL,
837 switches::kUseMobileUserAgent, 837 switches::kUseMobileUserAgent,
838 switches::kUserAgent, 838 switches::kUserAgent,
839 switches::kV, 839 switches::kV,
840 switches::kVideoThreads, 840 switches::kVideoThreads,
841 switches::kVModule, 841 switches::kVModule,
842 switches::kWebCoreLogChannels, 842 switches::kWebCoreLogChannels,
843 cc::switches::kBackgroundColorInsteadOfCheckerboard, 843 cc::switches::kBackgroundColorInsteadOfCheckerboard,
844 cc::switches::kEnableImplSidePainting, 844 cc::switches::kEnableImplSidePainting,
845 cc::switches::kEnablePartialSwap, 845 cc::switches::kEnablePartialSwap,
846 cc::switches::kNumRasterThreads,
846 cc::switches::kShowPropertyChangedRects, 847 cc::switches::kShowPropertyChangedRects,
847 cc::switches::kShowSurfaceDamageRects, 848 cc::switches::kShowSurfaceDamageRects,
848 cc::switches::kShowScreenSpaceRects, 849 cc::switches::kShowScreenSpaceRects,
849 cc::switches::kShowReplicaScreenSpaceRects, 850 cc::switches::kShowReplicaScreenSpaceRects,
850 cc::switches::kShowNonOccludingRects, 851 cc::switches::kShowNonOccludingRects,
851 cc::switches::kShowOccludingRects, 852 cc::switches::kShowOccludingRects,
852 cc::switches::kTraceOverdraw, 853 cc::switches::kTraceOverdraw,
853 }; 854 };
854 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 855 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
855 arraysize(kSwitchNames)); 856 arraysize(kSwitchNames));
(...skipping 726 matching lines...)
1582 int32 gpu_process_host_id) { 1583 int32 gpu_process_host_id) {
1583 TRACE_EVENT0("renderer_host", 1584 TRACE_EVENT0("renderer_host",
1584 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1585 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1585 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1586 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1586 gpu_process_host_id, 1587 gpu_process_host_id,
1587 false, 1588 false,
1588 0); 1589 0);
1589 } 1590 }
1590 1591
1591 } // namespace content 1592 } // namespace content
OLDNEW
« cc/tile_manager.cc ('K') | « cc/tile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine