summaryrefslogtreecommitdiffstats
path: root/cc/resources/managed_tile_state.h
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 19:12:09 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 19:12:09 +0000
commit31aab133ff26abd21532f2216036a4289e7666b4 (patch)
tree0a99a795fb9ec2b096b2b9179ee2e30853fa1548 /cc/resources/managed_tile_state.h
parent3a89544aa19ee3a9895a4102a1ee0677125425ee (diff)
downloadchromium_src-31aab133ff26abd21532f2216036a4289e7666b4.zip
chromium_src-31aab133ff26abd21532f2216036a4289e7666b4.tar.gz
chromium_src-31aab133ff26abd21532f2216036a4289e7666b4.tar.bz2
cc: Added scheduled priority into tracing
This patch adds a priority onto tile, which is updated during the assign gpu memory call. This should allow us to visually inspect the order in which the tiles are scheduled (in trace-viewer) R=nduca@chromium.org Review URL: https://chromiumcodereview.appspot.com/21659002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/managed_tile_state.h')
-rw-r--r--cc/resources/managed_tile_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/resources/managed_tile_state.h b/cc/resources/managed_tile_state.h
index 1d478dd..2f61b39 100644
--- a/cc/resources/managed_tile_state.h
+++ b/cc/resources/managed_tile_state.h
@@ -156,6 +156,9 @@ class CC_EXPORT ManagedTileState {
float time_to_needed_in_seconds;
float distance_to_visible_in_pixels;
bool visible_and_ready_to_draw;
+
+ // Priority for this state from the last time we assigned memory.
+ unsigned scheduled_priority;
};
} // namespace cc