Open Bug 1712803 Opened 5 years ago Updated 2 years ago

Ensure external surface lifetimes match that of their referencing blob

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

People

(Reporter: aosmond, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

No description provided.

Prior to this patch, blob images would ensure external surfaces live as
long as the recording by keeping strong references to the surfaces in
the content process, attached to each relevant display item. This was
prone to the content process releasing the surfaces (because the display
item is gone) before the rasterization of the blob image. The external
surface may be missing, and it would crash the compositor process.

Now we tell the compositor process about the dependencies the blob
recording has on external surfaces. It is responsible for keeping the
surfaces alive until the last epoch passes from which they could have
been used.

Attachment #9223442 - Attachment is obsolete: true

Prior to this patch, blob images would ensure external surfaces live as
long as the recording by keeping strong references to the surfaces in
the content process, attached to each relevant display item. This was
prone to the content process releasing the surfaces (because the display
item is gone) before the rasterization of the blob image. The external
surface may be missing, and it would crash the compositor process.

Now we tell the compositor process about the dependencies the blob
recording has on external surfaces. It is responsible for keeping the
surfaces alive until the last epoch passes from which they could have
been used.

No longer blocks: 1712491
Depends on: 1712491

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:aosmond, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(jmuizelaar)
Flags: needinfo?(aosmond)
Flags: needinfo?(aosmond)
Flags: needinfo?(jmuizelaar)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: