summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/paint_aggregator.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 21:19:32 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 21:19:32 +0000
commit5636ed14794e0194cb280125b7d17e8b943860ce (patch)
tree1e02a5b67bf1fde27019c60f7f56458dd77f3c47 /chrome/renderer/paint_aggregator.cc
parentaf4b9df213e776858d025ec39059831ce15904d0 (diff)
downloadchromium_src-5636ed14794e0194cb280125b7d17e8b943860ce.zip
chromium_src-5636ed14794e0194cb280125b7d17e8b943860ce.tar.gz
chromium_src-5636ed14794e0194cb280125b7d17e8b943860ce.tar.bz2
Increase the % coverage for coalescing for paint rects.
The previous number was made up, and so is my number, it's just a larger made up number. We want this number to be as high as possible (less coalescing) without causing page cycler regressions. This means less painting and gives some other optimizations like the always-on-top Pepper plugin optimization to kick in more often. If this causes a PLT regression, it should be reverted. TEST=page cycler BUG=none Review URL: http://codereview.chromium.org/5968006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/paint_aggregator.cc')
-rw-r--r--chrome/renderer/paint_aggregator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/paint_aggregator.cc b/chrome/renderer/paint_aggregator.cc
index 23a9025..7f0b99d 100644
--- a/chrome/renderer/paint_aggregator.cc
+++ b/chrome/renderer/paint_aggregator.cc
@@ -36,7 +36,7 @@ static const size_t kMaxPaintRects = 5;
// If the combined area of paint rects divided by the area of the union of all
// paint rects exceeds this threshold, then we will combine the paint rects.
-static const float kMaxPaintRectsAreaRatio = 0.3f;
+static const float kMaxPaintRectsAreaRatio = 0.5f;
PaintAggregator::PendingUpdate::PendingUpdate() {}