Closed
Bug 1055457
Opened 11 years ago
Closed 7 years ago
Dynamic switch BootAnimation backend
Categories
(Firefox OS Graveyard :: Vendcom, defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: chiajung, Assigned: chiajung)
References
Details
Attachments
(1 file, 4 obsolete files)
|
9.67 KB,
patch
|
Details | Diff | Splinter Review |
This issue is a follow up for Bug 103218.
In bug 103218, a generic solution of BootAnimation for most devices is provided, but it makes the BootAnimation stops earlier than before.
This bug tends to make BootAnimation better by switch BootAnimation to GL render dynamically.
| Assignee | ||
Comment 1•11 years ago
|
||
It seems this would be a huge change to go, as CompositorThread uses base::Thread, libdisplay can not use it directly. We may need make the chromium ipc code a stand alone library, and make others link to it.
| Assignee | ||
Comment 2•11 years ago
|
||
With this patch, the BootAnimation plays longer, and I think the GL part maybe redundant, since both Dolphin/Flame shows only 1 frame from GL...That means we update first frame very soon after GL init.
Another small problem of this patch is that GL frame is upside down and not central positioned, which should be easy to fix.
| Assignee | ||
Comment 3•11 years ago
|
||
Peter, Michael
Do you think we need the last frame from GL? If yes, I can fix the render problem mentioned in comment 2. Otherwise, I can remove those parts and start to clean up the patch for review.
Flags: needinfo?(pchang)
Flags: needinfo?(mwu)
Comment 4•11 years ago
|
||
(In reply to Chiajung Hung [:chiajung] from comment #3)
> Peter, Michael
>
> Do you think we need the last frame from GL? If yes, I can fix the render
> problem mentioned in comment 2. Otherwise, I can remove those parts and
> start to clean up the patch for review.
Could you confirm there is no black frame between boot animation and the first frame from compositor first?
Flags: needinfo?(pchang)
| Assignee | ||
Comment 5•11 years ago
|
||
This version removes all black frame in previous version, I am going to fixing the up side down problem.
Attachment #8480308 -
Attachment is obsolete: true
Flags: needinfo?(mwu)
Updated•11 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8481108 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•11 years ago
|
||
WIP V3 fixes a deadlock in BootAnimation, which make GLRenderer go further, the final problem of this version would be a flashing black screen right after BootAnimation's stop.
| Assignee | ||
Comment 8•11 years ago
|
||
WIP v3 shows a black screen then jump back 1 frame and stuck there. Where black frame is comes from:
http://dxr.mozilla.org/mozilla-central/source/widget/gonk/HwcComposer2D.cpp#689
And those freezed frame is from next swap (the content draws nothing and triggers swap buffer once).
We use a stand alone buffer before, so we did not observe the black frame before. And because we stopped the BootAnimation when UpdateFBSurface/SwapBuffers before, we did not observe the freezed frame.
This patch fix these problems by stop animation at the same point of time, and clear up the old frame while stop animation.
Attachment #8484812 -
Attachment is obsolete: true
Attachment #8484814 -
Attachment is obsolete: true
Comment 9•10 years ago
|
||
Hi Chiajung,
This bug is also reported by partner per bug 1110566. Do you think your patch can fix this issue in 2.0M? Thanks!
Updated•10 years ago
|
Flags: needinfo?(chung)
Comment 10•10 years ago
|
||
(In reply to Josh Cheng [:josh] from comment #9)
> Hi Chiajung,
> This bug is also reported by partner per bug 1110566. Do you think your
> patch can fix this issue in 2.0M? Thanks!
Josh, I think user still can sense the black frame as mentioned in comment 8 after applying the WIP v4 attachment 8486239 [details] [diff] [review]. And it is not easy to fix the black frame. Is it a hard blocker for 2.0M?
Flags: needinfo?(jocheng)
Comment 11•10 years ago
|
||
Hi Peter,
Thanks for the reply. Partner raise concern about it but not a blocker. If this is still not able to fix the black frame, I will communicate this to partner as this is current limitation.
Thanks!
Flags: needinfo?(jocheng)
Comment 14•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•