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

Side by Side Diff: cc/damage_tracker.cc

Issue 11228059: cc: Remove CC*.h temporary includes, part 6/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase - fix conflicts Created 8 years, 2 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
« no previous file with comments | « cc/checkerboard_draw_quad.cc ('k') | cc/damage_tracker_unittest.cc » ('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 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 "config.h" 5 #include "config.h"
6 6
7 #include "CCDamageTracker.h" 7 #include "cc/damage_tracker.h"
8 8
9 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
10 #include "cc/layer_tree_host_common.h" 10 #include "cc/layer_tree_host_common.h"
11 #include "cc/math_util.h" 11 #include "cc/math_util.h"
12 #include "cc/render_surface_impl.h" 12 #include "cc/render_surface_impl.h"
13 #include <public/WebFilterOperations.h> 13 #include <public/WebFilterOperations.h>
14 14
15 using WebKit::WebTransformationMatrix; 15 using WebKit::WebTransformationMatrix;
16 16
17 namespace cc { 17 namespace cc {
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // If the layer has a background filter, this may cause pixels in our surfac e to be expanded, so we will need to expand any damage 342 // If the layer has a background filter, this may cause pixels in our surfac e to be expanded, so we will need to expand any damage
343 // at or below this layer. We expand the damage from this layer too, as we n eed to readback those pixels from the surface with only 343 // at or below this layer. We expand the damage from this layer too, as we n eed to readback those pixels from the surface with only
344 // the contents of layers below this one in them. This means we need to redr aw any pixels in the surface being used for the blur in 344 // the contents of layers below this one in them. This means we need to redr aw any pixels in the surface being used for the blur in
345 // this layer this frame. 345 // this layer this frame.
346 if (layer->backgroundFilters().hasFilterThatMovesPixels()) 346 if (layer->backgroundFilters().hasFilterThatMovesPixels())
347 expandDamageRectInsideRectWithFilters(targetDamageRect, surfaceRectInTar getSpace, layer->backgroundFilters()); 347 expandDamageRectInsideRectWithFilters(targetDamageRect, surfaceRectInTar getSpace, layer->backgroundFilters());
348 } 348 }
349 349
350 } // namespace cc 350 } // namespace cc
351 351
OLDNEW
« no previous file with comments | « cc/checkerboard_draw_quad.cc ('k') | cc/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698