Closed Bug 866300 Opened 11 years ago Closed 10 years ago

Drawing WebGL content to Canvas 2d and vice versa is very slow

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 729385

People

(Reporter: cabanier, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

Copying data from/to 2d context to/from a webgl context.
Example here: http://jsfiddle.net/zsmyK/9/


Actual results:

Very slow performance on Firefox. Much worse than one chrome in certain cases (Chrome seems to 'remember' that a texture was already uploaded in the test case)


Expected results:

Since both canvas and webgl are on the gpu, copying data should be very fast.
Component: Untriaged → General
See Also: → 729385
Depends on: 729385
Component: General → Canvas: 2D
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.