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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 switches::kUseGL, 1241 switches::kUseGL,
1242 switches::kUseMobileUserAgent, 1242 switches::kUseMobileUserAgent,
1243 switches::kV, 1243 switches::kV,
1244 switches::kVideoThreads, 1244 switches::kVideoThreads,
1245 switches::kVModule, 1245 switches::kVModule,
1246 // Please keep these in alphabetical order. Compositor switches here should 1246 // Please keep these in alphabetical order. Compositor switches here should
1247 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1247 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1248 cc::switches::kCompositeToMailbox, 1248 cc::switches::kCompositeToMailbox,
1249 cc::switches::kDisableCompositedAntialiasing, 1249 cc::switches::kDisableCompositedAntialiasing,
1250 cc::switches::kDisableMainFrameBeforeActivation, 1250 cc::switches::kDisableMainFrameBeforeActivation,
1251 cc::switches::kDisableTileCompression,
1251 cc::switches::kDisableThreadedAnimation, 1252 cc::switches::kDisableThreadedAnimation,
1252 cc::switches::kEnableGpuBenchmarking, 1253 cc::switches::kEnableGpuBenchmarking,
1253 cc::switches::kEnableMainFrameBeforeActivation, 1254 cc::switches::kEnableMainFrameBeforeActivation,
1255 cc::switches::kEnableTileCompression,
1254 cc::switches::kEnableTopControlsPositionCalculation, 1256 cc::switches::kEnableTopControlsPositionCalculation,
1255 cc::switches::kMaxTilesForInterestArea, 1257 cc::switches::kMaxTilesForInterestArea,
1256 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1258 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1259 cc::switches::kTileCompressionThreshold,
1260 cc::switches::kTileCompressionMethod,
1257 cc::switches::kShowCompositedLayerBorders, 1261 cc::switches::kShowCompositedLayerBorders,
1258 cc::switches::kShowFPSCounter, 1262 cc::switches::kShowFPSCounter,
1259 cc::switches::kShowLayerAnimationBounds, 1263 cc::switches::kShowLayerAnimationBounds,
1260 cc::switches::kShowNonOccludingRects, 1264 cc::switches::kShowNonOccludingRects,
1261 cc::switches::kShowOccludingRects, 1265 cc::switches::kShowOccludingRects,
1262 cc::switches::kShowPropertyChangedRects, 1266 cc::switches::kShowPropertyChangedRects,
1263 cc::switches::kShowReplicaScreenSpaceRects, 1267 cc::switches::kShowReplicaScreenSpaceRects,
1264 cc::switches::kShowScreenSpaceRects, 1268 cc::switches::kShowScreenSpaceRects,
1265 cc::switches::kShowSurfaceDamageRects, 1269 cc::switches::kShowSurfaceDamageRects,
1266 cc::switches::kSlowDownRasterScaleFactor, 1270 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 2315
2312 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2316 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2313 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2317 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2314 DCHECK_GT(worker_ref_count_, 0); 2318 DCHECK_GT(worker_ref_count_, 0);
2315 --worker_ref_count_; 2319 --worker_ref_count_;
2316 if (worker_ref_count_ == 0) 2320 if (worker_ref_count_ == 0)
2317 Cleanup(); 2321 Cleanup();
2318 } 2322 }
2319 2323
2320 } // namespace content 2324 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | content/common/gpu/client/gpu_memory_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698