Changeset 96185 in webkit
- Timestamp:
- Sep 27, 2011 9:03:24 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r96180 r96185 1 2011-09-27 James Robinson <jamesr@chromium.org> 2 3 [chromium] Only initiate the beginFrameAndCommit sequence if a commit has been requested 4 https://bugs.webkit.org/show_bug.cgi?id=68967 5 6 Reviewed by Kenneth Russell. 7 8 When updating the scheduler state, we should only initiate a new commit flow if a commit has been requested (as 9 opposed to only a redraw). 10 11 Covered by the unit test CCLayerTreeHostTestSetNeedsRedraw with USE(THREADED_COMPOSITING) set to true. 12 13 * platform/graphics/chromium/cc/CCThreadProxy.cpp: 14 (WebCore::CCThreadProxy::updateSchedulerStateOnCCThread): 15 1 16 2011-09-27 Kentaro Hara <haraken@chromium.com> 2 17 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp
r96173 r96185 398 398 // commit request into an actual createBeginFrameAndCommitTaskOnCCThread call. 399 399 m_redrawRequestedOnCCThread |= redrawRequested; 400 if ( !m_beginFrameAndCommitPendingOnCCThread) {400 if (commitRequested && !m_beginFrameAndCommitPendingOnCCThread) { 401 401 CCMainThread::postTask(createBeginFrameAndCommitTaskOnCCThread()); 402 402 return;
Note: See TracChangeset
for help on using the changeset viewer.