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

RESOLVED FIXED in Firefox 65

Status

enhancement
RESOLVED FIXED
6 months ago
5 months ago

People

(Reporter: rbarker, Assigned: rbarker)

Tracking

Trunk
mozilla65

Firefox Tracking Flags

(geckoview64 wontfix, firefox64 wontfix, firefox65 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

6 months ago
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

Updated

6 months ago
Assignee: nobody → rbarker

Comment 2

6 months ago
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
Assignee

Comment 4

6 months ago
Fixed and pushed again.
Flags: needinfo?(rbarker)

Comment 5

6 months ago
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

Comment 6

6 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a0fb2044780d
Status: NEW → RESOLVED
Last Resolved: 6 months 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

Updated

5 months ago
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.