mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
util/disk_cache: Move struct cache_entry_file_data to the disk_cache_os.h
Relocate struct cache_entry_file_data to the header file, making it accessible to the cache testing code. This is a preparatory step towards addition of the new Mesa-DB cache type. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16888>
This commit is contained in:
parent
d86335dd49
commit
517e523a2a
2 changed files with 5 additions and 5 deletions
|
|
@ -36,11 +36,6 @@
|
|||
#include "util/disk_cache.h"
|
||||
#include "util/disk_cache_os.h"
|
||||
|
||||
struct cache_entry_file_data {
|
||||
uint32_t crc32;
|
||||
uint32_t uncompressed_size;
|
||||
};
|
||||
|
||||
#if DETECT_OS_WINDOWS
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -80,6 +80,11 @@ struct disk_cache {
|
|||
bool compression_disabled;
|
||||
};
|
||||
|
||||
struct cache_entry_file_data {
|
||||
uint32_t crc32;
|
||||
uint32_t uncompressed_size;
|
||||
};
|
||||
|
||||
struct disk_cache_put_job {
|
||||
struct util_queue_fence fence;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue