Bug 1284940 - Increase the max number of tiles in a TiledRegion. r=mstange, a=gchang
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 11 Jul 2016 13:06:53 -0400
changeset 333653 b76b34484027e3673005bb3458fb9911d9e09b36
parent 333652 f3a1bdbff211f14b6bff9fd143a230e8e6075c75
child 333654 d661b598c1dbcbb7ed20494a5cba47d7c4aab8bd
push id6209
push usercbook@mozilla.com
push dateThu, 14 Jul 2016 10:46:29 +0000
treeherdermozilla-beta@2ba3feb910fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange, gchang
bugs1284940
milestone48.0
Bug 1284940 - Increase the max number of tiles in a TiledRegion. r=mstange, a=gchang MozReview-Commit-ID: 4ndRuvllDAr
gfx/src/TiledRegion.cpp
--- a/gfx/src/TiledRegion.cpp
+++ b/gfx/src/TiledRegion.cpp
@@ -9,17 +9,17 @@
 #include <algorithm>
 
 #include "mozilla/fallible.h"
 
 namespace mozilla {
 namespace gfx {
 
 static const int32_t kTileSize = 256;
-static const size_t kMaxTiles = 100;
+static const size_t kMaxTiles = 1000;
 
 /**
  * TiledRegionImpl stores an array of non-empty rectangles (pixman_box32_ts) to
  * represent the region. Each rectangle is contained in a single tile;
  * rectangles never cross tile boundaries. The rectangles are sorted by their
  * tile's origin in top-to-bottom, left-to-right order.
  * (Note that this can mean that a rectangle r1 can come before another
  * rectangle r2 even if r2.y1 < r1.y1, as long as the two rects are in the same