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

Unified Diff: content/common/cc_messages.cc

Issue 11618026: Move filters to RenderPassDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | « content/common/cc_messages.h ('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 f141d4dfe602f3d5deba605719890af6018758ad..90ca25091baf7b7564757cb1687d75c60fc15011 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -295,9 +295,6 @@ void ParamTraits<cc::RenderPass>::Write(
WriteParam(m, p.transform_to_root_target);
WriteParam(m, p.has_transparent_background);
WriteParam(m, p.has_occlusion_from_outside_target_surface);
- WriteParam(m, p.filters);
- // TODO(danakj): filter isn't being serialized.
- WriteParam(m, p.background_filters);
WriteParam(m, p.shared_quad_state_list.size());
WriteParam(m, p.quad_list.size());
@@ -387,9 +384,6 @@ bool ParamTraits<cc::RenderPass>::Read(
gfx::Transform transform_to_root_target;
bool has_transparent_background;
bool has_occlusion_from_outside_target_surface;
- WebKit::WebFilterOperations filters;
- skia::RefPtr<SkImageFilter> filter;
- WebKit::WebFilterOperations background_filters;
size_t shared_quad_state_list_size;
size_t quad_list_size;
@@ -399,8 +393,6 @@ bool ParamTraits<cc::RenderPass>::Read(
!ReadParam(m, iter, &transform_to_root_target) ||
!ReadParam(m, iter, &has_transparent_background) ||
!ReadParam(m, iter, &has_occlusion_from_outside_target_surface) ||
- !ReadParam(m, iter, &filters) ||
- !ReadParam(m, iter, &background_filters) ||
!ReadParam(m, iter, &shared_quad_state_list_size) ||
!ReadParam(m, iter, &quad_list_size))
return false;
@@ -410,10 +402,7 @@ bool ParamTraits<cc::RenderPass>::Read(
damage_rect,
transform_to_root_target,
has_transparent_background,
- has_occlusion_from_outside_target_surface,
- filters,
- filter, // TODO(danakj): filter isn't being serialized.
- background_filters);
+ has_occlusion_from_outside_target_surface);
for (size_t i = 0; i < shared_quad_state_list_size; ++i) {
scoped_ptr<cc::SharedQuadState> state(cc::SharedQuadState::Create());
@@ -497,11 +486,6 @@ void ParamTraits<cc::RenderPass>::Log(
l->append(", ");
LogParam(p.has_occlusion_from_outside_target_surface, l);
l->append(", ");
- LogParam(p.filters, l);
- l->append(", ");
- // TODO(danakj): filter isn't being serialized.
- LogParam(p.background_filters, l);
- l->append(", ");
l->append("[");
for (size_t i = 0; i < p.shared_quad_state_list.size(); ++i) {
« no previous file with comments | « content/common/cc_messages.h ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698