[Webkit-unassigned] [Bug 251809] New: GraphicsContext non basic methods shouldn't be virtual

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 6 11:46:22 PST 2023


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

            Bug ID: 251809
           Summary: GraphicsContext non basic methods shouldn't be virtual
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

GraphicsContext will resolve some of its methods to lower level ones. These higher level methods should not be virtual. These methods are:

GraphicsContext::drawImage()
GraphicsContext::drawTiledImage()
GraphicsContext::drawConsumingImageBuffer()

The first two methods will be resolved to GraphicsContext::drawNativeImage() if the Image is a BitmapImage. Or they will be revolved to SVGImage::draw() if it is an SVGImage. SVGImage::draw() will draw a full FrameView.

The third method will be resolved to ImageBuffer::drawConsuming() which will draw a NativeImage via GraphicsContext::drawNativeImage().

-- 
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/20230206/14fde4a3/attachment.htm>


More information about the webkit-unassigned mailing list