ReactOS 0.4.16-dev-197-g92996da
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | bmpcache_entry |
Macros | |
#define | NUM_ELEMENTS(array) (sizeof(array) / sizeof(array[0])) |
#define | TO_TOP -1 |
#define | NOT_SET -1 |
#define | IS_SET(idx) (idx >= 0) |
#define | BUMP_COUNT 40 |
Variables | |
int | g_pstcache_fd [] |
static struct bmpcache_entry | g_bmpcache [3][0xa00] |
static RD_HBITMAP | g_volatile_bc [3] |
static int | g_bmpcache_lru [3] = { NOT_SET, NOT_SET, NOT_SET } |
static int | g_bmpcache_mru [3] = { NOT_SET, NOT_SET, NOT_SET } |
static int | g_bmpcache_count [3] |
static FONTGLYPH | g_fontcache [12][256] |
static DATABLOB | g_textcache [256] |
static uint8 | g_deskcache [0x38400 *4] |
static RD_HCURSOR | g_cursorcache [0x20] |
static BRUSHDATA | g_brushcache [2][64] |
Definition at line 104 of file cache.c.
Referenced by cache_get_bitmap(), and cache_put_bitmap().
Definition at line 170 of file cache.c.
Referenced by cache_put_bitmap().
RD_HBITMAP cache_get_bitmap | ( | uint8 | id, |
uint16 | idx | ||
) |
Definition at line 195 of file cache.c.
Referenced by process_memblt(), and process_triblt().
Definition at line 441 of file cache.c.
Referenced by setup_brush().
RD_HCURSOR cache_get_cursor | ( | uint16 | cache_idx | ) |
Definition at line 400 of file cache.c.
Referenced by process_cached_pointer_pdu().
Definition at line 353 of file cache.c.
Referenced by RdpClientUI::Display_RestoreDesktop(), and ui_desktop_restore().
Definition at line 279 of file cache.c.
Referenced by RdpClientUI::Display_DoGlyph().
Definition at line 325 of file cache.c.
Referenced by RdpClientUI::Display_DrawText(), and ui_draw_text().
void cache_put_bitmap | ( | uint8 | id, |
uint16 | idx, | ||
RD_HBITMAP | bitmap | ||
) |
Definition at line 218 of file cache.c.
Referenced by process_bmpcache(), process_bmpcache2(), process_raw_bmpcache(), and pstcache_load_bitmap().
Definition at line 455 of file cache.c.
Referenced by process_brushcache().
void cache_put_cursor | ( | uint16 | cache_idx, |
RD_HCURSOR | cursor | ||
) |
Definition at line 417 of file cache.c.
Referenced by process_colour_pointer_common(), and process_colour_pointer_pdu().
void cache_put_desktop | ( | uint32 | offset, |
int | cx, | ||
int | cy, | ||
int | scanline, | ||
int | bytes_per_pixel, | ||
uint8 * | data | ||
) |
Definition at line 371 of file cache.c.
Referenced by RdpClientUI::Display_SaveDesktop(), and ui_desktop_save().
void cache_put_font | ( | uint8 | font, |
uint16 | character, | ||
uint16 | offset, | ||
uint16 | baseline, | ||
uint16 | width, | ||
uint16 | height, | ||
RD_HGLYPH | pixmap | ||
) |
Definition at line 335 of file cache.c.
Referenced by RdpClientUI::Display_DrawText(), and ui_draw_text().
|
static |
Definition at line 48 of file cache.c.
Referenced by cache_bump_bitmap(), cache_evict_bitmap(), cache_get_bitmap(), cache_put_bitmap(), cache_rebuild_bmpcache_linked_list(), and cache_save_state().
|
static |
Definition at line 54 of file cache.c.
Referenced by cache_bump_bitmap(), cache_evict_bitmap(), cache_put_bitmap(), and cache_rebuild_bmpcache_linked_list().
Definition at line 51 of file cache.c.
Referenced by cache_bump_bitmap(), cache_evict_bitmap(), cache_rebuild_bmpcache_linked_list(), and cache_save_state().
Definition at line 52 of file cache.c.
Referenced by cache_bump_bitmap(), and cache_rebuild_bmpcache_linked_list().
|
static |
Definition at line 437 of file cache.c.
Referenced by cache_get_brush_data(), and cache_put_brush_data().
|
static |
Definition at line 396 of file cache.c.
Referenced by cache_get_cursor(), and cache_put_cursor().
|
static |
Definition at line 349 of file cache.c.
Referenced by cache_get_desktop(), and cache_put_desktop().
|
static |
Definition at line 275 of file cache.c.
Referenced by cache_get_font(), and cache_put_font().
|
extern |
Definition at line 31 of file pstcache.c.
Referenced by pstcache_enumerate(), pstcache_init(), pstcache_load_bitmap(), pstcache_save_bitmap(), and pstcache_touch_bitmap().
|
static |
Definition at line 321 of file cache.c.
Referenced by cache_get_text(), and cache_put_text().
|
static |
Definition at line 49 of file cache.c.
Referenced by cache_get_bitmap(), and cache_put_bitmap().