Index: cc/resources/tile.h |
diff --git a/cc/resources/tile.h b/cc/resources/tile.h |
index 440c6b031984bf4c2c7816c71cf1e4db223a7bc3..3e10f8bb4c3d7130804c7c0df643bc84020231ca 100644 |
--- a/cc/resources/tile.h |
+++ b/cc/resources/tile.h |
@@ -60,6 +60,10 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
return can_use_lcd_text_; |
} |
+ bool use_gpu_rasterizer() const { |
nduca
2013/12/02 19:50:17
should this be mutable?
slavi
2013/12/04 02:06:50
Done.
|
+ return use_gpu_rasterizer_; |
+ } |
+ |
scoped_ptr<base::Value> AsValue() const; |
inline bool IsReadyToDraw() const { |
@@ -122,7 +126,8 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
float contents_scale, |
int layer_id, |
int source_frame_number, |
- bool can_use_lcd_text); |
+ bool can_use_lcd_text, |
+ bool use_gpu_rasterizer); |
nduca
2013/12/02 19:50:17
this is unreadable in the call sites. new Tile (..
slavi
2013/12/04 02:06:50
Done.
|
~Tile(); |
ManagedTileState& managed_state() { return managed_state_; } |
@@ -140,6 +145,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
int layer_id_; |
int source_frame_number_; |
bool can_use_lcd_text_; |
+ bool use_gpu_rasterizer_; |
Id id_; |
static Id s_next_id_; |