X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcc%2Fresources%2Ftile.h;h=04367fd9d0bf6ca2f70491cdd987b348ad7875d3;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=5e1ce5a694af75130d6ad3ab15e5dda4480c2b6c;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/cc/resources/tile.h b/src/cc/resources/tile.h index 5e1ce5a..04367fd 100644 --- a/src/cc/resources/tile.h +++ b/src/cc/resources/tile.h @@ -67,6 +67,9 @@ class CC_EXPORT Tile : public RefCountedManaged { 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: @@ -121,7 +124,6 @@ class CC_EXPORT Tile : public RefCountedManaged { 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_; } @@ -164,7 +166,6 @@ class CC_EXPORT Tile : public RefCountedManaged { 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, @@ -182,7 +183,6 @@ class CC_EXPORT Tile : public RefCountedManaged { gfx::Size size_; gfx::Rect content_rect_; float contents_scale_; - gfx::Rect opaque_rect_; bool is_occluded_[NUM_TREES]; TilePriority priority_[NUM_TREES]; @@ -190,6 +190,7 @@ class CC_EXPORT Tile : public RefCountedManaged { int layer_id_; int source_frame_number_; int flags_; + bool is_shared_; Id id_; static Id s_next_id_;