Bug 222855

Summary: [GPU Process] Recording transparency layer should reset the alpha of lastDrawingState
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: 222835    
Attachments:
Description Flags
Patch none

Said Abou-Hallawa
Reported 2021-03-05 21:00:03 PST
After appending BeginTransparencyLayer item, the alpha of current state lastDrawingState should be reset. So any subsequent setAlpha() should be accumulated even if the new alpha equals to the last alpha which was set in lastDrawingState.
Attachments
Patch (5.36 KB, patch)
2021-03-05 21:06 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2021-03-05 21:06:08 PST
EWS
Comment 2 2021-03-07 12:32:30 PST
Committed r274057: <https://commits.webkit.org/r274057> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422472 [details].
Radar WebKit Bug Importer
Comment 3 2021-03-07 12:33:13 PST
Note You need to log in before you can comment on or make changes to this bug.