Bug 1735420: Make video layers check pixel formats to determine eligibility for layer...
commit8602be6fea8ef1e4a75cd5ff3acddc1562670019
authorBrad Werth <bwerth@mozilla.com>
Fri, 15 Oct 2021 15:20:09 +0000 (15 15:20 +0000)
committerBrad Werth <bwerth@mozilla.com>
Fri, 15 Oct 2021 15:20:09 +0000 (15 15:20 +0000)
tree4710d16e70ac72ca04f696c953b1f94964b64eb6
parent05f6e30e90c4a56f9b9adc6dbc40a053a2bdc64d
Bug 1735420: Make video layers check pixel formats to determine eligibility for layer specialization. r=mstange

This ensures that we only do the extra work of EnqueueSurface when the video
format is eligible for the low power detached mode.

Differential Revision: https://phabricator.services.mozilla.com/D128420
gfx/layers/NativeLayerCA.h
gfx/layers/NativeLayerCA.mm