зеркало из https://github.com/mozilla/gecko-dev.git
45ae50555d
For WebGPU, we produce the textures in the compositor process and the content process doesn't need to be that involved except for hooking up the texture to the display list. Currently this is done via an external image ID. Given that WebGPU needs to work with OffscreenCanvas, it would be best if its display pipeline was consistent whether it was gotten from an HTMLCanvasElement, OffscreenCanvas on the main thread, or on a worker thread. As such, using an AsyncImagePipeline would be best. However there is no real need to bounce the handles across process boundaries. Hence this patch which adds CompositableInProcessManager. This static class is responsible for collecting WebRenderImageHost objects backed by TextureHost objects which do not leave the compositor process. This will allow WebGPUParent to schedule compositions directly in future patches. Differential Revision: https://phabricator.services.mozilla.com/D138588 |
||
---|---|---|
.. | ||
__init__.py | ||
cross-architecture.sup | ||
i386-pc-linux-gnu.sup | ||
mach_commands.py | ||
output_handler.py | ||
x86_64-pc-linux-gnu.sup |