• Jonas Ådahl's avatar
    screen-cast: Add 'cursor-mode' to allow decoupled cursor updates · 4e402b39
    Jonas Ådahl authored
    The 'cursor-mode', which currently is limited to RecordMonitor(), allows
    the user to either do screen casts where the cursor is hidden, embedded
    in the framebuffer, or sent as PipeWire stream metadata.
    The latter allows the user to get cursor updates sent, including the
    cursor sprite, without requiring a stage paint each frame. Currently
    this is done by using the cursor sprite texture, and either reading
    directly from, or drawing to an offscreen framebuffer which is read from
    instead, in case the texture is scaled.