summaryrefslogtreecommitdiffstats
path: root/cc/cc_tests.gyp
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 01:42:36 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 01:42:36 +0000
commitfcb846d462bd0d985c94b5bec5a37fa75411c797 (patch)
treea7f59e309a1f57ea98628a8a42860d2e7a095e16 /cc/cc_tests.gyp
parentb871b360ea4bb73ec539db8a10f1ba47e0eb1e33 (diff)
downloadchromium_src-fcb846d462bd0d985c94b5bec5a37fa75411c797.zip
chromium_src-fcb846d462bd0d985c94b5bec5a37fa75411c797.tar.gz
chromium_src-fcb846d462bd0d985c94b5bec5a37fa75411c797.tar.bz2
cc: Move activation check into TileManager
Currently "AreVisibleResourcesReady" requires a tree and tiling walk to calculate, which means that it's not going to be cheap enough to call repeatedly during a frame. This is one step towards making activation happen sooner. This patch only changes "AreVisibleResourcesReady" into "MarkVisibleResourcesAsRequired", marking individual tiles as being required for activation. The TileManager recalculates the set of required tiles when assigning gpu memory, so that "required" tiles that don't get memory won't be considered. This lets it very cheaply determine how many outstanding tiles are needed for the frame. R=danakj@chromium.org,reveman@chromium.org BUG=236648 Review URL: https://chromiumcodereview.appspot.com/14660027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r--cc/cc_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index 71c2dd6..9f38f92 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -128,6 +128,7 @@
'test/fake_tile_manager.h',
'test/fake_tile_manager.cc',
'test/fake_tile_manager_client.h',
+ 'test/fake_tile_manager_client.cc',
'test/fake_output_surface.cc',
'test/fake_output_surface.h',
'test/fake_video_frame_provider.cc',