Skip to content
Snippets Groups Projects
Commit 51eda373 authored by Brad Werth's avatar Brad Werth
Browse files

Bug 1808155 Part 2: Make VIDEO_LOG note events that will cause the video layer...

Bug 1808155 Part 2: Make VIDEO_LOG note events that will cause the video layer to rebuild. r=mstange

There are only a few things that could cause the video layer to be
rebuilt:
1) The mMutatedSpecializeVideo flag being set.
2) A new layer object being created to host for the video.

This patch more thoroughly documents instances of case 1 by adding
VIDEO_LOG message to anything that sets the mMutatedSpecializeVideo flag.

It also makes some attempt to identify case 2 by adding a VIDEO_LOG
message whenever we destroy a layer that has ever displayed a video
texture. If a log message like this is followed by a message that a new
video layer is created, it is a strong signal that we are unexpectedly
throwing away our external surface handles when we'd like to keep using
them.

Differential Revision: https://phabricator.services.mozilla.com/D171301
parent 04866428
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment