Chromium Code Reviews| Index: cc/resources/tile.h |
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h |
| index f54a4568038b3ae67c9dea82ba87764fb316e300..4db36fd19c104e49b7937403673bb3cd6f1958de 100644 |
| --- a/cc/resources/tile.h |
| +++ b/cc/resources/tile.h |
| @@ -68,6 +68,9 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
| void set_shared(bool is_shared) { is_shared_ = is_shared; } |
| bool is_shared() const { return is_shared_; } |
| + bool is_occluded_combined() const { |
| + return is_occluded_[ACTIVE_TREE] && is_occluded_[PENDING_TREE]; |
| + } |
| bool is_occluded_for_tree_priority(TreePriority tree_priority) const { |
|
danakj
2015/02/12 21:32:56
no longer used? how come raster iterator doesn't u
vmpstr
2015/02/12 23:38:19
In raster, occlusion is done via PLT::IsTileOcclud
|
| switch (tree_priority) { |
| case SMOOTHNESS_TAKES_PRIORITY: |