diff options
author | Jim Grandy <jgrandy@authentic8.com> | 2013-07-05 14:55:31 -0700 |
---|---|---|
committer | Jim Grandy <jgrandy@authentic8.com> | 2013-08-22 12:52:31 -0700 |
commit | 4e9516e00c3a1653bdb3e0134aa7ee97ed049757 (patch) | |
tree | 8f3fe75419cf78f755d88d3480bd46874a130ea8 /xorg/X11R7.6/rdp/rdpup.c | |
parent | bd8083d7e2be0421d99ba2ba24d7fb7221988a30 (diff) | |
download | xrdp-proprietary-4e9516e00c3a1653bdb3e0134aa7ee97ed049757.tar.gz xrdp-proprietary-4e9516e00c3a1653bdb3e0134aa7ee97ed049757.zip |
Hand-apply patches (glphy cache) from Authetnic8 branch: 1048147 3fc5974 0552905 00b08a0
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpup.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg/X11R7.6/rdp/rdpup.c b/xorg/X11R7.6/rdp/rdpup.c index 451b552c..aa5035ef 100644 --- a/xorg/X11R7.6/rdp/rdpup.c +++ b/xorg/X11R7.6/rdp/rdpup.c @@ -54,6 +54,7 @@ extern ScreenPtr g_pScreen; /* from rdpmain.c */ extern int g_Bpp; /* from rdpmain.c */ extern int g_Bpp_mask; /* from rdpmain.c */ extern rdpScreenInfoRec g_rdpScreen; /* from rdpmain.c */ +extern int g_do_glyph_cache; /* from rdpmain.c */ extern int g_can_do_pix_to_pix; /* from rdpmain.c */ extern int g_use_rail; /* from rdpmain.c */ @@ -157,6 +158,7 @@ rdpup_disconnect(void) g_free(g_os_bitmaps); g_os_bitmaps = 0; g_use_rail = 0; + g_do_glyph_cache = 0; return 0; } @@ -765,6 +767,11 @@ rdpup_process_msg(struct stream *s) rdpup_send_rail(); #endif } + if (g_rdpScreen.client_info.orders[0x1b]) /* 27 NEG_GLYPH_INDEX_INDEX */ + { + LLOGLN(0, (" using glyph cache")); + g_do_glyph_cache = 1; + } if (g_rdpScreen.client_info.offscreen_cache_entries == 2000) { LLOGLN(0, (" client can do offscreen to offscreen blits")); |