Open
Bug 1024674
Opened 10 years ago
Updated 3 months ago
copyRect for ImageData or PixelArray
Categories
(Core :: DOM: Workers, defect, P5)
Tracking
()
NEW
People
(Reporter: mbx, Unassigned)
References
Details
(Whiteboard: [Shumway])
A very popular use case for Flash is to write pixel art games. This is made possible by a fast copyPixels method on BitmapData class:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapData.html#copyPixels%28%29
Flash game authors compose multiple BitmapData regions into a larger BitmapData and then draw it scaled with linear sampling.
Currently this can be achieved with CanvasRenderingContext2D.drawImage but this is not available in Workers. Having such a feature on ImageData would make it possible to write such games entirely in Workers.
Another possibility is to provide an additional view on ArrayBuffers, perhaps a PixelArray view that has low level block pixel operations like fillRect, copyRect, etc.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [Shumway]
Updated•10 years ago
|
Blocks: shumway-m4
Comment 1•10 years ago
|
||
We need to triage whether this is needed at all anymore. In any case, it's not GFX-related, really.
No longer blocks: 927828
Updated•7 years ago
|
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•