2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
* Copyright 2004 Blender Foundation. All rights reserved. */
|
2020-12-19 06:44:57 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup sequencer
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
struct Main;
|
2021-01-04 12:03:34 +11:00
|
|
|
struct Scene;
|
2020-12-19 06:44:57 +01:00
|
|
|
|
|
|
|
|
void SEQ_prefetch_stop_all(void);
|
2021-12-08 21:02:29 +11:00
|
|
|
/**
|
|
|
|
|
* Use also to update scene and context changes
|
|
|
|
|
* This function should almost always be called by cache invalidation, not directly.
|
|
|
|
|
*/
|
2020-12-19 06:44:57 +01:00
|
|
|
void SEQ_prefetch_stop(struct Scene *scene);
|
|
|
|
|
bool SEQ_prefetch_need_redraw(struct Main *bmain, struct Scene *scene);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|