bool is_occluded(WhichTree tree) const { return is_occluded_[tree]; }
+ void set_shared(bool is_shared) { is_shared_ = is_shared; }
+ bool is_shared() const { return is_shared_; }
+
bool is_occluded_for_tree_priority(TreePriority tree_priority) const {
switch (tree_priority) {
case SMOOTHNESS_TAKES_PRIORITY:
return managed_state_.tile_versions[HIGH_QUALITY_RASTER_MODE];
}
- gfx::Rect opaque_rect() const { return opaque_rect_; }
float contents_scale() const { return contents_scale_; }
gfx::Rect content_rect() const { return content_rect_; }
PicturePileImpl* picture_pile,
const gfx::Size& tile_size,
const gfx::Rect& content_rect,
- const gfx::Rect& opaque_rect,
float contents_scale,
int layer_id,
int source_frame_number,
gfx::Size size_;
gfx::Rect content_rect_;
float contents_scale_;
- gfx::Rect opaque_rect_;
bool is_occluded_[NUM_TREES];
TilePriority priority_[NUM_TREES];
int layer_id_;
int source_frame_number_;
int flags_;
+ bool is_shared_;
Id id_;
static Id s_next_id_;