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

Unified Diff: cc/quads/tile_draw_quad.h

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 7 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/quads/picture_draw_quad.cc ('k') | cc/quads/tile_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/tile_draw_quad.h
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index e39a281aa8462c1d92cc683f72286937d1582f32..25957f6827cba0b325fbc481e1804183e93b3561 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -5,18 +5,14 @@
#ifndef CC_QUADS_TILE_DRAW_QUAD_H_
#define CC_QUADS_TILE_DRAW_QUAD_H_
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/quads/draw_quad.h"
-#include "third_party/khronos/GLES2/gl2.h"
-#include "ui/gfx/point.h"
-#include "ui/gfx/size.h"
+#include "cc/quads/content_draw_quad_base.h"
namespace cc {
-class CC_EXPORT TileDrawQuad : public DrawQuad {
+class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
public:
static scoped_ptr<TileDrawQuad> Create();
+ virtual ~TileDrawQuad();
void SetNew(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -37,9 +33,6 @@ class CC_EXPORT TileDrawQuad : public DrawQuad {
bool swizzle_contents);
unsigned resource_id;
- gfx::RectF tex_coord_rect;
- gfx::Size texture_size;
- bool swizzle_contents;
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
« no previous file with comments | « cc/quads/picture_draw_quad.cc ('k') | cc/quads/tile_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698