Everywhere: Transition ImageDecoder to be single-instance, owned by UI

This is the same behavior as RequestServer, with the added benefit that
we know how to gracefully reconnect ImageDecoder to all WebContent
processes on restart.
This commit is contained in:
Andrew Kaster 2024-06-26 13:44:42 -06:00 committed by Andrew Kaster
commit 4b5541e1b7
Notes: sideshowbarker 2024-07-17 00:59:43 +09:00
21 changed files with 250 additions and 31 deletions

View file

@ -4,4 +4,6 @@ endpoint ImageDecoderServer
{
decode_image(Core::AnonymousBuffer data, Optional<Gfx::IntSize> ideal_size, Optional<ByteString> mime_type) => (i64 image_id)
cancel_decoding(i64 image_id) =|
connect_new_clients(size_t count) => (Vector<IPC::File> sockets)
}