Bug 230375 - find a way to re-use CGBitmapContextCreateForFlatteningImage logic for ShareableBitmap creation
Summary: find a way to re-use CGBitmapContextCreateForFlatteningImage logic for Sharea...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-16 14:57 PDT by Cameron McCormack (:heycam)
Modified: 2021-09-23 14:58 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 Cameron McCormack (:heycam) 2021-09-16 14:57:42 PDT
In bug 229021 comment 19 Sam points out the existence of CGBitmapContextCreateForFlatteningImage, which duplicates some of the logic added in that bug for creating a CGBitmap with a configuration and color space appropriate for converting a CGImage into a ShareableBitmap.  We should look into whether we can use it, to avoid having our own flattening logic.
Comment 1 Radar WebKit Bug Importer 2021-09-23 14:58:25 PDT
<rdar://problem/83466936>