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

Unified Diff: cc/raster/raster_buffer.h

Issue 2175553002: Raster PictureLayerTiling with fractional translation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Raster PictureLayerTiling with fractional translation Created 4 years, 5 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/raster/raster_buffer.h
diff --git a/cc/raster/raster_buffer.h b/cc/raster/raster_buffer.h
index 04972f9d73e11117f81753977b4289ef260c3997..78e9f8b2febc1e5a4fcd6cf3d7f18ceac43c8978 100644
--- a/cc/raster/raster_buffer.h
+++ b/cc/raster/raster_buffer.h
@@ -11,6 +11,10 @@
#include "cc/playback/raster_source.h"
#include "ui/gfx/geometry/rect.h"
+namespace gfx {
+class Vector2dF;
+} // namespace gfx
+
namespace cc {
class CC_EXPORT RasterBuffer {
@@ -24,6 +28,7 @@ class CC_EXPORT RasterBuffer {
const gfx::Rect& raster_dirty_rect,
uint64_t new_content_id,
float scale,
+ const gfx::Vector2dF& translation,
const RasterSource::PlaybackSettings& playback_settings) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698