RESOLVED FIXED 175528
[CoordGraphics] Simplify CoordinatedGraphicsScene state updates
https://bugs.webkit.org/show_bug.cgi?id=175528
Summary [CoordGraphics] Simplify CoordinatedGraphicsScene state updates
Zan Dobersek
Reported 2017-08-14 04:23:22 PDT
[CoordGraphics] Simplify CoordinatedGraphicsScene state updates
Attachments
Patch (12.57 KB, patch)
2017-08-14 04:57 PDT, Zan Dobersek
no flags
Patch (19.38 KB, patch)
2017-08-15 23:59 PDT, Zan Dobersek
no flags
Patch (19.48 KB, patch)
2017-08-16 00:01 PDT, Zan Dobersek
no flags
Zan Dobersek
Comment 1 2017-08-14 04:57:16 PDT
Build Bot
Comment 2 2017-08-14 04:58:43 PDT
Attachment 318030 [details] did not pass style-queue: ERROR: Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:234: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2017-08-14 05:10:26 PDT
Comment on attachment 318030 [details] Patch I never liked that render queue thing \o/
Zan Dobersek
Comment 4 2017-08-14 09:41:21 PDT
Comment on attachment 318030 [details] Patch Clearing flags on attachment: 318030 Committed r220700: <http://trac.webkit.org/changeset/220700>
Zan Dobersek
Comment 5 2017-08-14 09:41:25 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2017-08-14 09:42:26 PDT
Carlos Garcia Campos
Comment 7 2017-08-14 23:21:03 PDT
Debug bot is exiting early after this change, hitting an assert: ASSERTION FAILED: m_surfaces.contains(atlasID) /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp(449) : void WebKit::CoordinatedGraphicsScene::removeUpdateAtlas(uint32_t)
Michael Catanzaro
Comment 8 2017-08-15 07:16:42 PDT
Reverted r220700 for reason: Broke debug bot Committed r220742: <http://trac.webkit.org/changeset/220742>
Zan Dobersek
Comment 9 2017-08-15 23:59:09 PDT
Build Bot
Comment 10 2017-08-16 00:00:57 PDT
Attachment 318240 [details] did not pass style-queue: ERROR: Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:234: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Zan Dobersek
Comment 11 2017-08-16 00:01:03 PDT
Zan Dobersek
Comment 12 2017-08-16 00:01:31 PDT
Comment on attachment 318241 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318241&action=review > Source/WebKit/ChangeLog:28 > + Outside of CoordinatedGraphicsScene and ThreadedCompositor classes, the > + CompositingCoordinator class now passes the atlases-to-remove Vector by > + a const lvalue reference down to ThreadedCompositor, and then manually > + clears the Vector. Before the Vector was passed as an rvalue reference, > + depending on the ThreadedCompositor code to clear out the original Vector > + object by moving its resources into the functor object. This doesn't occur > + anymore because the Vector object is now appended to another Vector. This describes the problem that was causing asserts.
Build Bot
Comment 13 2017-08-16 00:04:07 PDT
Attachment 318241 [details] did not pass style-queue: ERROR: Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:234: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Zan Dobersek
Comment 14 2017-08-16 04:21:46 PDT
Comment on attachment 318241 [details] Patch Clearing flags on attachment: 318241 Committed r220792: <http://trac.webkit.org/changeset/220792>
Zan Dobersek
Comment 15 2017-08-16 04:21:50 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.