If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

optimize moz-border-colors for mobile

NEW
Unassigned

Status

()

Core
Layout
9 years ago
8 years ago

People

(Reporter: madhava, Unassigned)

Tracking

(Depends on: 1 bug, {perf})

unspecified
Points:
---
Bug Flags:
wanted-fennec1.0 +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
We'd like to use moz-border-colors for buttons and other widgets, along these lines:

http://www.seanmartell.com/mozilla/fennec/

but it's slow.  Faster!  (thanks)
(Reporter)

Updated

9 years ago
tracking-fennec: --- → ?
Do you have a testcase that's slow that somebody could profile?
Yeah, I asked madhava/sean to file this as a reminder; it's slow purely from a border rendering perspective, mainly because border-colors ends up being lots of little lines with lots of 1x1 alpha blending happening in the corners.  If the colors are different on each side (as they are here), it goes down the absolute slowest border rendering path, mainly because I didn't think it would ever be performance critical.

I think we can do a lot better there though to optimize this.

Updated

8 years ago
Flags: wanted-fennec1.0+
tracking-fennec: ? → ---

Updated

8 years ago
Depends on: 547591

Updated

8 years ago
Keywords: perf
You need to log in before you can comment on or make changes to this bug.