OLD | NEW |
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 Loading... |
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 |
OLD | NEW |