RESOLVED FIXED Bug 188838
[CoordGraphics] Remove the 'previous backing store' logic
https://bugs.webkit.org/show_bug.cgi?id=188838
Summary [CoordGraphics] Remove the 'previous backing store' logic
Zan Dobersek
Reported 2018-08-22 04:49:03 PDT
In CoordinatedGraphicsLayer, the current backing store is sometimes kept around after it's removed, in order to keep the tile data contained there alive for the near future. I think this is a remnant from the cross-process CoordinatedGraphics usage that's not obsolete. The previous backing store management should thus probably be possible to remove. This report originates from bug #188693.
Attachments
Patch (5.23 KB, patch)
2018-10-03 06:59 PDT, Carlos Bentzen
no flags
Patch (5.03 KB, patch)
2018-10-04 05:53 PDT, Carlos Bentzen
no flags
Miguel Gomez
Comment 1 2018-08-30 01:09:23 PDT
I always wondered what was the previous backingStore about and whether we could remove it, but never had time to check it. I'll add this to my list.
Carlos Bentzen
Comment 2 2018-10-03 06:59:45 PDT
Miguel Gomez
Comment 3 2018-10-04 00:33:32 PDT
Comment on attachment 351516 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=351516&action=review > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:872 > m_pendingContentsScaleAdjustment = false; You changed the logic here. m_pendingContentsScaleAdjustment must always be set to false if it was true, not only when the three conditions are met.
Carlos Bentzen
Comment 4 2018-10-04 05:51:58 PDT
(In reply to Miguel Gomez from comment #3) > Comment on attachment 351516 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=351516&action=review > > > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:872 > > m_pendingContentsScaleAdjustment = false; > > You changed the logic here. m_pendingContentsScaleAdjustment must always be > set to false if it was true, not only when the three conditions are met. True. Thanks for the review!
Carlos Bentzen
Comment 5 2018-10-04 05:53:10 PDT
WebKit Commit Bot
Comment 6 2018-10-09 12:23:29 PDT
Comment on attachment 351594 [details] Patch Clearing flags on attachment: 351594 Committed r236974: <https://trac.webkit.org/changeset/236974>
WebKit Commit Bot
Comment 7 2018-10-09 12:23:31 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2018-10-09 12:24:27 PDT
Note You need to log in before you can comment on or make changes to this bug.