Bug 254925

Summary: [GPU Process] Refactor ShareableBitmapConfiguration
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=255001
Bug Depends on:    
Bug Blocks: 254794    

Said Abou-Hallawa
Reported 2023-04-03 11:09:49 PDT
ShareableBitmapConfiguration needs to hold the size of the ShareableBitmap so it can self calculate the sizeInBytes. Also it should hold and IPC the bitmap properties instead of calculating them every time they are needed. The caller should create ShareableBitmap only if sizeInBytes does not have overflow. So ShareableBitmapConfiguration does not have to return the bitmap properties in CheckedUint32 but just unsigned.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-03 11:10:33 PDT
Said Abou-Hallawa
Comment 2 2023-04-03 11:10:51 PDT
This work is towards bug 254794.
Said Abou-Hallawa
Comment 3 2023-04-03 11:14:41 PDT
EWS
Comment 4 2023-04-03 17:31:20 PDT
Committed 262547@main (ecd29c94a787): <https://commits.webkit.org/262547@main> Reviewed commits have been landed. Closing PR #12325 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.