Bug 222348

Summary: [GPU Process] Implement ImageBufferShareableBitmapBackend::bytesPerRow()
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: CanvasAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Said Abou-Hallawa
Reported 2021-02-24 01:42:15 PST
The ShareableBitmapCG aligns the rows using IOSurfaceAlignProperty(kIOSurfaceBytesPerRow, ...). This means the default implementation which is "width x 4" is wrong for ImageBufferShareableBitmapBackend. This will fix the layout failure: fast/canvas/canvas-large-dimensions.html [ Failure ]
Attachments
Patch (4.72 KB, patch)
2021-02-24 01:46 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2021-02-24 01:46:08 PST
EWS
Comment 2 2021-02-24 09:52:01 PST
Committed r273406: <https://commits.webkit.org/r273406> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421390 [details].
Radar WebKit Bug Importer
Comment 3 2021-02-24 09:53:19 PST
Note You need to log in before you can comment on or make changes to this bug.