Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Blink new features #20

Open
js0701 opened this issue Nov 26, 2015 · 2 comments
Open

Blink new features #20

js0701 opened this issue Nov 26, 2015 · 2 comments

Comments

@js0701
Copy link

js0701 commented Nov 26, 2015

Hello,

Blinking is bring this new feature: https://wiki.whatwg.org/wiki/OffscreenCanvas
It means Canvas can be accessed by an off-screen worker thread.

I think it will at least partly resolve the problem proposed by this extension here, right?

@AshleyScirra
Copy link
Contributor

This is addressed in section 5.3 of the spec, "Canvas-in-workers".

HTMLImageElement and Blob are not transferrable to workers, so it would require costly conversion on the main thread anyway just to send them to the worker, defeating the point of trying to move the work off the main thread. It also could have higher memory requirements since there is still an image-sized canvas involved, and Mozilla were particularly concerned about reducing the memory overhead.

@js0701
Copy link
Author

js0701 commented Nov 27, 2015

OK. Thanks for the explain.
I am going to release a crosswalk version (based on 14) with this ImageData extension interface implemented. Will you able to have a try on it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants