summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpup.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-12-16 17:29:08 -0800
committerJay Sorg <jay.sorg@gmail.com>2012-12-16 17:29:08 -0800
commit8a3ecc2a728265aed1ebb043a899ad888e8c2f66 (patch)
treeca8c337f8f18a3fd778fa72b0602921f045cd8ed /xorg/X11R7.6/rdp/rdpup.c
parent4c67aad4c46be80466017b082eae8d9ffad2768d (diff)
downloadxrdp-proprietary-8a3ecc2a728265aed1ebb043a899ad888e8c2f66.tar.gz
xrdp-proprietary-8a3ecc2a728265aed1ebb043a899ad888e8c2f66.zip
if mstsc, don't do pixmap to pixmap blits
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpup.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpup.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdpup.c b/xorg/X11R7.6/rdp/rdpup.c
index 4cc1b683..49cc55ee 100644
--- a/xorg/X11R7.6/rdp/rdpup.c
+++ b/xorg/X11R7.6/rdp/rdpup.c
@@ -55,6 +55,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_can_do_pix_to_pix; /* from rdpmain.c */
extern int g_use_rail; /* from rdpmain.c */
/* true is to use unix domain socket */
@@ -760,6 +761,16 @@ rdpup_process_msg(struct stream *s)
g_use_rail = 1;
rdpup_send_rail();
}
+ if (g_rdpScreen.client_info.offscreen_cache_entries == 2000)
+ {
+ LLOGLN(0, (" client can do offscreen to offscreen blits"));
+ g_can_do_pix_to_pix = 1;
+ }
+ else
+ {
+ LLOGLN(0, (" client can not do offscreen to offscreen blits"));
+ g_can_do_pix_to_pix = 0;
+ }
}
else
{
@@ -1681,7 +1692,8 @@ rdpup_create_window(WindowPtr pWindow, rdpWindowRec *priv)
int root_id;
char title[256];
- LLOGLN(10, ("rdpup_create_window: id 0x%8.8x", pWindow->drawable.id));
+ LLOGLN(10, ("rdpup_create_window: id 0x%8.8x",
+ (int)(pWindow->drawable.id)));
if (g_connected)
{
@@ -1777,7 +1789,8 @@ rdpup_create_window(WindowPtr pWindow, rdpWindowRec *priv)
void
rdpup_delete_window(WindowPtr pWindow, rdpWindowRec *priv)
{
- LLOGLN(10, ("rdpup_delete_window: id 0x%8.8x", pWindow->drawable.id));
+ LLOGLN(10, ("rdpup_delete_window: id 0x%8.8x",
+ (int)(pWindow->drawable.id)));
if (g_connected)
{