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

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

Issue 11377122: cc: Visualize non-occluding rects in composited layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 1 month 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/switches.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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 switches::kV, 858 switches::kV,
859 switches::kVideoThreads, 859 switches::kVideoThreads,
860 switches::kVModule, 860 switches::kVModule,
861 switches::kWebCoreLogChannels, 861 switches::kWebCoreLogChannels,
862 cc::switches::kBackgroundColorInsteadOfCheckerboard, 862 cc::switches::kBackgroundColorInsteadOfCheckerboard,
863 cc::switches::kEnablePartialSwap, 863 cc::switches::kEnablePartialSwap,
864 cc::switches::kShowPropertyChangedRects, 864 cc::switches::kShowPropertyChangedRects,
865 cc::switches::kShowSurfaceDamageRects, 865 cc::switches::kShowSurfaceDamageRects,
866 cc::switches::kShowScreenSpaceRects, 866 cc::switches::kShowScreenSpaceRects,
867 cc::switches::kShowReplicaScreenSpaceRects, 867 cc::switches::kShowReplicaScreenSpaceRects,
868 cc::switches::kShowNonOccludingRects,
868 cc::switches::kShowOccludingRects, 869 cc::switches::kShowOccludingRects,
869 cc::switches::kTraceOverdraw, 870 cc::switches::kTraceOverdraw,
870 }; 871 };
871 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 872 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
872 arraysize(kSwitchNames)); 873 arraysize(kSwitchNames));
873 874
874 // Disable databases in incognito mode. 875 // Disable databases in incognito mode.
875 if (GetBrowserContext()->IsOffTheRecord() && 876 if (GetBrowserContext()->IsOffTheRecord() &&
876 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 877 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
877 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 878 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 int32 gpu_process_host_id) { 1600 int32 gpu_process_host_id) {
1600 TRACE_EVENT0("renderer_host", 1601 TRACE_EVENT0("renderer_host",
1601 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1602 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1602 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1603 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1603 gpu_process_host_id, 1604 gpu_process_host_id,
1604 false, 1605 false,
1605 0); 1606 0);
1606 } 1607 }
1607 1608
1608 } // namespace content 1609 } // namespace content
OLDNEW
« no previous file with comments | « cc/switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698