ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

cache.c File Reference
#include <precomp.h>

Go to the source code of this file.

Data Structures

struct  bmpcache_entry

Defines

#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

Functions

void cache_rebuild_bmpcache_linked_list (uint8 id, sint16 *idx, int count)
void cache_bump_bitmap (uint8 id, uint16 idx, int bump)
void cache_evict_bitmap (uint8 id)
RD_HBITMAP cache_get_bitmap (uint8 id, uint16 idx)
void cache_put_bitmap (uint8 id, uint16 idx, RD_HBITMAP bitmap)
void cache_save_state (void)
FONTGLYPHcache_get_font (uint8 font, uint16 character)
void cache_put_font (uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width, uint16 height, RD_HGLYPH pixmap)
DATABLOBcache_get_text (uint8 cache_id)
void cache_put_text (uint8 cache_id, void *data, int length)
uint8cache_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)
RD_HCURSOR cache_get_cursor (uint16 cache_idx)
void cache_put_cursor (uint16 cache_idx, RD_HCURSOR cursor)

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]

Generated on Fri May 25 2012 04:40:26 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.