Open
Bug 1175003
Opened 11 years ago
Updated 4 years ago
Border and/or background gradient styles on large divs severely degrade performance
Categories
(Core :: Graphics, defect)
Tracking
()
NEW
People
(Reporter: jcarpenter, Unassigned)
Details
(Whiteboard: [webvr][horizon], gfx-noted)
Overview:
---------
Am creating six-sided "skyboxes" in CSS WebVR scenes and applying borders and background gradients to the divs. This immediately creates severe performance degradation. Ballpark 60fps down to 10. Removing either border or background from the div styles has minimal positive effect. Both must be removed in order for performance to pop back to "normal" levels.
The elements in question have `transform-style: preserve-3d` applied.
Build ID:
---------
* Mac OSX 10.10.3
* Oculus run time 0.5.0.1
* Horizon (on Graphene from Larch Gecko branch)
Actual results:
---------
Severe performance drop when border and/or background gradient are applied.
Expected results:
---------
Ideally, zero appreciable impact on performance.
| Reporter | ||
Comment 1•11 years ago
|
||
Video of the impact with and without border available here: https://dl.dropboxusercontent.com/u/667711/bugzilla/performance-problems-with-without-border.mov
| Reporter | ||
Comment 2•11 years ago
|
||
Note that the clipping issues in the screen capture above are unrelated, and already being address by Kip.
Comment 3•11 years ago
|
||
Consider including a test case and/or a performance profile.
For instance there's a big performance different between linear and radial gradients with cairo.
In your video your just removed the dashed border. It would be useful to know if it's either feature or both feature when used together causing a bad interaction. For example it's possible you're changing the layerization of the page causing more redraw.
Whiteboard: [webvr][horizon] → [webvr][horizon], gfx-noted
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•