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

Unified Diff: cc/test/fake_picture_layer.h

Issue 2828353003: Determine mask UVs based on texture size (Closed)
Patch Set: nit Created 3 years, 7 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
« no previous file with comments | « cc/test/fake_mask_layer_impl.cc ('k') | cc/test/fake_picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer.h
diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h
index d3df07b435ac06b824717b0ee6c6870dc17119f7..1ae27b71e8153b7ce621260b920cead0a2ccf050 100644
--- a/cc/test/fake_picture_layer.h
+++ b/cc/test/fake_picture_layer.h
@@ -42,6 +42,10 @@ class FakePictureLayer : public PictureLayer {
force_unsuitable_for_gpu_rasterization_ = flag;
}
+ void set_fixed_tile_size(gfx::Size fixed_tile_size) {
+ fixed_tile_size_ = fixed_tile_size;
+ }
+
private:
explicit FakePictureLayer(ContentLayerClient* client);
FakePictureLayer(ContentLayerClient* client,
@@ -52,6 +56,7 @@ class FakePictureLayer : public PictureLayer {
bool always_update_resources_;
bool force_unsuitable_for_gpu_rasterization_;
+ gfx::Size fixed_tile_size_;
};
} // namespace cc
« no previous file with comments | « cc/test/fake_mask_layer_impl.cc ('k') | cc/test/fake_picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698