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

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

Issue 12316084: cc: Consolidate the analysis_canvas operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win warning fix 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 switches::kVideoThreads, 854 switches::kVideoThreads,
855 switches::kVModule, 855 switches::kVModule,
856 switches::kWebCoreLogChannels, 856 switches::kWebCoreLogChannels,
857 cc::switches::kBackgroundColorInsteadOfCheckerboard, 857 cc::switches::kBackgroundColorInsteadOfCheckerboard,
858 cc::switches::kDisableImplSidePainting, 858 cc::switches::kDisableImplSidePainting,
859 cc::switches::kDisableThreadedAnimation, 859 cc::switches::kDisableThreadedAnimation,
860 cc::switches::kEnableCompositorFrameMessage, 860 cc::switches::kEnableCompositorFrameMessage,
861 cc::switches::kEnableImplSidePainting, 861 cc::switches::kEnableImplSidePainting,
862 cc::switches::kEnablePartialSwap, 862 cc::switches::kEnablePartialSwap,
863 cc::switches::kEnablePerTilePainting, 863 cc::switches::kEnablePerTilePainting,
864 cc::switches::kEnablePredictionBenchmarking,
864 cc::switches::kEnableRightAlignedScheduling, 865 cc::switches::kEnableRightAlignedScheduling,
865 cc::switches::kEnableTopControlsPositionCalculation, 866 cc::switches::kEnableTopControlsPositionCalculation,
866 cc::switches::kLowResolutionContentsScaleFactor, 867 cc::switches::kLowResolutionContentsScaleFactor,
867 cc::switches::kNumRasterThreads, 868 cc::switches::kNumRasterThreads,
868 cc::switches::kShowNonOccludingRects, 869 cc::switches::kShowNonOccludingRects,
869 cc::switches::kShowOccludingRects, 870 cc::switches::kShowOccludingRects,
870 cc::switches::kShowPropertyChangedRects, 871 cc::switches::kShowPropertyChangedRects,
871 cc::switches::kShowReplicaScreenSpaceRects, 872 cc::switches::kShowReplicaScreenSpaceRects,
872 cc::switches::kShowScreenSpaceRects, 873 cc::switches::kShowScreenSpaceRects,
873 cc::switches::kShowSurfaceDamageRects, 874 cc::switches::kShowSurfaceDamageRects,
874 cc::switches::kSlowDownRasterScaleFactor, 875 cc::switches::kSlowDownRasterScaleFactor,
875 cc::switches::kTopControlsHeight, 876 cc::switches::kTopControlsHeight,
876 cc::switches::kTopControlsHideThreshold, 877 cc::switches::kTopControlsHideThreshold,
877 cc::switches::kTopControlsShowThreshold, 878 cc::switches::kTopControlsShowThreshold,
878 cc::switches::kTraceAllRenderedFrames, 879 cc::switches::kTraceAllRenderedFrames,
879 cc::switches::kTraceOverdraw, 880 cc::switches::kTraceOverdraw,
880 cc::switches::kUseCheapnessEstimator, 881 cc::switches::kUseCheapnessEstimator,
882 cc::switches::kUseColorEstimator,
881 cc::switches::kCompositeToMailbox, 883 cc::switches::kCompositeToMailbox,
882 }; 884 };
883 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 885 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
884 arraysize(kSwitchNames)); 886 arraysize(kSwitchNames));
885 887
886 // Disable databases in incognito mode. 888 // Disable databases in incognito mode.
887 if (GetBrowserContext()->IsOffTheRecord() && 889 if (GetBrowserContext()->IsOffTheRecord() &&
888 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 890 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
889 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 891 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
890 #if defined(OS_ANDROID) 892 #if defined(OS_ANDROID)
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 TRACE_EVENT0("renderer_host", 1640 TRACE_EVENT0("renderer_host",
1639 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1641 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1640 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1642 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1641 ack_params.sync_point = 0; 1643 ack_params.sync_point = 0;
1642 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1644 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1643 gpu_process_host_id, 1645 gpu_process_host_id,
1644 ack_params); 1646 ack_params);
1645 } 1647 }
1646 1648
1647 } // namespace content 1649 } // namespace content
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698