Changeset 7591372 in Lumiera
- Timestamp:
-
2026-02-16T00:44:38Z
(3 weeks ago)
- Author:
- Ichthyostega <prg@…>
- Branches:
- dev/play
- Children:
- 3d6e2fe
- Parents:
- c0e2d3b
- git-author:
- Ichthyostega <prg@…> (15/02/26 23:42:23)
- git-committer:
- Ichthyostega <prg@…> (16/02/26 00:44:38)
- Message:
-
BufferProvider: sharpen criterion for bool(BuffHandle)
doing so requires to trace a new call path from front to back,
into the BufferMetadata implementation: there is now an explicit check
that the buffer is in LOCKED state, but not yet EMITTED and als that
it was not yet released()
I think the additional effort is justified
- in the regular / currently intended usage in the Render Engine,
this predicate is not required, since compliance to the Buffer Provider Protocol
as such is sufficient to ensure that
- but since all of this is getting more generic and polished now,
I could imagine future usages beyond the current confines; and then,
this semantics is what you'd expect from such a
bool() check:
»I am allowed to use it«
-
(No files)
-