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

Side by Side Diff: cc/single_thread_proxy.cc

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jamesr@ 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 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/single_thread_proxy.h" 7 #include "cc/single_thread_proxy.h"
8 8
9 #include "CCDrawQuad.h" 9 #include "CCDrawQuad.h"
10 #include "CCGraphicsContext.h" 10 #include "CCGraphicsContext.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 225
226 void SingleThreadProxy::setNeedsRedraw() 226 void SingleThreadProxy::setNeedsRedraw()
227 { 227 {
228 // FIXME: Once we move render_widget scheduling into this class, we can 228 // FIXME: Once we move render_widget scheduling into this class, we can
229 // treat redraw requests more efficiently than commitAndRedraw requests. 229 // treat redraw requests more efficiently than commitAndRedraw requests.
230 m_layerTreeHostImpl->setFullRootLayerDamage(); 230 m_layerTreeHostImpl->setFullRootLayerDamage();
231 setNeedsCommit(); 231 setNeedsCommit();
232 } 232 }
233 233
234 void SingleThreadProxy::setDeferCommits(bool /* deferCommits */)
jamesr 2012/10/24 19:34:27 I can't find anything in the chromium or google st
jonathan.backer 2012/10/24 21:29:38 Done.
235 {
236 // Thread-only feature.
237 NOTREACHED();
238 }
239
234 bool SingleThreadProxy::commitRequested() const 240 bool SingleThreadProxy::commitRequested() const
235 { 241 {
236 return false; 242 return false;
237 } 243 }
238 244
239 void SingleThreadProxy::didAddAnimation() 245 void SingleThreadProxy::didAddAnimation()
240 { 246 {
241 } 247 }
242 248
243 size_t SingleThreadProxy::maxPartialTextureUpdates() const 249 size_t SingleThreadProxy::maxPartialTextureUpdates() const
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 379
374 void SingleThreadProxy::didSwapFrame() 380 void SingleThreadProxy::didSwapFrame()
375 { 381 {
376 if (m_nextFrameIsNewlyCommittedFrame) { 382 if (m_nextFrameIsNewlyCommittedFrame) {
377 m_nextFrameIsNewlyCommittedFrame = false; 383 m_nextFrameIsNewlyCommittedFrame = false;
378 m_layerTreeHost->didCommitAndDrawFrame(); 384 m_layerTreeHost->didCommitAndDrawFrame();
379 } 385 }
380 } 386 }
381 387
382 } 388 }
OLDNEW
« cc/layer_tree_host.cc ('K') | « cc/single_thread_proxy.h ('k') | cc/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698