Closed Bug 1508457 Opened 6 years ago Closed 6 years ago

Add GeckoView API to get first composite callback after a compositor start.

Categories

(GeckoView :: General, enhancement)

enhancement
Not set
normal

Tracking

(geckoview64 wontfix, firefox64 wontfix, firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
geckoview64 --- wontfix
firefox64 --- wontfix
firefox65 --- fixed

People

(Reporter: rbarker, Assigned: rbarker)

Details

Attachments

(1 file)

In some cases it is necessary to know when the first composite has occurred after the compositor has started so that a SurfaceTexture is not rendered until it contains content. Adding a callback to the ContentDelegate for onFirstComposite() will allow the app to prevent a SurfaceTexture with initialized content from being shown.
Assignee: nobody → rbarker
Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b245aba69d76
Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
Fixed and pushed again.
Flags: needinfo?(rbarker)
Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0fb2044780d
Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
https://hg.mozilla.org/mozilla-central/rev/a0fb2044780d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
64=wontfix because we don't need to uplift this API. FxR 1.1 will ship GV 65, not 64.
status-geckoview64=wontfix
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 65 → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: