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

Side by Side Diff: cc/CCOcclusionTracker.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/CCMathUtilTest.cpp ('k') | cc/CCOcclusionTracker.cpp » ('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 #ifndef CCOcclusionTracker_h 5 #ifndef CCOcclusionTracker_h
6 #define CCOcclusionTracker_h 6 #define CCOcclusionTracker_h
7 7
8 #include "CCLayerIterator.h" 8 #include "CCLayerIterator.h"
9 #include "FloatQuad.h" 9 #include "FloatQuad.h"
10 #include "Region.h" 10 #include "Region.h"
11 11
12 namespace WebCore { 12 namespace cc {
13 class CCOverdrawMetrics; 13 class CCOverdrawMetrics;
14 class CCLayerImpl; 14 class CCLayerImpl;
15 class CCRenderSurface; 15 class CCRenderSurface;
16 class LayerChromium; 16 class LayerChromium;
17 class RenderSurfaceChromium; 17 class RenderSurfaceChromium;
18 18
19 // This class is used to track occlusion of layers while traversing them in a fr ont-to-back order. As each layer is visited, one of the 19 // This class is used to track occlusion of layers while traversing them in a fr ont-to-back order. As each layer is visited, one of the
20 // methods in this class is called to notify it about the current target surface . 20 // methods in this class is called to notify it about the current target surface .
21 // Then, occlusion in the content space of the current layer may be queried, via methods such as occluded() and unoccludedContentRect(). 21 // Then, occlusion in the content space of the current layer may be queried, via methods such as occluded() and unoccludedContentRect().
22 // If the current layer owns a RenderSurface, then occlusion on that RenderSurfa ce may also be queried via surfaceOccluded() and surfaceUnoccludedContentRect(). 22 // If the current layer owns a RenderSurface, then occlusion on that RenderSurfa ce may also be queried via surfaceOccluded() and surfaceUnoccludedContentRect().
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // This is used for visualizing the occlusion tracking process. 95 // This is used for visualizing the occlusion tracking process.
96 Vector<IntRect>* m_occludingScreenSpaceRects; 96 Vector<IntRect>* m_occludingScreenSpaceRects;
97 }; 97 };
98 98
99 typedef CCOcclusionTrackerBase<LayerChromium, RenderSurfaceChromium> CCOcclusion Tracker; 99 typedef CCOcclusionTrackerBase<LayerChromium, RenderSurfaceChromium> CCOcclusion Tracker;
100 typedef CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface> CCOcclusionTrackerI mpl; 100 typedef CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface> CCOcclusionTrackerI mpl;
101 101
102 } 102 }
103 #endif // CCOcclusionTracker_h 103 #endif // CCOcclusionTracker_h
OLDNEW
« no previous file with comments | « cc/CCMathUtilTest.cpp ('k') | cc/CCOcclusionTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698