[Webkit-unassigned] [Bug 225167] New: Sampled Page Top Color: hook into painting logic instead of taking snapshots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 15:50:10 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225167

            Bug ID: 225167
           Summary: Sampled Page Top Color: hook into painting logic
                    instead of taking snapshots
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
        Depends on: 224987

Review feedback of Bug 224987 suggested that rather than using `snapshotFrameRect` (and `Document::hitTest` to check if that location is 3rd party) to get the color of pixels in the page, which can be expensive, we should hook into painting logic.

Doing so will also (likely) make it easier to support non-sRGB color spaces, as right now `snapshotFrameRect` always uses sRGB.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=224987
[Bug 224987] experiment with averaging sampling colors across the top of the page as the scroll area background
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210428/5bcf53f6/attachment.htm>


More information about the webkit-unassigned mailing list