Bug 1731136 Part 2: Allow native compositors to handle surface backdrops. r=gw
commit49ab728ca490c4ddcb23a53e227d16f4baff83e7
authorBrad Werth <bwerth@mozilla.com>
Thu, 26 May 2022 15:24:12 +0000 (26 15:24 +0000)
committerBrad Werth <bwerth@mozilla.com>
Thu, 26 May 2022 15:24:12 +0000 (26 15:24 +0000)
treef57028c94dce5d9f56ea3bccb480ef0b12535c25
parent4af362a7f6253a0e924202907ba4995169dd2680
Bug 1731136 Part 2: Allow native compositors to handle surface backdrops. r=gw

This only allows native compositors to claim this capability, without changing
any compositors to do so. In Part 4, the macOS native compositor claims this
capability in conjunction with adding the code that handles the color layers.

Differential Revision: https://phabricator.services.mozilla.com/D127175
gfx/webrender_bindings/RenderCompositorNative.cpp
gfx/webrender_bindings/RenderCompositorNative.h
gfx/wr/webrender/src/composite.rs