Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-duplicate canvas image source drawing code #25118

Open
jdm opened this issue Dec 5, 2019 · 0 comments
Open

De-duplicate canvas image source drawing code #25118

jdm opened this issue Dec 5, 2019 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Dec 5, 2019

#25087 added support for using OffscreenCanvas objects as image sources for other canvas drawing operations. We should figure out a way to reduce the duplication between draw_html_canvas_element and draw_offscreen_canvas, as well as the duplicate helper functions in OffscreenCanvas/HTMLCanvasElement (fetch_all_data, origin_is_clean, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.