From eeedf44230437227a66e852f1c5e1b83f25bede9 Mon Sep 17 00:00:00 2001 From: "vmpstr@chromium.org" Date: Wed, 7 Aug 2013 22:04:47 +0000 Subject: cc: Added priority ref tile set instead of sorting tiles. This patch adds a new class PriorityRefTileSet to maintain a priority ordering to tiles within TileManager. It sorts things that need sorting, and doesn't sort other things. For instance, NOW and SOON bins are sorted. EVENTUALLY and NEVER bins are not. BUG=267151 Review URL: https://chromiumcodereview.appspot.com/21945006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216284 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/test_tile_priorities.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 cc/test/test_tile_priorities.h (limited to 'cc/test/test_tile_priorities.h') diff --git a/cc/test/test_tile_priorities.h b/cc/test/test_tile_priorities.h new file mode 100644 index 0000000..cc54105 --- /dev/null +++ b/cc/test/test_tile_priorities.h @@ -0,0 +1,34 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CC_TEST_TEST_TILE_PRIORITIES_H_ +#define CC_TEST_TEST_TILE_PRIORITIES_H_ + +#include "cc/resources/tile_priority.h" + +namespace cc { + +class TilePriorityForSoonBin : public TilePriority { + public: + TilePriorityForSoonBin(); +}; + +class TilePriorityForEventualBin : public TilePriority { + public: + TilePriorityForEventualBin(); +}; + +class TilePriorityForNowBin : public TilePriority { + public: + TilePriorityForNowBin(); +}; + +class TilePriorityRequiredForActivation : public TilePriority { + public: + TilePriorityRequiredForActivation(); +}; + +} // namespace cc + +#endif // CC_TEST_TEST_TILE_PRIORITIES_H_ -- cgit v1.1