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

Side by Side Diff: cc/layer_tree_host.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. 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
« no previous file with comments | « ash/wm/window_animations.cc ('k') | cc/layer_tree_host.cc » ('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 CCLayerTreeHost_h 5 #ifndef CCLayerTreeHost_h
6 #define CCLayerTreeHost_h 6 #define CCLayerTreeHost_h
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "IntRect.h" 10 #include "IntRect.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void composite(); 136 void composite();
137 void scheduleComposite(); 137 void scheduleComposite();
138 138
139 // Composites and attempts to read back the result into the provided 139 // Composites and attempts to read back the result into the provided
140 // buffer. If it wasn't possible, e.g. due to context lost, will return 140 // buffer. If it wasn't possible, e.g. due to context lost, will return
141 // false. 141 // false.
142 bool compositeAndReadback(void *pixels, const IntRect&); 142 bool compositeAndReadback(void *pixels, const IntRect&);
143 143
144 void finishAllRendering(); 144 void finishAllRendering();
145 145
146 void setDeferCommits(bool deferCommits);
147
148 // Test only hook
149 virtual void didDeferCommit();
150
146 int commitNumber() const { return m_commitNumber; } 151 int commitNumber() const { return m_commitNumber; }
147 152
148 void renderingStats(RenderingStats*) const; 153 void renderingStats(RenderingStats*) const;
149 154
150 const RendererCapabilities& rendererCapabilities() const; 155 const RendererCapabilities& rendererCapabilities() const;
151 156
152 // Test only hook 157 // Test only hook
153 void loseContext(int numTimes); 158 void loseContext(int numTimes);
154 159
155 void setNeedsAnimate(); 160 void setNeedsAnimate();
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 size_t m_partialTextureUpdateRequests; 280 size_t m_partialTextureUpdateRequests;
276 281
277 static bool s_needsFilterContext; 282 static bool s_needsFilterContext;
278 283
279 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 284 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
280 }; 285 };
281 286
282 } // namespace cc 287 } // namespace cc
283 288
284 #endif 289 #endif
OLDNEW
« no previous file with comments | « ash/wm/window_animations.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698