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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #if USE(ACCELERATED_COMPOSITING) | 7 #if USE(ACCELERATED_COMPOSITING) |
8 | 8 |
9 #include "CCLayerIterator.h" | 9 #include "CCLayerIterator.h" |
10 | 10 |
11 #include "CCLayerImpl.h" | 11 #include "CCLayerImpl.h" |
12 #include "CCRenderSurface.h" | 12 #include "CCRenderSurface.h" |
13 #include "LayerChromium.h" | 13 #include "LayerChromium.h" |
14 #include "RenderSurfaceChromium.h" | 14 #include "RenderSurfaceChromium.h" |
15 | 15 |
16 namespace WebCore { | 16 namespace cc { |
17 | 17 |
18 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty
pename ActionType> | 18 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty
pename ActionType> |
19 void CCLayerIteratorActions::BackToFront::begin(CCLayerIterator<LayerType, Layer
List, RenderSurfaceType, ActionType>& it) | 19 void CCLayerIteratorActions::BackToFront::begin(CCLayerIterator<LayerType, Layer
List, RenderSurfaceType, ActionType>& it) |
20 { | 20 { |
21 it.m_targetRenderSurfaceLayerIndex = 0; | 21 it.m_targetRenderSurfaceLayerIndex = 0; |
22 it.m_currentLayerIndex = CCLayerIteratorValue::LayerIndexRepresentingTargetR
enderSurface; | 22 it.m_currentLayerIndex = CCLayerIteratorValue::LayerIndexRepresentingTargetR
enderSurface; |
23 | 23 |
24 m_highestTargetRenderSurfaceLayer = 0; | 24 m_highestTargetRenderSurfaceLayer = 0; |
25 } | 25 } |
26 | 26 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<LayerChr
omium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); | 138 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<LayerChr
omium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); |
139 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<LayerChro
mium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); | 139 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<LayerChro
mium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); |
140 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<LayerCh
romium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); | 140 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<LayerCh
romium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); |
141 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI
terator<LayerChromium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, Fr
ontToBack>&); | 141 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI
terator<LayerChromium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, Fr
ontToBack>&); |
142 | 142 |
143 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<CCLayerI
mpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); | 143 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<CCLayerI
mpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); |
144 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<CCLayerIm
pl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); | 144 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<CCLayerIm
pl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); |
145 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<CCLayer
Impl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); | 145 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<CCLayer
Impl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); |
146 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI
terator<CCLayerImpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); | 146 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI
terator<CCLayerImpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); |
147 | 147 |
148 } // namespace WebCore | 148 } // namespace cc |
149 | 149 |
150 #endif // USE(ACCELERATED_COMPOSITING) | 150 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |