Closed
Bug 905304
Opened 11 years ago
Closed 11 years ago
Add calling compositionComplete() on master gonk
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sotaro, Assigned: sotaro)
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #898919 +++
Bug 898919 fix only b2g v1.1. Since gfx layer refactoring, layer's code is very different ,then handle the problem as a different bug. Master also need to think about support of JB gonk.
Assignee | ||
Updated•11 years ago
|
Summary: Apply Bug 898919 to master → Add calling compositionComplete() on master gonk
Comment 1•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #0)
> +++ This bug was initially created as a clone of Bug #898919 +++
>
> Bug 898919 fix only b2g v1.1. Since gfx layer refactoring, layer's code is
> very different ,then handle the problem as a different bug. Master also need
> to think about support of JB gonk.
This should be koi then, not leo, right?
blocking-b2g: leo+ → koi?
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #1)
>
> This should be koi then, not leo, right?
Yes, to be koi.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
In ICS, compositionComplete() is called like the following.
LayerManagerComposite::Render()
->CompositorOGL::EndFrame()
->GLContextEGL::SwapBuffers()
->GonkDisplayICS::SwapBuffers()
->FramebufferNativeWindow::compositionComplete()
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 791417 [details] [diff] [review]
patch - Call compositionComplete()
Can I have a feedback to the patch?
Attachment #791417 -
Flags: feedback?(jmuizelaar)
Attachment #791417 -
Flags: feedback?(bgirard)
Comment 6•11 years ago
|
||
Comment on attachment 791417 [details] [diff] [review]
patch - Call compositionComplete()
Review of attachment 791417 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/gonk/libdisplay/GonkDisplayJB.cpp
@@ +166,5 @@
> StopBootAnimation();
> mBootAnimBuffer = nullptr;
>
> + // Should be called when composition rendering is complete for a frame.
> + // Only HWC v1.0 needs this call.
I think this should say what happens for HWC > 1.0. Is it harmless to call it or does it have to be removed?
Attachment #791417 -
Flags: feedback?(bgirard) → feedback+
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #6)
> Comment on attachment 791417 [details] [diff] [review]
> patch - Call compositionComplete()
>
> Review of attachment 791417 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: widget/gonk/libdisplay/GonkDisplayJB.cpp
> @@ +166,5 @@
> > StopBootAnimation();
> > mBootAnimBuffer = nullptr;
> >
> > + // Should be called when composition rendering is complete for a frame.
> > + // Only HWC v1.0 needs this call.
>
> I think this should say what happens for HWC > 1.0. Is it harmless to call
> it or does it have to be removed?
I will update in next patch. (HWC > 1.0) case is already handled in current code. mFBDevice is present only when (HWC == 1.0).
http://mxr.mozilla.org/mozilla-central/source/widget/gonk/libdisplay/GonkDisplayJB.cpp#66
Assignee | ||
Comment 8•11 years ago
|
||
In (HWC > 1.0) case, do not compositionComplete().
Updated•11 years ago
|
Attachment #791417 -
Flags: feedback?(jmuizelaar) → feedback+
Assignee | ||
Comment 9•11 years ago
|
||
Apply the comment.
Attachment #791417 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 791449 [details] [diff] [review]
patch v2 - Call compositionComplete()
mwu, can you review the patch?
Attachment #791449 -
Flags: review?(mwu)
Updated•11 years ago
|
Attachment #791449 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Add header to the patch. Carry "mwu: review+".
Attachment #791449 -
Attachment is obsolete: true
Attachment #791577 -
Flags: review+
Assignee | ||
Comment 12•11 years ago
|
||
Keywords: checkin-needed
Comment 13•11 years ago
|
||
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
blocking-b2g: koi? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•