Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: cc/resources/tile.h

Issue 672283003: cc: ReadyToDraw notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698