[Webkit-unassigned] [Bug 222584] New: Reduce the size of extended colors by storing the color space in free bits of the owning Color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 1 19:13:12 PST 2021


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

            Bug ID: 222584
           Summary: Reduce the size of extended colors by storing the
                    color space in free bits of the owning Color
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at webkit.org

We currently have 10 free bits in m_colorAndFlags in Color, more than enough to store the color space (we only currently support 9 color spaces, which can fit in 4 bits). 

While doing this, we might as well move ExtendedColor to be nested type of Color and rename it to OutOfLineColor to be more clear about what it really is now.

-- 
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/20210302/49346796/attachment.htm>


More information about the webkit-unassigned mailing list