Bug 218843

Summary: [GPU Process] Implement DisplayList::ClipToImageBuffer item
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   
Bug Depends on:    
Bug Blocks: 217342    
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
ews-feeder: commit-queue-
Patch
none
Patch none

Description Said Abou-Hallawa 2020-11-11 21:26:00 PST
This is very similar to the DisplayList::DrawImageBuffer item. All we need is to record the renderingResourceIdentifier of the ImageBuffer. At replaying time, the renderingResourceIdentifier of the ClipToImageBuffer will be resolved to an ImageBuffer. The actual clipping will be moved to an new function named ImageBuffer::clipToMask().
Comment 1 Said Abou-Hallawa 2020-11-11 21:28:43 PST
Created attachment 413908 [details]
Patch
Comment 2 Said Abou-Hallawa 2020-11-11 21:36:37 PST
Created attachment 413909 [details]
Patch
Comment 3 Said Abou-Hallawa 2020-11-11 21:46:51 PST
Created attachment 413910 [details]
Patch
Comment 4 Said Abou-Hallawa 2020-11-11 23:33:03 PST
Created attachment 413915 [details]
Patch
Comment 5 EWS 2020-11-12 01:09:22 PST
Committed r269724: <https://trac.webkit.org/changeset/269724>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 413915 [details].
Comment 6 Radar WebKit Bug Importer 2020-11-12 01:10:20 PST
<rdar://problem/71318029>