2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-12-19 06:44:57 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup sequencer
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
struct Main;
|
2021-01-04 12:03:34 +11:00
|
|
|
struct Scene;
|
2020-12-19 06:44:57 +01:00
|
|
|
|
2023-11-03 09:05:31 +01:00
|
|
|
void SEQ_prefetch_stop_all();
|
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.
|
|
|
|
|
*/
|
2023-11-03 09:05:31 +01:00
|
|
|
void SEQ_prefetch_stop(Scene *scene);
|
|
|
|
|
bool SEQ_prefetch_need_redraw(Main *bmain, Scene *scene);
|