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

Unified Diff: cc/resources/tile.h

Issue 69343005: Added preliminary support for tile rasterization with Ganesh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for tests that pass NULL resource_provider/context_provider. Created 7 years, 1 month 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 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_;

Powered by Google App Engine
This is Rietveld 408576698