~aleteoryx/muditaos

ref: 5b27fb3680bc26e66db8f7a873bb81e21a5bb6bb muditaos/module-services/service-gui/doc/handle_draw_request.pu -rw-r--r-- 454 bytes
5b27fb36 — Lukasz Mastalerz [BH-1784] Replace discharged device screen 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@startuml
skinparam BackgroundColor F0F0F0
participant "Application" as app
participant "Service GUI" as gui
participant "Context Pool" as pool
participant "Rendering Worker" as worker
participant "Service E Ink" as eink

app -> gui: Draw request
gui -> eink: Prepare display
gui -> worker: Drop awaiting requests
gui -> worker: Add new request
activate worker

worker -> pool: Borrow context
worker -> worker: Render
return Finished(contextId)

@enduml