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

Side by Side Diff: cc/damage_tracker.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "cc/damage_tracker.h" 5 #include "cc/damage_tracker.h"
6 6
7 #include "cc/base/math_util.h"
7 #include "cc/layer_impl.h" 8 #include "cc/layer_impl.h"
8 #include "cc/layer_tree_host_common.h" 9 #include "cc/layer_tree_host_common.h"
9 #include "cc/math_util.h"
10 #include "cc/render_surface_impl.h" 10 #include "cc/render_surface_impl.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations .h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations .h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 scoped_ptr<DamageTracker> DamageTracker::Create() { 15 scoped_ptr<DamageTracker> DamageTracker::Create() {
16 return make_scoped_ptr(new DamageTracker()); 16 return make_scoped_ptr(new DamageTracker());
17 } 17 }
18 18
19 DamageTracker::DamageTracker() 19 DamageTracker::DamageTracker()
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // one in them. This means we need to redraw any pixels in the surface being 384 // one in them. This means we need to redraw any pixels in the surface being
385 // used for the blur in this layer this frame. 385 // used for the blur in this layer this frame.
386 if (layer->background_filters().hasFilterThatMovesPixels()) { 386 if (layer->background_filters().hasFilterThatMovesPixels()) {
387 ExpandDamageRectInsideRectWithFilters(target_damage_rect, 387 ExpandDamageRectInsideRectWithFilters(target_damage_rect,
388 surface_rect_in_target_space, 388 surface_rect_in_target_space,
389 layer->background_filters()); 389 layer->background_filters());
390 } 390 }
391 } 391 }
392 392
393 } // namespace cc 393 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/damage_tracker.h ('k') | cc/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698