Bug 261462 - GraphicsContext::createScaledImageBuffer uses different equations for different variants
Summary: GraphicsContext::createScaledImageBuffer uses different equations for differe...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-12 06:21 PDT by Kimmo Kinnunen
Modified: 2023-09-12 06:36 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2023-09-12 06:21:26 PDT
GraphicsContext::createScaledImageBuffer uses different equations for different variants 

The call:

    GraphicsContext::createScaledImageBuffer(FloatRect { { }, { w, h }, ...)

Uses different equation than:

    GraphicsContext::createScaledImageBuffer(FloatSize { w, h }, ...)
Comment 1 Radar WebKit Bug Importer 2023-09-12 06:21:36 PDT
<rdar://problem/115352084>
Comment 2 Kimmo Kinnunen 2023-09-12 06:36:12 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17692