20 #ifndef FREERDP_LIB_CACHE_BITMAP_H
21 #define FREERDP_LIB_CACHE_BITMAP_H
23 #include <freerdp/api.h>
24 #include <freerdp/update.h>
26 #include <freerdp/cache/persistent.h>
38 pCacheBitmap CacheBitmap;
39 pCacheBitmapV2 CacheBitmapV2;
40 pCacheBitmapV3 CacheBitmapV3;
41 pBitmapUpdate BitmapUpdate;
42 UINT32 paddingA[16 - 6];
46 UINT32 paddingB[32 - 18];
50 rdpPersistentCache* persistent;
58 FREERDP_LOCAL
void bitmap_cache_register_callbacks(rdpUpdate* update);
60 FREERDP_LOCAL
void bitmap_cache_free(
rdpBitmapCache* bitmap_cache);
62 WINPR_ATTR_MALLOC(bitmap_cache_free, 1)
63 FREERDP_LOCAL
rdpBitmapCache* bitmap_cache_new(rdpContext* context);
65 FREERDP_LOCAL
void free_bitmap_update(rdpContext* context,
BITMAP_UPDATE* pointer);
67 WINPR_ATTR_MALLOC(free_bitmap_update, 2)
68 FREERDP_LOCAL
BITMAP_UPDATE* copy_bitmap_update(rdpContext* context,
71 FREERDP_LOCAL
void free_cache_bitmap_order(rdpContext* context,
CACHE_BITMAP_ORDER* order);
73 WINPR_ATTR_MALLOC(free_cache_bitmap_order, 2)
77 FREERDP_LOCAL
void free_cache_bitmap_v2_order(rdpContext* context,
80 WINPR_ATTR_MALLOC(free_cache_bitmap_v2_order, 2)
84 FREERDP_LOCAL
void free_cache_bitmap_v3_order(rdpContext* context,
87 WINPR_ATTR_MALLOC(free_cache_bitmap_v3_order, 2)