Dispatch image decode work to ThreadPool workers instead of the old BackgroundAction helper. BackgroundAction funneled all jobs through one background thread, so image decodes were still serialized. The pool lets independent decode jobs run in parallel while completions are posted back to the origin event loop. Keep pending decode state as a small cancel flag. Make animated sessions ref-counted with a mutex so overlapping frame requests cannot race shared decoders once jobs run in parallel. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ConnectionFromClient.cpp | ||
| ConnectionFromClient.h | ||
| Forward.h | ||
| ImageDecoderClient.ipc | ||
| ImageDecoderServer.ipc | ||
| main.cpp | ||