Bug 252182

Summary: Make GraphicsContext::drawNativeImage() platform independent
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 245858    

Said Abou-Hallawa
Reported 2023-02-13 12:10:07 PST
This will allow dealing with HDR images before calling drawPlatformImage. All implementations of drawNativeImage() will be renamed drawPlatformImage(). A new implementation for drawNativeImage() will be added to GraphicsContext. All it does it calls the new method NativeImage::draw(). For now NativeImage::draw() will just call GraphicsContext ::drawPlatformImage() which is the original implementation of GraphicsContext::drawNativeImage().
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-13 12:10:57 PST
Said Abou-Hallawa
Comment 2 2023-02-13 12:15:15 PST
EWS
Comment 3 2023-02-14 08:28:05 PST
Committed 260255@main (49563768826f): <https://commits.webkit.org/260255@main> Reviewed commits have been landed. Closing PR #10051 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.