Changeset 4fa18cf in Lumiera

Timestamp:
2026-03-10T18:57:41Z (6 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play
Children:
259d0a5
Parents:
7dee16b
Message:

BufferProvider: re-assessment of OutputSlot API requirements

One of the goals of this extended clean-up and refactoring is to allow
access to the data buffers of a DataSink through a BuffHandle as front-end.
Which essentially means that the Buffer Provider Protocol and the
Output Slot Protocol mesh together well.

After the clean-up of the BufferProvider implementation hierarchy,
the viability of this idea was demonstrated with the BufferProxyAdapter draft;
so it is now roughly clear what must be changed within the existing implementation
of OutputSlot. More specifically, the only actual implementation ever completed
was a dummy implementation for test (DiagnosticOutputSlot), which hooked
confusingly into the corresponding dummy implementation of BufferProvider,
that was written one year earlier (and was also without actual implementation
at that time).

So the second half of the task ahead seems very similar to the first part:

  • the base implementation of the Output Slot Protocol seems roughly acceptable
  • but the actual dummy implementation was somewhat confused and should be re-written from scratch, without any attempt to cut corners by re-using other dummy code

Note as part of this analysis I discovered some gap in the design
regarding timeout handling ⟶ Ticket #1417

(No files)

Note: See TracChangeset for help on using the changeset viewer.