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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 11821015: cc: Use the size of the source frame along with the source frame's renderpasses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add displaySize() Created 7 years, 11 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
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index e15c28890f321b4a9ffae64bc54823541e280fb6..90aff12eb8626c9408810e48224abd95ada3df91 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -535,6 +535,7 @@ bool LayerTreeHostImpl::calculateRenderPasses(FrameData& frame)
!= frame.renderPassesById.end());
}
#endif
+ DCHECK(frame.renderPasses.back()->output_rect.origin().IsOrigin());
if (!activeTree()->has_transparent_background()) {
frame.renderPasses.back()->has_transparent_background = false;
« cc/delegated_renderer_layer_impl.cc ('K') | « cc/delegated_renderer_layer_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698