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

Unified Diff: cc/quads/picture_draw_quad.h

Issue 1405883002: cc: Remove the base RasterSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge more Created 5 years, 2 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/quads/draw_quad_unittest.cc ('k') | cc/quads/picture_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/picture_draw_quad.h
diff --git a/cc/quads/picture_draw_quad.h b/cc/quads/picture_draw_quad.h
index 9a01a9be029ae0851870bac8a1382e70e15e7ffc..93140eb4c195a86e7632a47335d7101dd9f70456 100644
--- a/cc/quads/picture_draw_quad.h
+++ b/cc/quads/picture_draw_quad.h
@@ -8,7 +8,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
-#include "cc/playback/raster_source.h"
+#include "cc/playback/display_list_raster_source.h"
#include "cc/quads/content_draw_quad_base.h"
#include "cc/resources/resource_provider.h"
#include "ui/gfx/geometry/rect.h"
@@ -33,7 +33,7 @@ class CC_EXPORT PictureDrawQuad : public ContentDrawQuadBase {
ResourceFormat texture_format,
const gfx::Rect& content_rect,
float contents_scale,
- scoped_refptr<RasterSource> raster_source);
+ scoped_refptr<DisplayListRasterSource> raster_source);
void SetAll(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
@@ -46,11 +46,11 @@ class CC_EXPORT PictureDrawQuad : public ContentDrawQuadBase {
ResourceFormat texture_format,
const gfx::Rect& content_rect,
float contents_scale,
- scoped_refptr<RasterSource> raster_source);
+ scoped_refptr<DisplayListRasterSource> raster_source);
gfx::Rect content_rect;
float contents_scale;
- scoped_refptr<RasterSource> raster_source;
+ scoped_refptr<DisplayListRasterSource> raster_source;
ResourceFormat texture_format;
static const PictureDrawQuad* MaterialCast(const DrawQuad* quad);
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/picture_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698