timeline: implement nest function

Also includes some improved cache/request code
This commit is contained in:
itsmattkc
2022-10-01 13:04:51 -07:00
parent 087325e4b2
commit df97df635d
16 changed files with 230 additions and 45 deletions
+7
View File
@@ -223,6 +223,13 @@ void PlaybackCache::InvalidateAll()
Invalidate(TimeRange(0, RATIONAL_MAX));
}
void PlaybackCache::Request(const TimeRange &r)
{
requested_.insert(r);
emit Requested(r);
}
void PlaybackCache::Validate(const TimeRange &r, bool signal)
{
validated_.insert(r);