Closed Bug 1774815 Opened 4 years ago Closed 4 years ago

Make sure if layers connection is requested by parent

Categories

(Core :: Graphics, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr102 --- fixed
firefox102 --- fixed
firefox103 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

Current implementation is not clear about meaning of "mLayersConnected == Some(false)".

It has the following 2 meanings.

  • [1] parent side does not request to connect layers.
  • [2] parent side requested to connect layers, but the connect was failed.

We need to distinguish between [1] and [2]. In [1] case, we do not need to try to connect layers in ReinitRendering.

Depends on: 1774201
Assignee: nobody → sotaro.ikeda.g
Summary: Bug 1774201 - Make sure if layers connection is requested by parent → Make sure if layers connection is requested by parent

Comment on attachment 9281824 [details]
Bug 1774815 - Make sure if layers connection is requested by parent

:jnicol, does the patch work for you?

Attachment #9281824 - Flags: feedback?(jnicol)
Attachment #9281824 - Flags: feedback?(jnicol)
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e272ca28c11b Make sure if layers connection is requested by parent r=jnicol,gfx-reviewers,bradwerth
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Yes, this still fixes the bug for me. Thanks Sotaro

Comment on attachment 9281824 [details]
Bug 1774815 - Make sure if layers connection is requested by parent

Beta/Release Uplift Approval Request

  • User impact if declined: If we uplift bug 1774201 without this then we will regress bug 1728062
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1728062
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Very small change. Makes us only skip reinitializing the compositor if we never attempted to initialize it in the first place.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9281824 - Flags: approval-mozilla-beta?

Comment on attachment 9281824 [details]
Bug 1774815 - Make sure if layers connection is requested by parent

We are out of the beta cycle and releng is currently merging mozilla-beta to mozilla-release before we build our RC. Morphing this into a release build uplift request.

Attachment #9281824 - Flags: approval-mozilla-beta? → approval-mozilla-release?

Comment on attachment 9281824 [details]
Bug 1774815 - Make sure if layers connection is requested by parent

Taking with bug 1774201 on the 102 release and 102esr.

Attachment #9281824 - Flags: approval-mozilla-release?
Attachment #9281824 - Flags: approval-mozilla-release+
Attachment #9281824 - Flags: approval-mozilla-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: