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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10979010: Remove WTF HashMap and PassOwnPtr dependencies for CCRenderPass (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/CCDirectRenderer.cpp ('k') | cc/CCLayerTreeHostImpl.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 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
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
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
OLDNEW
« no previous file with comments | « cc/CCDirectRenderer.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698