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

Side by Side Diff: cc/thread_proxy.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address piman@ comments. Created 8 years, 1 month 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
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 CCThreadProxy_h 5 #ifndef CCThreadProxy_h
6 #define CCThreadProxy_h 6 #define CCThreadProxy_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCCompletionEvent.h" 9 #include "CCCompletionEvent.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 27 matching lines...) Expand all
38 virtual void setSurfaceReady() OVERRIDE; 38 virtual void setSurfaceReady() OVERRIDE;
39 virtual void setVisible(bool) OVERRIDE; 39 virtual void setVisible(bool) OVERRIDE;
40 virtual bool initializeRenderer() OVERRIDE; 40 virtual bool initializeRenderer() OVERRIDE;
41 virtual bool recreateContext() OVERRIDE; 41 virtual bool recreateContext() OVERRIDE;
42 virtual void renderingStats(RenderingStats*) OVERRIDE; 42 virtual void renderingStats(RenderingStats*) OVERRIDE;
43 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; 43 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE;
44 virtual void loseContext() OVERRIDE; 44 virtual void loseContext() OVERRIDE;
45 virtual void setNeedsAnimate() OVERRIDE; 45 virtual void setNeedsAnimate() OVERRIDE;
46 virtual void setNeedsCommit() OVERRIDE; 46 virtual void setNeedsCommit() OVERRIDE;
47 virtual void setNeedsRedraw() OVERRIDE; 47 virtual void setNeedsRedraw() OVERRIDE;
48 virtual void setDeferCommits(bool) OVERRIDE;
48 virtual bool commitRequested() const OVERRIDE; 49 virtual bool commitRequested() const OVERRIDE;
49 virtual void didAddAnimation() OVERRIDE { } 50 virtual void didAddAnimation() OVERRIDE { }
50 virtual void start() OVERRIDE; 51 virtual void start() OVERRIDE;
51 virtual void stop() OVERRIDE; 52 virtual void stop() OVERRIDE;
52 virtual size_t maxPartialTextureUpdates() const OVERRIDE; 53 virtual size_t maxPartialTextureUpdates() const OVERRIDE;
53 virtual void acquireLayerTextures() OVERRIDE; 54 virtual void acquireLayerTextures() OVERRIDE;
54 virtual void forceSerializeOnSwapBuffers() OVERRIDE; 55 virtual void forceSerializeOnSwapBuffers() OVERRIDE;
55 56
56 // LayerTreeHostImplClient implementation 57 // LayerTreeHostImplClient implementation
57 virtual void didLoseContextOnImplThread() OVERRIDE; 58 virtual void didLoseContextOnImplThread() OVERRIDE;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 167
167 scoped_ptr<TextureUpdateController> m_currentTextureUpdateControllerOnImplTh read; 168 scoped_ptr<TextureUpdateController> m_currentTextureUpdateControllerOnImplTh read;
168 169
169 // Set when the next draw should post didCommitAndDrawFrame to the main thre ad. 170 // Set when the next draw should post didCommitAndDrawFrame to the main thre ad.
170 bool m_nextFrameIsNewlyCommittedFrameOnImplThread; 171 bool m_nextFrameIsNewlyCommittedFrameOnImplThread;
171 172
172 bool m_renderVSyncEnabled; 173 bool m_renderVSyncEnabled;
173 174
174 base::TimeDelta m_totalCommitTime; 175 base::TimeDelta m_totalCommitTime;
175 size_t m_totalCommitCount; 176 size_t m_totalCommitCount;
177
178 bool m_deferCommits;
179 bool m_deferredCommitPending;
176 }; 180 };
177 181
178 } 182 }
179 183
180 #endif 184 #endif
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | cc/thread_proxy.cc » ('j') | cc/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698