Bug 1740165 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

CompositorOptions::mUseWebGPU is not delivered to CompositorBridgeParent, since [ParamTraits<mozilla::layers::CompositorOptions>](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/LayersMessageUtils.h#841) does not handle it.

And CompositorOptions::UseWebGPU() is used only in [CompositorBridgeParent::AllocPWebGPUParent()](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/CompositorBridgeParent.cpp#1299). CompositorBridgeParent::AllocPWebGPUParent() is normally not used. [ContentCompositorBridgeParent::AllocPWebGPUParent()](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/ContentCompositorBridgeParent.cpp#208) is normally used for allocating WebGPUParent.
CompositorOptions::mUseWebGPU is not delivered to CompositorBridgeParent, since [ParamTraits<mozilla::layers::CompositorOptions>](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/LayersMessageUtils.h#841) does not handle it.

And CompositorOptions::UseWebGPU() is used only in [CompositorBridgeParent::AllocPWebGPUParent()](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/CompositorBridgeParent.cpp#1299). CompositorBridgeParent::AllocPWebGPUParent() is normally not used. [ContentCompositorBridgeParent::AllocPWebGPUParent()](https://searchfox.org/mozilla-central/rev/6c8d325e61b0b445ed2e04899da38c3a4c266cba/gfx/layers/ipc/ContentCompositorBridgeParent.cpp#208) is normally used for allocating WebGPUParent.

Then it is not sure if it is better to address mUseWebGPU delivery or remove it.

Back to Bug 1740165 Comment 0