summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 21:33:23 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 21:33:23 +0000
commitf8deb4e6a6249d4bca959c71840843111ef60f5a (patch)
treea448df24817feef4a2abdd16d350c7933420df6c /chrome
parentc6602763b8af11cc7bcf66eee6585466c9519272 (diff)
downloadchromium_src-f8deb4e6a6249d4bca959c71840843111ef60f5a.zip
chromium_src-f8deb4e6a6249d4bca959c71840843111ef60f5a.tar.gz
chromium_src-f8deb4e6a6249d4bca959c71840843111ef60f5a.tar.bz2
Revert 69982 - 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 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/5998004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-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 7f0b99d..23a9025 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.5f;
+static const float kMaxPaintRectsAreaRatio = 0.3f;
PaintAggregator::PendingUpdate::PendingUpdate() {}