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

Unified Diff: content/common/cc_messages.cc

Issue 197223003: Start of hardware overlay support in CC with Ubercompositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/surfaces/surface_aggregator.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index fef8ebcd4603893f7c79c89086fec777df23afe2..2c6370efc731ea6e45292ebb193ba9a43acdc668 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -285,6 +285,7 @@ void ParamTraits<gfx::Transform>::Log(
void ParamTraits<cc::RenderPass>::Write(
Message* m, const param_type& p) {
+ DCHECK(p.overlay_state == cc::RenderPass::NO_OVERLAY);
WriteParam(m, p.id);
WriteParam(m, p.output_rect);
WriteParam(m, p.damage_rect);
@@ -421,7 +422,8 @@ bool ParamTraits<cc::RenderPass>::Read(
output_rect,
damage_rect,
transform_to_root_target,
- has_transparent_background);
+ has_transparent_background,
+ cc::RenderPass::NO_OVERLAY);
size_t last_shared_quad_state_index = kuint32max;
for (size_t i = 0; i < quad_list_size; ++i) {
« no previous file with comments | « cc/surfaces/surface_aggregator.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698