← Back
Home › Systems › Operating systems and runtimes

compositor

display compositor

Wayland compositors

SystemTechniques · 11Primitives · 50 compositor Deterministic simulation testingdistributed · medium: Run the whole system in one thread under a seeded scheduler with simulated network, disk and clock, so every failure replays from its seed.›Primary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›Hit testing and gesturesgraphics · medium: Map pointer events to the UI tree and arbitrate competing gesture recognizersLayer compositinggraphics · medium: Composite retained layers or surfaces on the GPU; overlay planes, opacity and transformsCoverage-guided fuzzingsecurity · medium: Mutate inputs, run an instrumented target, and keep any input that reaches a new code edge; feedback turns blind guessing into incremental search.›Point-in-time recoverystorage · medium: Periodic base backups plus a continuously archived change log let you rebuild the state as of any instant, then branch from there.›Delta debuggingcompilers · medium: Ddmin minimization of failing inputs or change setsDamage trackinggraphics · low: Track dirty rectangles so each frame repaints and recomposites only what changedDisplay scanout modesettinggraphics · low: KMS: CRTCs, planes, atomic commits, page flips, vblank events and direct scanoutGPU command buffersgraphics · low: Record GPU work as a flat list of commands on the CPU, submit it in batches, and reuse its memory through a ring of frames in flight guarded by fences.›Shared memory ipcconcurrency · low: Shared memory rings and futex signalling between processesHdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesColor space conversiongraphics · low: Convert pixels between transfer curves (sRGB, linear light), primaries (sRGB, Display P3, XYZ) and Y'CbCr, using tables for the curve and 3x3 matrices for the rest.›Gpu synchronization fencesgraphics · low: Fences, timeline semaphores and sync files between GPU queues, CPU and processesTone mapping (HDR to display range)graphics · low: Compress scene-referred linear light to a display's range in three steps: expose, apply a curve to luminance, then encode (sRGB, PQ or HLG) and dither.›Vsync frame pacinggraphics · low: Vsync, swapchain presentation modes, frame pacing, latency and variable refreshProcess supervisionhardware-os · low: A parent process starts services, reaps their exits and restarts them under a delay and burst-limit policy, then stops them with SIGTERM before SIGKILL.›Unix socket fd passinghardware-os · low: Pass file descriptors over Unix domain sockets with SCM_RIGHTS ancillary dataepoll event loopnetworking · low: One thread waits on thousands of non-blocking sockets with epoll_wait and handles only ready ones; the core of nginx, Redis and tokio.›Length-prefix framingnetworking · low: Split a byte stream (TCP, TLS, pipes) into messages by writing each message's length before it; O(1) boundary detection with no escaping.›Mutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›Graceful drainingsystems · low: On a termination signal, stop taking new work, finish in-flight work until a deadline, tell clients to reconnect elsewhere, then exit; clients resume from a token.›Cooperative schedulingconcurrency · low: Green threads/coroutines yielding at await points on a user-space scheduler+ 4 more techniques+ 34 more primitives

Similar systems

Share the most building blocks with this one.