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

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

Issue 1126793002: cc: Make tiling interest rect calc based on viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use new settings for interest rect calc. Created 5 years, 7 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
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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 switches::kVideoUnderflowThresholdMs, 1326 switches::kVideoUnderflowThresholdMs,
1327 switches::kVModule, 1327 switches::kVModule,
1328 // Please keep these in alphabetical order. Compositor switches here should 1328 // Please keep these in alphabetical order. Compositor switches here should
1329 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1329 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1330 cc::switches::kCompositeToMailbox, 1330 cc::switches::kCompositeToMailbox,
1331 cc::switches::kDisableCompositedAntialiasing, 1331 cc::switches::kDisableCompositedAntialiasing,
1332 cc::switches::kDisableMainFrameBeforeActivation, 1332 cc::switches::kDisableMainFrameBeforeActivation,
1333 cc::switches::kDisableThreadedAnimation, 1333 cc::switches::kDisableThreadedAnimation,
1334 cc::switches::kEnableGpuBenchmarking, 1334 cc::switches::kEnableGpuBenchmarking,
1335 cc::switches::kEnableMainFrameBeforeActivation, 1335 cc::switches::kEnableMainFrameBeforeActivation,
1336 cc::switches::kMaxTilesForInterestArea, 1336 cc::switches::kTilingInterestAreaViewportMultiplier,
1337 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1337 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1338 cc::switches::kShowCompositedLayerBorders, 1338 cc::switches::kShowCompositedLayerBorders,
1339 cc::switches::kShowFPSCounter, 1339 cc::switches::kShowFPSCounter,
1340 cc::switches::kShowLayerAnimationBounds, 1340 cc::switches::kShowLayerAnimationBounds,
1341 cc::switches::kShowPropertyChangedRects, 1341 cc::switches::kShowPropertyChangedRects,
1342 cc::switches::kShowReplicaScreenSpaceRects, 1342 cc::switches::kShowReplicaScreenSpaceRects,
1343 cc::switches::kShowScreenSpaceRects, 1343 cc::switches::kShowScreenSpaceRects,
1344 cc::switches::kShowSurfaceDamageRects, 1344 cc::switches::kShowSurfaceDamageRects,
1345 cc::switches::kSlowDownRasterScaleFactor, 1345 cc::switches::kSlowDownRasterScaleFactor,
1346 cc::switches::kStrictLayerPropertyChangeChecking, 1346 cc::switches::kStrictLayerPropertyChangeChecking,
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2459 if (worker_ref_count_ == 0) 2459 if (worker_ref_count_ == 0)
2460 Cleanup(); 2460 Cleanup();
2461 } 2461 }
2462 2462
2463 void RenderProcessHostImpl::GetAudioOutputControllers( 2463 void RenderProcessHostImpl::GetAudioOutputControllers(
2464 const GetAudioOutputControllersCallback& callback) const { 2464 const GetAudioOutputControllersCallback& callback) const {
2465 audio_renderer_host()->GetOutputControllers(callback); 2465 audio_renderer_host()->GetOutputControllers(callback);
2466 } 2466 }
2467 2467
2468 } // namespace content 2468 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698