Closed
Bug 1380155
Opened 8 years ago
Closed 8 years ago
Is SVG GPU hardware accelerated?
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: trusktr, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Steps to reproduce:
Tried animating stuff in SVG. The API is obviously nice for coding graphics manually, and manipulating them.
Actual results:
But it is sloooow, compared to 2D webgl drawing libraries like Pixi.js and Two.js.
Expected results:
It should be fast! The web needs it so we can make the most awesome animated things ever seen in the web! It needs to beat native.
At least we can replace the current implementation with something like Pixi.js or Two.js, because those are faster (though not yet complete as far as SVG standards). There's MonkVG we can learn from too.
Updated•8 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Comment 1•8 years ago
|
||
This is not an actionable bug. Yes SVG is hardware accelerated. Yes it can be slow depending on what you're doing.
You'd need a simple testcase showing a single thing that's slow.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
In what was way is SVG accelerated? Are shapes/polygons/paths/circles/etc tesselated and then those triangles drawn on the GPU?
Comment 3•8 years ago
|
||
bugzilla is not for discussions. We've forums for that: https://www.mozilla.org/en-US/about/forums/ layout is probably the best place to continue this. The svg forum is so quiet it's probably barely monitored. But yes, most CSS/SMIL animation is hardware accelerated in some way per https://mozillagfx.wordpress.com/2013/07/22/hardware-acceleration-and-compositing/
You need to log in
before you can comment on or make changes to this bug.
Description
•