summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-01-12 00:48:11 +0000
committerjsorg71 <jsorg71>2005-01-12 00:48:11 +0000
commit1d03bafb9e8ff4cef59b041235a986d6e4ae2fce (patch)
treef7ad121305b66baf59612fdd54753f29324d25e3 /xrdp/xrdp_types.h
parentff5f2d59b10ca11bc9f5382f94323325dd0045ed (diff)
downloadxrdp-proprietary-1d03bafb9e8ff4cef59b041235a986d6e4ae2fce.tar.gz
xrdp-proprietary-1d03bafb9e8ff4cef59b041235a986d6e4ae2fce.zip
added bitmap cache
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index b4bd26c9..fedbbbd6 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -180,6 +180,12 @@ struct xrdp_rdp
int width;
int height;
int up_and_running;
+ int cache1_entries;
+ int cache1_size;
+ int cache2_entries;
+ int cache2_size;
+ int cache3_entries;
+ int cache3_size;
};
/* orders */
@@ -309,6 +315,13 @@ struct xrdp_cache
struct xrdp_bitmap_item bitmap_items[3][600];
int char_stamp;
struct xrdp_char_item char_items[12][256];
+ int use_bitmap_comp;
+ int cache1_entries;
+ int cache1_size;
+ int cache2_entries;
+ int cache2_size;
+ int cache3_entries;
+ int cache3_size;
};
/* the window manager */
@@ -364,9 +377,10 @@ struct xrdp_wm
int (*mod_exit)(int);
struct xrdp_mod* mod;
/* */
- int use_comp;
+ int use_bitmap_comp;
+ int use_bitmap_cache;
/* */
- int op1;
+ int op1; /* use smaller bitmap header, todo */
};
/* rdp process */
@@ -461,6 +475,8 @@ struct xrdp_bitmap
/* for popup */
struct xrdp_bitmap* popped_from;
int item_height;
+ /* crc */
+ int crc;
};
/* font */