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

Unified Diff: cc/resources/tile.cc

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.cc
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc
index b4cce563dfc6909517ae57c1d5ab97177f2cc548..4e26b0b43707fb281868c80a7089edcf0f1eabab 100644
--- a/cc/resources/tile.cc
+++ b/cc/resources/tile.cc
@@ -21,7 +21,8 @@ Tile::Tile(TileManager* tile_manager,
float contents_scale,
int layer_id,
int source_frame_number,
- bool can_use_lcd_text)
+ bool can_use_lcd_text,
+ bool use_gpu_rasterizer)
: RefCountedManaged<Tile>(tile_manager),
tile_manager_(tile_manager),
tile_size_(tile_size),
@@ -31,6 +32,7 @@ Tile::Tile(TileManager* tile_manager,
layer_id_(layer_id),
source_frame_number_(source_frame_number),
can_use_lcd_text_(can_use_lcd_text),
+ use_gpu_rasterizer_(use_gpu_rasterizer),
id_(s_next_id_++) {
set_picture_pile(picture_pile);
}

Powered by Google App Engine
This is Rietveld 408576698