RESOLVED FIXED Bug 225405
Sampled Page Top Color: tie into existing TCADA/RLTT systems so that the value is kept in sync with painting
https://bugs.webkit.org/show_bug.cgi?id=225405
Summary Sampled Page Top Color: tie into existing TCADA/RLTT systems so that the valu...
Devin Rousso
Reported 2021-05-05 12:41:44 PDT
.
Attachments
Patch (15.60 KB, patch)
2021-05-05 12:46 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2021-05-05 12:46:44 PDT
Tim Horton
Comment 2 2021-05-05 12:53:57 PDT
Comment on attachment 427792 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427792&action=review > Source/WebKit/WebProcess/WebPage/WebPage.cpp:6469 > + send(Messages::WebPageProxy::SampledPageTopColorChanged(m_page->sampledPageTopColor())); I don't understand why there's a non-transactional version of this? It should just dirty the transaction and be sent that way (so that it, again, is synchronized with the layer content in the transaction).
Devin Rousso
Comment 3 2021-05-05 12:56:10 PDT
Comment on attachment 427792 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427792&action=review >> Source/WebKit/WebProcess/WebPage/WebPage.cpp:6469 >> + send(Messages::WebPageProxy::SampledPageTopColorChanged(m_page->sampledPageTopColor())); > > I don't understand why there's a non-transactional version of this? It should just dirty the transaction and be sent that way (so that it, again, is synchronized with the layer content in the transaction). This is only called inside `TiledCoreAnimationDrawingArea::updateRendering`. This is also how `themeColor` and `pageExtendedBackgroundColor` do it. It was my understanding that this is how it's done for macOS? Am I mistaken?
Tim Horton
Comment 4 2021-05-05 13:09:59 PDT
(In reply to Devin Rousso from comment #3) > Comment on attachment 427792 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=427792&action=review > > >> Source/WebKit/WebProcess/WebPage/WebPage.cpp:6469 > >> + send(Messages::WebPageProxy::SampledPageTopColorChanged(m_page->sampledPageTopColor())); > > > > I don't understand why there's a non-transactional version of this? It should just dirty the transaction and be sent that way (so that it, again, is synchronized with the layer content in the transaction). > > This is only called inside `TiledCoreAnimationDrawingArea::updateRendering`. > This is also how `themeColor` and `pageExtendedBackgroundColor` do it. It > was my understanding that this is how it's done for macOS? Am I mistaken? Oh oh oh, yes, this is for non-transactional WebKit :)
EWS
Comment 5 2021-05-05 15:22:43 PDT
Committed r277045 (237357@main): <https://commits.webkit.org/237357@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427792 [details].
Radar WebKit Bug Importer
Comment 6 2021-05-05 15:23:13 PDT
Note You need to log in before you can comment on or make changes to this bug.