Closed Bug 1543616 Opened 6 years ago Closed 6 years ago

Call TextureHost::PrepareForUse() when mCompositableCount becomes from 0 to 1

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

(Whiteboard: [wr-amvp][wr-q2])

Attachments

(1 file)

By Bug 1529870, the PrepareForUse() is called in WebRenderImageHost::SetCurrentTextureHost(). It works with single buffer mode android SurfaceTexture for WebGL. But it does not work well with video's SurfaceTexture, since multiple TextureHosts are received and a TextureHost might be skipped.

Then we want to know the timing of mCompositableCount becomes from 0 to 1. In this timing, we want to call the PrepareForUse().

Assignee: nobody → sotaro.ikeda.g
Type: defect → enhancement
Blocks: 1543846
Whiteboard: [wr-amvp][wr-q2]
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02b69751e1c9 Call TextureHost::PrepareForUse() when mCompositableCount becomes from 0 to 1 r=nical
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: