Bug 252182
| Summary: | Make GraphicsContext::drawNativeImage() platform independent | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Images | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105409701>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/10051
EWS
Committed 260255@main (49563768826f): <https://commits.webkit.org/260255@main>
Reviewed commits have been landed. Closing PR #10051 and removing active labels.