[Webkit-unassigned] [Bug 206541] New: Remove ImageBuffer::sizeForDestinationSize()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 21 10:11:29 PST 2020


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

            Bug ID: 206541
           Summary: Remove ImageBuffer::sizeForDestinationSize()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

This function is currently does nothing. For CG ports, it scales a rect by the ratio backingStoreSize / internalSize which is always 1. The constructor ImageBuffer::ImageBuffer() sets m_size and m_data.backingStoreSize to the same value always.

    m_size = IntSize(scaledWidth, scaledHeight);
    m_data.backingStoreSize = m_size;

For other ports ImageBuffer::sizeForDestinationSize() returns the passed rectangle.

-- 
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/20200121/d2af6cd5/attachment.htm>


More information about the webkit-unassigned mailing list