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

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

Issue 196473007: Add --disable-low-res-tiling. Disable low res tiling to save power. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments from enne and piman Created 6 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
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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 switches::kDisableDatabases, 1002 switches::kDisableDatabases,
1003 switches::kDisableDelegatedRenderer, 1003 switches::kDisableDelegatedRenderer,
1004 switches::kDisableDesktopNotifications, 1004 switches::kDisableDesktopNotifications,
1005 switches::kDisableDirectNPAPIRequests, 1005 switches::kDisableDirectNPAPIRequests,
1006 switches::kDisableFileSystem, 1006 switches::kDisableFileSystem,
1007 switches::kDisableFiltersOverIPC, 1007 switches::kDisableFiltersOverIPC,
1008 switches::kDisableGpu, 1008 switches::kDisableGpu,
1009 switches::kDisableGpuCompositing, 1009 switches::kDisableGpuCompositing,
1010 switches::kDisableGpuRasterization, 1010 switches::kDisableGpuRasterization,
1011 switches::kDisableGpuVsync, 1011 switches::kDisableGpuVsync,
1012 switches::kDisableLowResTiling,
1012 switches::kDisableHistogramCustomizer, 1013 switches::kDisableHistogramCustomizer,
1013 switches::kDisableImplSidePainting, 1014 switches::kDisableImplSidePainting,
1014 switches::kDisableLCDText, 1015 switches::kDisableLCDText,
1015 switches::kDisableLayerSquashing, 1016 switches::kDisableLayerSquashing,
1016 switches::kDisableLocalStorage, 1017 switches::kDisableLocalStorage,
1017 switches::kDisableLogging, 1018 switches::kDisableLogging,
1018 switches::kDisableMapImage, 1019 switches::kDisableMapImage,
1019 switches::kDisableOverlayScrollbar, 1020 switches::kDisableOverlayScrollbar,
1020 switches::kDisablePinch, 1021 switches::kDisablePinch,
1021 switches::kDisablePrefixedEncryptedMedia, 1022 switches::kDisablePrefixedEncryptedMedia,
(...skipping 27 matching lines...) Expand all
1049 switches::kEnableExperimentalCanvasFeatures, 1050 switches::kEnableExperimentalCanvasFeatures,
1050 switches::kEnableExperimentalWebPlatformFeatures, 1051 switches::kEnableExperimentalWebPlatformFeatures,
1051 switches::kEnableExperimentalWebSocket, 1052 switches::kEnableExperimentalWebSocket,
1052 switches::kEnableFastTextAutosizing, 1053 switches::kEnableFastTextAutosizing,
1053 switches::kEnableGPUClientLogging, 1054 switches::kEnableGPUClientLogging,
1054 switches::kEnableGpuClientTracing, 1055 switches::kEnableGpuClientTracing,
1055 switches::kEnableGpuRasterization, 1056 switches::kEnableGpuRasterization,
1056 switches::kEnableGPUServiceLogging, 1057 switches::kEnableGPUServiceLogging,
1057 switches::kEnableHighDpiCompositingForFixedPosition, 1058 switches::kEnableHighDpiCompositingForFixedPosition,
1058 switches::kEnableHTMLImports, 1059 switches::kEnableHTMLImports,
1060 switches::kEnableLowResTiling,
1059 switches::kEnableImplSidePainting, 1061 switches::kEnableImplSidePainting,
1060 switches::kEnableInbandTextTracks, 1062 switches::kEnableInbandTextTracks,
1061 switches::kEnableLCDText, 1063 switches::kEnableLCDText,
1062 switches::kEnableLayerSquashing, 1064 switches::kEnableLayerSquashing,
1063 switches::kEnableLogging, 1065 switches::kEnableLogging,
1064 switches::kEnableMP3StreamParser, 1066 switches::kEnableMP3StreamParser,
1065 switches::kEnableMapImage, 1067 switches::kEnableMapImage,
1066 switches::kEnableMemoryBenchmarking, 1068 switches::kEnableMemoryBenchmarking,
1067 switches::kEnableOverlayFullscreenVideo, 1069 switches::kEnableOverlayFullscreenVideo,
1068 switches::kEnableOverlayScrollbar, 1070 switches::kEnableOverlayScrollbar,
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 2114
2113 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2115 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2114 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2116 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2115 DCHECK_GT(worker_ref_count_, 0); 2117 DCHECK_GT(worker_ref_count_, 0);
2116 --worker_ref_count_; 2118 --worker_ref_count_;
2117 if (worker_ref_count_ == 0) 2119 if (worker_ref_count_ == 0)
2118 Cleanup(); 2120 Cleanup();
2119 } 2121 }
2120 2122
2121 } // namespace content 2123 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698