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

Side by Side Diff: cc/quad_culler.cc

Issue 11225040: cc: Remove CC*.h temporary includes, part 5/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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/overdraw_metrics.cc ('k') | cc/quad_culler_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/quad_culler.h" 7 #include "cc/quad_culler.h"
8 8
9 #include "CCAppendQuadsData.h" 9 #include "CCAppendQuadsData.h"
10 #include "CCDebugBorderDrawQuad.h" 10 #include "CCDebugBorderDrawQuad.h"
11 #include "CCLayerImpl.h"
12 #include "Region.h" 11 #include "Region.h"
12 #include "cc/layer_impl.h"
13 #include "cc/occlusion_tracker.h" 13 #include "cc/occlusion_tracker.h"
14 #include "cc/overdraw_metrics.h" 14 #include "cc/overdraw_metrics.h"
15 #include "cc/render_pass.h" 15 #include "cc/render_pass.h"
16 #include "third_party/skia/include/core/SkColor.h" 16 #include "third_party/skia/include/core/SkColor.h"
17 #include <public/WebTransformationMatrix.h> 17 #include <public/WebTransformationMatrix.h>
18 18
19 using namespace std; 19 using namespace std;
20 20
21 namespace cc { 21 namespace cc {
22 22
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 culledRect = m_occlusionTracker->unoccludedContributingSurfaceContentRec t(m_layer, false, cc::IntRect(drawQuad->quadRect()), &hasOcclusionFromOutsideTar getSurface); 82 culledRect = m_occlusionTracker->unoccludedContributingSurfaceContentRec t(m_layer, false, cc::IntRect(drawQuad->quadRect()), &hasOcclusionFromOutsideTar getSurface);
83 else 83 else
84 culledRect = m_occlusionTracker->unoccludedContentRect(m_layer, cc::IntR ect(drawQuad->quadRect()), &hasOcclusionFromOutsideTargetSurface); 84 culledRect = m_occlusionTracker->unoccludedContentRect(m_layer, cc::IntR ect(drawQuad->quadRect()), &hasOcclusionFromOutsideTargetSurface);
85 85
86 appendQuadsData.hadOcclusionFromOutsideTargetSurface |= hasOcclusionFromOuts ideTargetSurface; 86 appendQuadsData.hadOcclusionFromOutsideTargetSurface |= hasOcclusionFromOuts ideTargetSurface;
87 87
88 return appendQuadInternal(drawQuad.Pass(), culledRect, m_quadList, *m_occlus ionTracker, m_showCullingWithDebugBorderQuads); 88 return appendQuadInternal(drawQuad.Pass(), culledRect, m_quadList, *m_occlus ionTracker, m_showCullingWithDebugBorderQuads);
89 } 89 }
90 90
91 } // namespace cc 91 } // namespace cc
OLDNEW
« no previous file with comments | « cc/overdraw_metrics.cc ('k') | cc/quad_culler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698