Closed Bug 1211986 Opened 9 years ago Closed 9 years ago

Remove/improve blur performance for Top Site panel items

Categories

(Firefox for iOS :: Home screen, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: sleroux, Assigned: sleroux)

References

Details

(Whiteboard: [perf])

Attachments

(1 file)

The blur we render for each top site item is causing noticeable slow downs in frame rate of the application when rotating and while in the app switcher. We need to either improve the performance of the blurring or find an alternative option for displaying a top site item.
Bulk changes to Aha cards. Filter on 'mpopova-aha-20151008' to find all matching messages.
Blocks: 1213016
No longer blocks: 1213016
Attachment #8678186 - Flags: ui-review?(dhenein)
Attachment #8678186 - Flags: review?(bnicholson)
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Comment on attachment 8678186 [details] [review]
https://github.com/mozilla/firefox-ios/pull/1189

This is great! Looks awesome and feels snappy. Awesome work :)
Attachment #8678186 - Flags: ui-review?(dhenein) → ui-review+
Comment on attachment 8678186 [details] [review]
https://github.com/mozilla/firefox-ios/pull/1189

Nice, works well! Is this faster because the blur is only created once, whereas the UIVisualEffectView has to calculate the blur for every frame?

Also, does this mean we can support this effect now on iPad 2 and other older devices that didn't work with UIVisualEffectView?
Attachment #8678186 - Flags: review?(bnicholson) → review+
Yup - this is faster because we're only running the blur code once and caching it into an image so the performance hit only happens on blur but after that it's equivalent of having a normal background image.

I'm not sure about iPad 2 and older devices. Unfortunately I don't have any of the unsupported older devices. :AaronMT, do you have an old iPad 2 to test on?
I have an iPad 2. Everything is terribly slow.
Can you confirm the blur works on the iPad 2? Just worried about regressing since on iPad 2 the blur view was not supported.
Flags: needinfo?(aaron.train)
Going to merge this in for testing in the next aurora on an iPad 2
Flags: needinfo?(aaron.train)
a50a9162ef7645aeb7baaabbbcfb8507c175e3d2
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
(In reply to Stephan Leroux [:sleroux] from comment #9)
> Can you confirm the blur works on the iPad 2? Just worried about regressing
> since on iPad 2 the blur view was not supported.

The device is on iOS 8 and not 9 (not my device and they don't want to upgrade). Everything in Firefox is slow on the iPad 2.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: