Bug 222855 - [GPU Process] Recording transparency layer should reset the alpha of lastDrawingState
Summary: [GPU Process] Recording transparency layer should reset the alpha of lastDraw...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks: 222835
  Show dependency treegraph
 
Reported: 2021-03-05 21:00 PST by Said Abou-Hallawa
Modified: 2021-03-07 12:33 PST (History)
5 users (show)

See Also:


Attachments
Patch (5.36 KB, patch)
2021-03-05 21:06 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 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.
Comment 1 Said Abou-Hallawa 2021-03-05 21:06:08 PST
Created attachment 422472 [details]
Patch
Comment 2 EWS 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].
Comment 3 Radar WebKit Bug Importer 2021-03-07 12:33:13 PST
<rdar://problem/75150374>