Bug 182921 - Support OffscreenCanvas as a CanvasImageSource type in CanvasDrawImage, CanvasFillStrokeStyles
Summary: Support OffscreenCanvas as a CanvasImageSource type in CanvasDrawImage, Canva...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords:
Depends on: 182686
Blocks: 183720
  Show dependency treegraph
 
Reported: 2018-02-19 00:59 PST by Zan Dobersek
Modified: 2018-03-17 00:48 PDT (History)
1 user (show)

See Also:


Attachments
WIP patch (9.96 KB, patch)
2018-02-19 01:00 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2018-02-19 00:59:27 PST
OffscreenCanvas should be listed in the CanvasImageSource typedef in CanvasDrawImage.idl and CanvasFillStrokeStyles.idl.

Implementation-wise, all of the code is already there, but it has to be broadened from covering only HTMLCanvasElement objects to covering CanvasBase instead.
Comment 1 Zan Dobersek 2018-02-19 01:00:47 PST
Created attachment 334142 [details]
WIP patch