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

Unified Diff: cc/raster/raster_buffer.h

Issue 2563743004: [3/5] Add translated rasterization support for RasterBuffer & below (Closed)
Patch Set: rebase & fix last nits Created 3 years, 9 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/raster/one_copy_raster_buffer_provider.cc ('k') | cc/raster/raster_buffer_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_buffer.h
diff --git a/cc/raster/raster_buffer.h b/cc/raster/raster_buffer.h
index d045a701f6eaf55bb7c07914400783587d068a81..0de76b350c29083daee4d920ce9422e308ebb23c 100644
--- a/cc/raster/raster_buffer.h
+++ b/cc/raster/raster_buffer.h
@@ -11,6 +11,10 @@
#include "cc/raster/raster_source.h"
#include "ui/gfx/geometry/rect.h"
+namespace gfx {
+class AxisTransform2d;
+} // namespace gfx
+
namespace cc {
class CC_EXPORT RasterBuffer {
@@ -23,7 +27,7 @@ class CC_EXPORT RasterBuffer {
const gfx::Rect& raster_full_rect,
const gfx::Rect& raster_dirty_rect,
uint64_t new_content_id,
- float scale,
+ const gfx::AxisTransform2d& transform,
const RasterSource::PlaybackSettings& playback_settings) = 0;
};
« no previous file with comments | « cc/raster/one_copy_raster_buffer_provider.cc ('k') | cc/raster/raster_buffer_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698