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

Side by Side Diff: cc/trees/clip_node.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 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 unified diff | Download patch
« no previous file with comments | « cc/test/serialization_test_utils.cc ('k') | cc/trees/compositor_mode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/ptr_util.h" 5 #include "base/memory/ptr_util.h"
6 #include "base/trace_event/trace_event_argument.h" 6 #include "base/trace_event/trace_event_argument.h"
7 #include "cc/base/math_util.h" 7 #include "cc/base/math_util.h"
8 #include "cc/layers/layer.h" 8 #include "cc/layers/layer.h"
9 #include "cc/proto/cc_conversions.h"
10 #include "cc/proto/gfx_conversions.h"
11 #include "cc/trees/clip_node.h" 9 #include "cc/trees/clip_node.h"
12 #include "cc/trees/property_tree.h" 10 #include "cc/trees/property_tree.h"
13 11
14 namespace cc { 12 namespace cc {
15 13
16 ClipNode::ClipNode() 14 ClipNode::ClipNode()
17 : id(ClipTree::kInvalidNodeId), 15 : id(ClipTree::kInvalidNodeId),
18 parent_id(ClipTree::kInvalidNodeId), 16 parent_id(ClipTree::kInvalidNodeId),
19 owning_layer_id(Layer::INVALID_ID), 17 owning_layer_id(Layer::INVALID_ID),
20 clip_type(ClipType::NONE), 18 clip_type(ClipType::NONE),
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 value->SetInteger("target_effect_id", target_effect_id); 111 value->SetInteger("target_effect_id", target_effect_id);
114 value->SetBoolean("layer_clipping_uses_only_local_clip", 112 value->SetBoolean("layer_clipping_uses_only_local_clip",
115 layer_clipping_uses_only_local_clip); 113 layer_clipping_uses_only_local_clip);
116 value->SetBoolean("layers_are_clipped", layers_are_clipped); 114 value->SetBoolean("layers_are_clipped", layers_are_clipped);
117 value->SetBoolean("layers_are_clipped_when_surfaces_disabled", 115 value->SetBoolean("layers_are_clipped_when_surfaces_disabled",
118 layers_are_clipped_when_surfaces_disabled); 116 layers_are_clipped_when_surfaces_disabled);
119 value->SetBoolean("resets_clip", resets_clip); 117 value->SetBoolean("resets_clip", resets_clip);
120 } 118 }
121 119
122 } // namespace cc 120 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/serialization_test_utils.cc ('k') | cc/trees/compositor_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698