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

Unified Diff: cc/quads/picture_draw_quad.cc

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 7 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.h ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/picture_draw_quad.cc
diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc
index 8fda699cf27ed265f79c66f3c8671987fcc35c51..81f79138bb7acf410960fbeef7a8ba4677eacb75 100644
--- a/cc/quads/picture_draw_quad.cc
+++ b/cc/quads/picture_draw_quad.cc
@@ -24,12 +24,14 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
bool swizzle_contents,
gfx::Rect content_rect,
float contents_scale,
+ bool can_draw_direct_to_backbuffer,
scoped_refptr<PicturePileImpl> picture_pile) {
ContentDrawQuadBase::SetNew(shared_quad_state, DrawQuad::PICTURE_CONTENT,
rect, opaque_rect, tex_coord_rect, texture_size,
swizzle_contents);
this->content_rect = content_rect;
this->contents_scale = contents_scale;
+ this->can_draw_direct_to_backbuffer = can_draw_direct_to_backbuffer;
this->picture_pile = picture_pile;
}
@@ -43,6 +45,7 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
bool swizzle_contents,
gfx::Rect content_rect,
float contents_scale,
+ bool can_draw_direct_to_backbuffer,
scoped_refptr<PicturePileImpl> picture_pile) {
ContentDrawQuadBase::SetAll(shared_quad_state,
DrawQuad::PICTURE_CONTENT, rect, opaque_rect,
@@ -50,6 +53,7 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
texture_size, swizzle_contents);
this->content_rect = content_rect;
this->contents_scale = contents_scale;
+ this->can_draw_direct_to_backbuffer = can_draw_direct_to_backbuffer;
this->picture_pile = picture_pile;
}
« no previous file with comments | « cc/quads/picture_draw_quad.h ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698