Index: cc/resources/tile.h |
diff --git a/cc/resources/tile.h b/cc/resources/tile.h |
index e61b5c5defaf8b45be300053ef79009452e14dbd..20294d8b166b17dfb0862fdfa4328681f0aa37f4 100644 |
--- a/cc/resources/tile.h |
+++ b/cc/resources/tile.h |
@@ -91,6 +91,10 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
void set_required_for_activation(bool is_required) { |
required_for_activation_ = is_required; |
} |
+ bool required_for_draw() const { return required_for_draw_; } |
reveman
2014/10/24 18:16:31
"required_for_draw" makes it sound like drawing is
ernstm
2014/10/27 21:13:56
It is tiles that are visible, high-res and on the
|
+ void set_required_for_draw(bool is_required) { |
+ required_for_draw_ = is_required; |
+ } |
bool use_picture_analysis() const { |
return !!(flags_ & USE_PICTURE_ANALYSIS); |
@@ -180,6 +184,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
int tiling_i_index_; |
int tiling_j_index_; |
bool required_for_activation_; |
+ bool required_for_draw_; |
vmpstr
2014/10/24 18:02:24
Initialize in the ctor please.
ernstm
2014/10/27 21:13:56
Done.
|
Id id_; |
static Id s_next_id_; |