Bug 253695 - Drawing with GraphicsContext::platformContext() is error prone and does not support custom contexts
Summary: Drawing with GraphicsContext::platformContext() is error prone and does not s...
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-03-10 01:08 PST by Kimmo Kinnunen
Modified: 2023-03-10 02:22 PST (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-03-10 01:08:44 PST
Drawing with GraphicsContext::platformContext() is problematic

- A frequent bug: callers do not save and restore the context state
- Drawing is not reflected in the secondary context in BifurcatedGraphicsContext
Comment 1 Radar WebKit Bug Importer 2023-03-10 01:09:24 PST
<rdar://problem/106543542>
Comment 2 Radar WebKit Bug Importer 2023-03-10 01:10:20 PST
<rdar://problem/106543585>
Comment 3 Kimmo Kinnunen 2023-03-10 02:22:18 PST
Pull request: https://github.com/WebKit/WebKit/pull/11354