summaryrefslogtreecommitdiffstats
path: root/cc/quads/draw_quad.cc
diff options
context:
space:
mode:
authorleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 17:43:16 +0000
committerleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 17:43:16 +0000
commit9ee4d3a2fdc6accd37343d148e5c5149c1b7d045 (patch)
treeaaf3ae0b3ec39f4c361e05a96af2856d0365ccea /cc/quads/draw_quad.cc
parent22b332e314c574e899c34c4e9ef3dbcbaea5582e (diff)
downloadchromium_src-9ee4d3a2fdc6accd37343d148e5c5149c1b7d045.zip
chromium_src-9ee4d3a2fdc6accd37343d148e5c5149c1b7d045.tar.gz
chromium_src-9ee4d3a2fdc6accd37343d148e5c5149c1b7d045.tar.bz2
Implement on demand quad rasterization for PicturePiles.
BUG=173011 Review URL: https://chromiumcodereview.appspot.com/12642010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/quads/draw_quad.cc')
-rw-r--r--cc/quads/draw_quad.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/quads/draw_quad.cc b/cc/quads/draw_quad.cc
index 0250481..6c8d9b6 100644
--- a/cc/quads/draw_quad.cc
+++ b/cc/quads/draw_quad.cc
@@ -8,6 +8,7 @@
#include "cc/quads/checkerboard_draw_quad.h"
#include "cc/quads/debug_border_draw_quad.h"
#include "cc/quads/io_surface_draw_quad.h"
+#include "cc/quads/picture_draw_quad.h"
#include "cc/quads/render_pass_draw_quad.h"
#include "cc/quads/solid_color_draw_quad.h"
#include "cc/quads/stream_video_draw_quad.h"
@@ -62,6 +63,9 @@ scoped_ptr<DrawQuad> DrawQuad::Copy(
case IO_SURFACE_CONTENT:
copy_quad.reset(TypedCopy<IOSurfaceDrawQuad>(this));
break;
+ case PICTURE_CONTENT:
+ copy_quad.reset(TypedCopy<PictureDrawQuad>(this));
+ break;
case TEXTURE_CONTENT:
copy_quad.reset(TypedCopy<TextureDrawQuad>(this));
break;