Bug 212404

Summary: [WPE] REGRESSION(r253675) Crash when using threaded rendering
Product: WebKit Reporter: Miguel Gomez <magomez>
Component: WPE WebKitAssignee: Miguel Gomez <magomez>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Miguel Gomez
Reported 2020-05-27 05:06:21 PDT
r253675 modified ImageBufferCairo::draw and ImageBufferCairo::drawPattern (currently ImageBufferCairoBackend::draw and ImageBufferCairoBackend::drawPattern) to use cairo and the platformContext to paint instead of using the GraphicsContext methods. While this is ok is most of the cases, when using threaded rendering, all the drawing must happen through the GraphicsContext so the rendering commands can be recorded and replayed afterwards. Even more, the GraphicsContextImpl used in this case is a CairoOperationRecorder, which doesn't even have a platformContext. So this ends crashing.
Attachments
Patch (3.59 KB, patch)
2020-05-27 05:11 PDT, Miguel Gomez
no flags
Miguel Gomez
Comment 1 2020-05-27 05:11:36 PDT
EWS
Comment 2 2020-05-27 06:25:49 PDT
Committed r262194: <https://trac.webkit.org/changeset/262194> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400322 [details].
Note You need to log in before you can comment on or make changes to this bug.