RESOLVED FIXED 82534
[Qt][WK2] Sync the layer's state and the layer's children separately
https://bugs.webkit.org/show_bug.cgi?id=82534
Summary [Qt][WK2] Sync the layer's state and the layer's children separately
Noam Rosenthal
Reported 2012-03-28 14:57:17 PDT
[Qt][WK2] Sync the layer's state and the layer's children separately
Attachments
Patch (6.08 KB, patch)
2012-03-28 15:08 PDT, Noam Rosenthal
no flags
Patch (27.83 KB, patch)
2012-03-28 15:13 PDT, Noam Rosenthal
no flags
Patch (27.95 KB, patch)
2012-04-09 10:24 PDT, Noam Rosenthal
no flags
Patch for landing (27.96 KB, patch)
2012-04-09 10:54 PDT, Noam Rosenthal
no flags
Noam Rosenthal
Comment 1 2012-03-28 15:08:19 PDT
Noam Rosenthal
Comment 2 2012-03-28 15:13:46 PDT
Jocelyn Turcotte
Comment 3 2012-03-29 05:06:53 PDT
Comment on attachment 134419 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134419&action=review > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:431 > +void WebGraphicsLayer::syncImageBackingStore() sync isn't quite right, check? recreate? ensure? > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:435 > + if (!m_image) > + return; > + if (!m_layerInfo.imageBackingStoreID) if (m_image && !m_layerInfo.imageBackingStoreID) ? Otherwise, LGTM!
Kenneth Rohde Christiansen
Comment 4 2012-04-03 07:24:52 PDT
Comment on attachment 134419 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134419&action=review > Source/WebKit2/ChangeLog:11 > + We also don't serialize the name, and serialize the children in a separate > + function, and only when the children have actually changed. This is hard to understand > Source/WebKit2/UIProcess/WebLayerTreeRenderer.cpp:180 > + LayerMap::iterator it = m_layers.find(id); ASSERT it != notFound? >> Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:431 >> +void WebGraphicsLayer::syncImageBackingStore() > > sync isn't quite right, check? recreate? ensure? ensure sounds fine
Noam Rosenthal
Comment 5 2012-04-09 10:24:22 PDT
Kenneth Rohde Christiansen
Comment 6 2012-04-09 10:48:02 PDT
Comment on attachment 136260 [details] Patch This looks a lot simpler/cleaner.
Noam Rosenthal
Comment 7 2012-04-09 10:54:51 PDT
Created attachment 136267 [details] Patch for landing
WebKit Review Bot
Comment 8 2012-04-09 14:35:28 PDT
Comment on attachment 136267 [details] Patch for landing Rejecting attachment 136267 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: cceeded at 105 with fuzz 1 (offset 3 lines). Hunk #3 succeeded at 134 (offset 4 lines). Hunk #4 FAILED at 141. 1 out of 4 hunks FAILED -- saving rejects to file Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.h.rej patching file Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp patching file Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.h Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/12372383
WebKit Review Bot
Comment 9 2012-04-09 16:45:59 PDT
Comment on attachment 136267 [details] Patch for landing Clearing flags on attachment: 136267 Committed r113640: <http://trac.webkit.org/changeset/113640>
WebKit Review Bot
Comment 10 2012-04-09 16:46:06 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.