| Summary: | _paintBehaviorForDestinationContext should consider kCGContextTypeDisplayList type contexts as potentially being snapshots | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> | ||||
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | heycam, sabouhallawa, simon.fraser, thorton, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Matt Woodrow
2021-12-22 17:10:00 PST
Created attachment 447846 [details]
Patch
No test yet, but happy to add one if anyone has ideas on how to test this. Ideally we'd test that images get sync decoded from AppKit, but it might be sufficient to have a unit test that passes a display list context, and confirms that the PaintBehavior::Snapshotting flag is set (if this is observable somehow). Committed r287951 (245980@main): <https://commits.webkit.org/245980@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447846 [details]. |