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

Side by Side Diff: cc/CCSingleThreadProxy.h

Issue 10950008: cc: Remove CCTextureUpdateController::updateTextures(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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 | « no previous file | cc/CCSingleThreadProxy.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 CCSingleThreadProxy_h 5 #ifndef CCSingleThreadProxy_h
6 #define CCSingleThreadProxy_h 6 #define CCSingleThreadProxy_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCLayerTreeHostImpl.h" 9 #include "CCLayerTreeHostImpl.h"
10 #include "CCProxy.h" 10 #include "CCProxy.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimat ionEventsVector>, double wallClockTime) OVERRIDE; 54 virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimat ionEventsVector>, double wallClockTime) OVERRIDE;
55 virtual void releaseContentsTexturesOnImplThread() OVERRIDE; 55 virtual void releaseContentsTexturesOnImplThread() OVERRIDE;
56 56
57 // Called by the legacy path where RenderWidget does the scheduling. 57 // Called by the legacy path where RenderWidget does the scheduling.
58 void compositeImmediately(); 58 void compositeImmediately();
59 59
60 private: 60 private:
61 explicit CCSingleThreadProxy(CCLayerTreeHost*); 61 explicit CCSingleThreadProxy(CCLayerTreeHost*);
62 62
63 bool commitAndComposite(); 63 bool commitAndComposite();
64 void doCommit(CCTextureUpdateQueue&); 64 void doCommit(PassOwnPtr<CCTextureUpdateQueue>);
65 bool doComposite(); 65 bool doComposite();
66 void didSwapFrame(); 66 void didSwapFrame();
67 67
68 // Accessed on main thread only. 68 // Accessed on main thread only.
69 CCLayerTreeHost* m_layerTreeHost; 69 CCLayerTreeHost* m_layerTreeHost;
70 bool m_contextLost; 70 bool m_contextLost;
71 71
72 // Holds on to the context between initializeContext() and initializeRendere r() calls. Shouldn't 72 // Holds on to the context between initializeContext() and initializeRendere r() calls. Shouldn't
73 // be used for anything else. 73 // be used for anything else.
74 OwnPtr<CCGraphicsContext> m_contextBeforeInitialization; 74 OwnPtr<CCGraphicsContext> m_contextBeforeInitialization;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // satisfy assertion checks 122 // satisfy assertion checks
123 class DebugScopedSetImplThreadAndMainThreadBlocked { 123 class DebugScopedSetImplThreadAndMainThreadBlocked {
124 private: 124 private:
125 DebugScopedSetImplThread m_implThread; 125 DebugScopedSetImplThread m_implThread;
126 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; 126 DebugScopedSetMainThreadBlocked m_mainThreadBlocked;
127 }; 127 };
128 128
129 } // namespace cc 129 } // namespace cc
130 130
131 #endif 131 #endif
OLDNEW
« no previous file with comments | « no previous file | cc/CCSingleThreadProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698