mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
ImageDecoder: Use Core::AnonymousBuffer and Gfx::ShareableBitmap
...instead of sending shbufs back and forth. :^)
This commit is contained in:
parent
8a61aba1e5
commit
447e6da52c
4 changed files with 14 additions and 58 deletions
|
@ -2,6 +2,5 @@ endpoint ImageDecoderServer = 7001
|
|||
{
|
||||
Greet(i32 client_pid) => (i32 client_id, i32 server_pid)
|
||||
|
||||
DecodeImage(i32 encoded_shbuf_id, u32 encoded_size) => (i32 decoded_shbuf_id, Gfx::IntSize size, i32 bitmap_format, Vector<u32> palette)
|
||||
|
||||
DecodeImage(Core::AnonymousBuffer data) => (Gfx::ShareableBitmap bitmap)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue