Closed
Bug 1417197
Opened 7 years ago
Closed 7 years ago
Don't hit fallback for simple nsDisplayThemedBackground cases
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Whiteboard: [wr-reserve])
Attachments
(2 files)
This patch adds nsITheme::CreateWebRenderCommands and implements it on macOS.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8928275 [details] Bug 1417197 - Create nsITheme::CreateWebRenderCommands in order to optimize simple theme fills, and add a Mac implementation. https://reviewboard.mozilla.org/r/199492/#review204590 ::: widget/cocoa/nsNativeThemeCocoa.mm:3031 (Diff revision 1) > + ThemeGeometryType type = ThemeGeometryTypeForWidget(aFrame, aWidgetType); > + aBuilder.PushRect(bounds, bounds, true, > + wr::ToColorF(VibrancyFillColor(aFrame, type))); > + } else { > + aBuilder.PushRect(bounds, bounds, true, > + wr::ToColorF(Color(0.996, 1.000, 0.792, 0.950))); Can you say where these come from?
Attachment #8928275 -
Flags: review?(jmuizelaar) → review+
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8928284 [details] Bug 1417197 - Create constants for hardcoded theme fill colors. https://reviewboard.mozilla.org/r/199498/#review204604
Attachment #8928284 -
Flags: review?(jmuizelaar) → review+
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/d7af7d6aba30 Create nsITheme::CreateWebRenderCommands in order to optimize simple theme fills, and add a Mac implementation. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/4eebab7d065e Create constants for hardcoded theme fill colors. r=jrmuizel
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [wr-reserve]
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7af7d6aba30 https://hg.mozilla.org/mozilla-central/rev/4eebab7d065e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•