Closed
Bug 1244044
Opened 9 years ago
Closed 9 years ago
Home Screen displays nothing on TV
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: xeonchen, Assigned: xeonchen)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
xeonchen
:
review+
|
Details | Diff | Splinter Review |
My TV build is broken after upgrading gecko to newer version, then I found that the patch for bug 1231042 breaks this.
This happens because |nsScreenManagerGonk::SetCompositorVsyncScheduler| is set after |nsScreenManagerGonk::DisplayEnabled| is called.
Assignee | ||
Comment 1•9 years ago
|
||
I have a workaround by saving previous value, and set the value when the scheduler is given.
Attachment #8713527 -
Flags: feedback?(hshih)
Comment 2•9 years ago
|
||
Comment on attachment 8713527 [details] [diff] [review]
0001-Bug-1244044-remember-display-status.patch
Review of attachment 8713527 [details] [diff] [review]:
-----------------------------------------------------------------
It's strange that we turn on the display before layer system ready. If we have that, we need to save the display status before setting the vsync scheduler.
Attachment #8713527 -
Flags: feedback?(hshih) → feedback+
Updated•9 years ago
|
Whiteboard: [gfx-noted]
Comment 3•9 years ago
|
||
Comment on attachment 8713527 [details] [diff] [review]
0001-Bug-1244044-remember-display-status.patch
Review of attachment 8713527 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/gonk/nsScreenManagerGonk.cpp
@@ -799,5 @@
> }
>
> void
> nsScreenManagerGonk::DisplayEnabled(bool aEnabled)
> {
assert for main thread?
@@ +1050,5 @@
> {
> MOZ_ASSERT(NS_IsMainThread());
>
> // We assume on b2g that there is only 1 CompositorParent
> MOZ_ASSERT(mCompositorVsyncScheduler == nullptr);
add a MOZ_ASSERT(aObserver) here.
@@ +1052,5 @@
>
> // We assume on b2g that there is only 1 CompositorParent
> MOZ_ASSERT(mCompositorVsyncScheduler == nullptr);
> mCompositorVsyncScheduler = aObserver;
> + if (mCompositorVsyncScheduler) {
Just call mCompositorVsyncScheduler->SetDisplay(mDisplayEnabled);
Assignee | ||
Comment 4•9 years ago
|
||
Assignee: nobody → xeonchen
Attachment #8713527 -
Attachment is obsolete: true
Attachment #8720157 -
Flags: review?(hshih)
Comment 5•9 years ago
|
||
Comment on attachment 8720157 [details] [diff] [review]
0001-Bug-1244044-remember-display-status-r-jerry.patch
Review of attachment 8720157 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/gonk/nsScreenManagerGonk.cpp
@@ +813,1 @@
> }
Please have a comment to show that we could call DisplayEnabled() before setting the CompositorVsyncScheduler.
Attachment #8720157 -
Flags: review?(hshih) → review+
Assignee | ||
Comment 6•9 years ago
|
||
add comment, carry r+
Attachment #8720157 -
Attachment is obsolete: true
Attachment #8720172 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 9•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•