#include "rdesktop.h"Include dependency graph for cache.cpp:

Go to the source code of this file.
Defines | |
| #define | NUM_ELEMENTS(array) (sizeof(array) / sizeof(array[0])) |
Functions | |
| HBITMAP | cache_get_bitmap (uint8 cache_id, uint16 cache_idx) |
| void | cache_put_bitmap (uint8 cache_id, uint16 cache_idx, HBITMAP bitmap) |
| FONTGLYPH * | cache_get_font (uint8 font, uint16 character) |
| void | cache_put_font (uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width, uint16 height, HGLYPH pixmap) |
| DATABLOB * | cache_get_text (uint8 cache_id) |
| void | cache_put_text (uint8 cache_id, void *data, int length) |
| uint8 * | cache_get_desktop (uint32 offset, int cx, int cy, int bytes_per_pixel) |
| void | cache_put_desktop (uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel, uint8 *data) |
| HCURSOR | cache_get_cursor (uint16 cache_idx) |
| void | cache_put_cursor (uint16 cache_idx, HCURSOR cursor) |
Variables | |
| static HBITMAP | bmpcache [3][600] |
| static FONTGLYPH | fontcache [12][256] |
| static DATABLOB | textcache [256] |
| static uint8 | deskcache [0x38400] |
| static HCURSOR | cursorcache [0x20] |
|
|
Definition at line 23 of file cache.cpp. Referenced by cache_get_bitmap(), cache_get_cursor(), cache_get_font(), cache_get_text(), cache_put_bitmap(), cache_put_cursor(), cache_put_font(), and cache_put_text(). |
|
||||||||||||
|
Definition at line 31 of file cache.cpp. References bmpcache, error(), NULL, and NUM_ELEMENTS. Referenced by process_memblt(), and process_triblt(). |
|
|
Definition at line 202 of file cache.cpp. References cursorcache, error(), NULL, and NUM_ELEMENTS. Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||
|
Definition at line 161 of file cache.cpp. References deskcache, error(), and NULL. Referenced by ui_desktop_restore(). |
|
||||||||||||
|
Definition at line 72 of file cache.cpp. References error(), NULL, NUM_ELEMENTS, and _FONTGLYPH::pixmap. |
|
|
Definition at line 118 of file cache.cpp. References _DATABLOB::data, error(), NULL, NUM_ELEMENTS, and text. Referenced by ui_draw_text(). |
|
||||||||||||||||
|
Definition at line 48 of file cache.cpp. References bmpcache, error(), NULL, NUM_ELEMENTS, and ui_destroy_bitmap(). Referenced by process_bmpcache(), and process_raw_bmpcache(). |
|
||||||||||||
|
Definition at line 219 of file cache.cpp. References cursorcache, error(), NULL, NUM_ELEMENTS, and ui_destroy_cursor(). Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||||||||||
|
Definition at line 176 of file cache.cpp. References deskcache, and error(). Referenced by ui_desktop_save(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 89 of file cache.cpp. References _FONTGLYPH::baseline, error(), _FONTGLYPH::height, NULL, NUM_ELEMENTS, _FONTGLYPH::offset, _FONTGLYPH::pixmap, ui_destroy_glyph(), and _FONTGLYPH::width. Referenced by process_fontcache(). |
|
||||||||||||||||
|
Definition at line 135 of file cache.cpp. References _DATABLOB::data, error(), NULL, NUM_ELEMENTS, _DATABLOB::size, text, xfree(), and xmalloc(). Referenced by ui_draw_text(). |
|
|
Definition at line 27 of file cache.cpp. Referenced by cache_get_bitmap(), and cache_put_bitmap(). |
|
|
Definition at line 198 of file cache.cpp. Referenced by cache_get_cursor(), and cache_put_cursor(). |
|
|
Definition at line 157 of file cache.cpp. Referenced by cache_get_desktop(), and cache_put_desktop(). |
|
|
|
|
|
|
1.4.2