Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::HostDragCoalescer::SubmitResult Struct Reference

What a host must do in response to a submitted sample. More...

#include <host_drag_coalescer.hpp>

Public Attributes

bool arm_repaint = false
 The sample was held and this is the idle->pending edge.
std::size_t delivered = 0
 Samples handed to deliver during this call.

Detailed Description

What a host must do in response to a submitted sample.

Member Data Documentation

◆ arm_repaint

bool pulp::view::HostDragCoalescer::SubmitResult::arm_repaint = false

The sample was held and this is the idle->pending edge.

The host must arm EXACTLY ONE repaint/dirty request here — enough to mark the surface dirty and to keep its frame driver's dispatch gate open so a flush is guaranteed to come, without the per-sample invalidation storm coalescing exists to remove.

◆ delivered

std::size_t pulp::view::HostDragCoalescer::SubmitResult::delivered = 0

Samples handed to deliver during this call.

Non-zero when the fail-safe is active, or when the sample could not merge into the held one (different pointer or button) and forced a flush.


The documentation for this struct was generated from the following file: