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

Side by Side Diff: cc/layers/layer_iterator.cc

Issue 12603013: Part 10 of cc/ directory shuffles: layers (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
« no previous file with comments | « cc/layers/layer_iterator.h ('k') | cc/layers/layer_iterator_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 "cc/layer_iterator.h" 5 #include "cc/layers/layer_iterator.h"
6 6
7 #include "cc/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/layer_impl.h" 8 #include "cc/layers/layer_impl.h"
9 #include "cc/render_surface.h" 9 #include "cc/layers/render_surface.h"
10 #include "cc/render_surface_impl.h" 10 #include "cc/layers/render_surface_impl.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty pename ActionType> 14 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty pename ActionType>
15 void LayerIteratorActions::BackToFront::begin(LayerIterator<LayerType, LayerList , RenderSurfaceType, ActionType>& it) 15 void LayerIteratorActions::BackToFront::begin(LayerIterator<LayerType, LayerList , RenderSurfaceType, ActionType>& it)
16 { 16 {
17 it.m_targetRenderSurfaceLayerIndex = 0; 17 it.m_targetRenderSurfaceLayerIndex = 0;
18 it.m_currentLayerIndex = LayerIteratorValue::LayerIndexRepresentingTargetRen derSurface; 18 it.m_currentLayerIndex = LayerIteratorValue::LayerIndexRepresentingTargetRen derSurface;
19 19
20 m_highestTargetRenderSurfaceLayer = 0; 20 m_highestTargetRenderSurfaceLayer = 0;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 template CC_EXPORT void LayerIteratorActions::FrontToBack::end(LayerIterator<Lay er, LayerList, RenderSurface, FrontToBack>&); 138 template CC_EXPORT void LayerIteratorActions::FrontToBack::end(LayerIterator<Lay er, LayerList, RenderSurface, FrontToBack>&);
139 template CC_EXPORT void LayerIteratorActions::FrontToBack::begin(LayerIterator<L ayer, LayerList, RenderSurface, FrontToBack>&); 139 template CC_EXPORT void LayerIteratorActions::FrontToBack::begin(LayerIterator<L ayer, LayerList, RenderSurface, FrontToBack>&);
140 template CC_EXPORT void LayerIteratorActions::FrontToBack::goToHighestInSubtree( LayerIterator<Layer, LayerList, RenderSurface, FrontToBack>&); 140 template CC_EXPORT void LayerIteratorActions::FrontToBack::goToHighestInSubtree( LayerIterator<Layer, LayerList, RenderSurface, FrontToBack>&);
141 141
142 template CC_EXPORT void LayerIteratorActions::FrontToBack::next(LayerIterator<La yerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&); 142 template CC_EXPORT void LayerIteratorActions::FrontToBack::next(LayerIterator<La yerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&);
143 template CC_EXPORT void LayerIteratorActions::FrontToBack::end(LayerIterator<Lay erImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&); 143 template CC_EXPORT void LayerIteratorActions::FrontToBack::end(LayerIterator<Lay erImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&);
144 template CC_EXPORT void LayerIteratorActions::FrontToBack::begin(LayerIterator<L ayerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&); 144 template CC_EXPORT void LayerIteratorActions::FrontToBack::begin(LayerIterator<L ayerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&);
145 template CC_EXPORT void LayerIteratorActions::FrontToBack::goToHighestInSubtree( LayerIterator<LayerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&); 145 template CC_EXPORT void LayerIteratorActions::FrontToBack::goToHighestInSubtree( LayerIterator<LayerImpl, LayerImplList, RenderSurfaceImpl, FrontToBack>&);
146 146
147 } // namespace cc 147 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer_iterator.h ('k') | cc/layers/layer_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698