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

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

Issue 344703002: Revert of Remove EnableThreadedCompositing from the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 } 996 }
997 997
998 StoragePartition* RenderProcessHostImpl::GetStoragePartition() const { 998 StoragePartition* RenderProcessHostImpl::GetStoragePartition() const {
999 return storage_partition_impl_; 999 return storage_partition_impl_;
1000 } 1000 }
1001 1001
1002 static void AppendCompositorCommandLineFlags(CommandLine* command_line) { 1002 static void AppendCompositorCommandLineFlags(CommandLine* command_line) {
1003 if (IsPinchVirtualViewportEnabled()) 1003 if (IsPinchVirtualViewportEnabled())
1004 command_line->AppendSwitch(cc::switches::kEnablePinchVirtualViewport); 1004 command_line->AppendSwitch(cc::switches::kEnablePinchVirtualViewport);
1005 1005
1006 if (IsThreadedCompositingEnabled())
1007 command_line->AppendSwitch(switches::kEnableThreadedCompositing);
1008
1006 if (IsDelegatedRendererEnabled()) 1009 if (IsDelegatedRendererEnabled())
1007 command_line->AppendSwitch(switches::kEnableDelegatedRenderer); 1010 command_line->AppendSwitch(switches::kEnableDelegatedRenderer);
1008 1011
1009 if (IsImplSidePaintingEnabled()) 1012 if (IsImplSidePaintingEnabled())
1010 command_line->AppendSwitch(switches::kEnableImplSidePainting); 1013 command_line->AppendSwitch(switches::kEnableImplSidePainting);
1011 1014
1012 if (content::IsGpuRasterizationEnabled()) 1015 if (content::IsGpuRasterizationEnabled())
1013 command_line->AppendSwitch(switches::kEnableGpuRasterization); 1016 command_line->AppendSwitch(switches::kEnableGpuRasterization);
1014 1017
1015 if (content::IsForceGpuRasterizationEnabled()) 1018 if (content::IsForceGpuRasterizationEnabled())
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 switches::kDisableLocalStorage, 1101 switches::kDisableLocalStorage,
1099 switches::kDisableLogging, 1102 switches::kDisableLogging,
1100 switches::kDisableMediaSource, 1103 switches::kDisableMediaSource,
1101 switches::kDisableOverlayScrollbar, 1104 switches::kDisableOverlayScrollbar,
1102 switches::kDisablePinch, 1105 switches::kDisablePinch,
1103 switches::kDisablePrefixedEncryptedMedia, 1106 switches::kDisablePrefixedEncryptedMedia,
1104 switches::kDisableRepaintAfterLayout, 1107 switches::kDisableRepaintAfterLayout,
1105 switches::kDisableSeccompFilterSandbox, 1108 switches::kDisableSeccompFilterSandbox,
1106 switches::kDisableSessionStorage, 1109 switches::kDisableSessionStorage,
1107 switches::kDisableSharedWorkers, 1110 switches::kDisableSharedWorkers,
1108 switches::kDisableThreadedCompositing,
1109 switches::kDisableTouchAdjustment, 1111 switches::kDisableTouchAdjustment,
1110 switches::kDisableTouchDragDrop, 1112 switches::kDisableTouchDragDrop,
1111 switches::kDisableTouchEditing, 1113 switches::kDisableTouchEditing,
1112 switches::kDisableZeroCopy, 1114 switches::kDisableZeroCopy,
1113 switches::kDomAutomationController, 1115 switches::kDomAutomationController,
1114 switches::kEnableAcceleratedFixedRootBackground, 1116 switches::kEnableAcceleratedFixedRootBackground,
1115 switches::kEnableAcceleratedOverflowScroll, 1117 switches::kEnableAcceleratedOverflowScroll,
1116 switches::kEnableBeginFrameScheduling, 1118 switches::kEnableBeginFrameScheduling,
1117 switches::kEnableBleedingEdgeRenderingFastPaths, 1119 switches::kEnableBleedingEdgeRenderingFastPaths,
1118 switches::kEnableCompositingForFixedPosition, 1120 switches::kEnableCompositingForFixedPosition,
(...skipping 26 matching lines...) Expand all
1145 switches::kEnableServiceWorker, 1147 switches::kEnableServiceWorker,
1146 switches::kEnableSkiaBenchmarking, 1148 switches::kEnableSkiaBenchmarking,
1147 switches::kEnableSpeechSynthesis, 1149 switches::kEnableSpeechSynthesis,
1148 switches::kEnableStatsTable, 1150 switches::kEnableStatsTable,
1149 switches::kEnableStrictSiteIsolation, 1151 switches::kEnableStrictSiteIsolation,
1150 switches::kEnableTargetedStyleRecalc, 1152 switches::kEnableTargetedStyleRecalc,
1151 switches::kEnableTouchDragDrop, 1153 switches::kEnableTouchDragDrop,
1152 switches::kEnableTouchEditing, 1154 switches::kEnableTouchEditing,
1153 switches::kEnableViewport, 1155 switches::kEnableViewport,
1154 switches::kEnableViewportMeta, 1156 switches::kEnableViewportMeta,
1157 switches::kMainFrameResizesAreOrientationChanges,
1155 switches::kEnableVtune, 1158 switches::kEnableVtune,
1156 switches::kEnableWebAnimationsSVG, 1159 switches::kEnableWebAnimationsSVG,
1157 switches::kEnableWebGLDraftExtensions, 1160 switches::kEnableWebGLDraftExtensions,
1158 switches::kEnableWebGLImageChromium, 1161 switches::kEnableWebGLImageChromium,
1159 switches::kEnableWebMIDI, 1162 switches::kEnableWebMIDI,
1160 switches::kEnableZeroCopy, 1163 switches::kEnableZeroCopy,
1161 switches::kForceDeviceScaleFactor, 1164 switches::kForceDeviceScaleFactor,
1162 switches::kFullMemoryCrashReport, 1165 switches::kFullMemoryCrashReport,
1163 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 1166 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
1164 switches::kJavaScriptFlags, 1167 switches::kJavaScriptFlags,
1165 switches::kLoggingLevel, 1168 switches::kLoggingLevel,
1166 switches::kMainFrameResizesAreOrientationChanges,
1167 switches::kMaxUntiledLayerWidth, 1169 switches::kMaxUntiledLayerWidth,
1168 switches::kMaxUntiledLayerHeight, 1170 switches::kMaxUntiledLayerHeight,
1169 switches::kMemoryMetrics, 1171 switches::kMemoryMetrics,
1170 switches::kNoReferrers, 1172 switches::kNoReferrers,
1171 switches::kNoSandbox, 1173 switches::kNoSandbox,
1172 switches::kNumRasterThreads, 1174 switches::kNumRasterThreads,
1173 switches::kPpapiInProcess, 1175 switches::kPpapiInProcess,
1174 switches::kProfilerTiming, 1176 switches::kProfilerTiming,
1175 switches::kReduceSecurityForTesting, 1177 switches::kReduceSecurityForTesting,
1176 switches::kRegisterPepperPlugins, 1178 switches::kRegisterPepperPlugins,
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 void RenderProcessHostImpl::GpuMemoryBufferAllocated( 2287 void RenderProcessHostImpl::GpuMemoryBufferAllocated(
2286 IPC::Message* reply, 2288 IPC::Message* reply,
2287 const gfx::GpuMemoryBufferHandle& handle) { 2289 const gfx::GpuMemoryBufferHandle& handle) {
2288 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2290 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2289 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, 2291 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply,
2290 handle); 2292 handle);
2291 Send(reply); 2293 Send(reply);
2292 } 2294 }
2293 2295
2294 } // namespace content 2296 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/touch_input_browsertest.cc ('k') | content/browser/resources/gpu/info_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698