diff options
Diffstat (limited to 'server/display-channel.h')
-rw-r--r-- | server/display-channel.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/server/display-channel.h b/server/display-channel.h index ecf764d1..fb38ee2f 100644 --- a/server/display-channel.h +++ b/server/display-channel.h @@ -19,6 +19,7 @@ # define RED_WORKER_CLIENT_H_ #include "red_worker.h" +#include "cache-item.h" #include "pixmap-cache.h" typedef int64_t red_time_t; @@ -36,21 +37,6 @@ typedef struct Drawable Drawable; #define NUM_STREAMS 50 #define NUM_SURFACES 10000 -typedef struct CacheItem CacheItem; - -struct CacheItem { - union { - PipeItem pipe_data; - struct { - RingItem lru_link; - CacheItem *next; - } cache_data; - } u; - uint64_t id; - size_t size; - uint32_t inval_type; -}; - #define RED_COMPRESS_BUF_SIZE (1024 * 64) typedef struct RedCompressBuf RedCompressBuf; struct RedCompressBuf { |