cc: Change required_for_activation bookkeeping.
commit88186a6159883e30138153ce87f66eb3e8954778
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 00:45:18 +0000 (1 00:45 +0000)
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 00:45:18 +0000 (1 00:45 +0000)
tree8e30a15398db1168932081b722585f2b2070075b
parent819d8e0cf9dd0a5522021c91aef0e34519a17925
cc: Change required_for_activation bookkeeping.

This patch changes the bookkeeping of whether required for activation
tiles all received memory during AssignGpuMemory. The new approach
doesn't rely on the fact that we process every tile in that loop, thus
allowing us to early out or use another approach at getting tiles that
does not guarantee that every tile will be visited.

The end goal is to evaluate if we can activate when the rasterizer
notifies us that all tasks given to it that are required for
activation are finished rather than trying to figure this out
when we schedule tasks.

R=reveman, enne

Review URL: https://codereview.chromium.org/257773009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267400 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/picture_layer_impl.cc
cc/layers/picture_layer_impl.h
cc/resources/tile_manager.cc
cc/test/fake_tile_manager_client.h