OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 CCLayerTreeHostImpl_h | 5 #ifndef CCLayerTreeHostImpl_h |
6 #define CCLayerTreeHostImpl_h | 6 #define CCLayerTreeHostImpl_h |
7 | 7 |
8 #include "CCAnimationEvents.h" | 8 #include "CCAnimationEvents.h" |
9 #include "CCInputHandler.h" | 9 #include "CCInputHandler.h" |
10 #include "CCLayerSorter.h" | 10 #include "CCLayerSorter.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 FrameData(); | 69 FrameData(); |
70 ~FrameData(); | 70 ~FrameData(); |
71 | 71 |
72 Vector<IntRect> occludingScreenSpaceRects; | 72 Vector<IntRect> occludingScreenSpaceRects; |
73 CCRenderPassList renderPasses; | 73 CCRenderPassList renderPasses; |
74 CCRenderPassIdHashMap renderPassesById; | 74 CCRenderPassIdHashMap renderPassesById; |
75 CCLayerList* renderSurfaceLayerList; | 75 CCLayerList* renderSurfaceLayerList; |
76 CCLayerList willDrawLayers; | 76 CCLayerList willDrawLayers; |
77 | 77 |
78 // CCRenderPassSink implementation. | 78 // CCRenderPassSink implementation. |
79 virtual void appendRenderPass(PassOwnPtr<CCRenderPass>) OVERRIDE; | 79 virtual void appendRenderPass(scoped_ptr<CCRenderPass>) OVERRIDE; |
80 }; | 80 }; |
81 | 81 |
82 // Virtual for testing. | 82 // Virtual for testing. |
83 virtual void beginCommit(); | 83 virtual void beginCommit(); |
84 virtual void commitComplete(); | 84 virtual void commitComplete(); |
85 virtual void animate(double monotonicTime, double wallClockTime); | 85 virtual void animate(double monotonicTime, double wallClockTime); |
86 | 86 |
87 // Returns false if problems occured preparing the frame, and we should try | 87 // Returns false if problems occured preparing the frame, and we should try |
88 // to avoid displaying the frame. If prepareToDraw is called, | 88 // to avoid displaying the frame. If prepareToDraw is called, |
89 // didDrawAllLayers must also be called, regardless of whether drawLayers is | 89 // didDrawAllLayers must also be called, regardless of whether drawLayers is |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // rendering and input event hit testing. | 291 // rendering and input event hit testing. |
292 CCLayerList m_renderSurfaceLayerList; | 292 CCLayerList m_renderSurfaceLayerList; |
293 | 293 |
294 OwnPtr<CCFrameRateCounter> m_fpsCounter; | 294 OwnPtr<CCFrameRateCounter> m_fpsCounter; |
295 OwnPtr<CCDebugRectHistory> m_debugRectHistory; | 295 OwnPtr<CCDebugRectHistory> m_debugRectHistory; |
296 }; | 296 }; |
297 | 297 |
298 }; | 298 }; |
299 | 299 |
300 #endif | 300 #endif |
OLD | NEW |