diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-05-17 18:48:28 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-05-17 18:48:28 -0700 |
commit | cc3754a2bdd6801179751d45f1df3b5816e189fc (patch) | |
tree | 21403a46563d5d5ea12e099e708c59213510718e /libxrdp | |
parent | da658dc1b4147c3d928ed2e13bef26280d64cd03 (diff) | |
download | xrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.tar.gz xrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.zip |
xorg: work on offscreen bitmaps
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/libxrdp.c | 17 | ||||
-rw-r--r-- | libxrdp/libxrdpinc.h | 5 | ||||
-rw-r--r-- | libxrdp/xrdp_orders.c | 4 |
3 files changed, 24 insertions, 2 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c index 05e67eb7..9e206c2c 100644 --- a/libxrdp/libxrdp.c +++ b/libxrdp/libxrdp.c @@ -754,3 +754,20 @@ libxrdp_orders_send_brush(struct xrdp_session* session, width, height, bpp, type, size, data, cache_id); } + +/*****************************************************************************/ +int EXPORT_CC +libxrdp_orders_send_create_os_surface(struct xrdp_session* session, int id, + int width, int height) +{ + return xrdp_orders_send_create_os_surface + ((struct xrdp_orders*)(session->orders), id, width, height); +} + +/*****************************************************************************/ +int EXPORT_CC +libxrdp_orders_send_switch_os_surface(struct xrdp_session* session, int id) +{ + return xrdp_orders_send_switch_os_surface + ((struct xrdp_orders*)(session->orders), id); +} diff --git a/libxrdp/libxrdpinc.h b/libxrdp/libxrdpinc.h index 82ac9ad0..b7974b35 100644 --- a/libxrdp/libxrdpinc.h +++ b/libxrdp/libxrdpinc.h @@ -176,5 +176,10 @@ int DEFAULT_CC libxrdp_orders_send_brush(struct xrdp_session* session, int width, int height, int bpp, int type, int size, char* data, int cache_id); +int EXPORT_CC +libxrdp_orders_send_create_os_surface(struct xrdp_session* session, int id, + int width, int height); +int EXPORT_CC +libxrdp_orders_send_switch_os_surface(struct xrdp_session* session, int id); #endif diff --git a/libxrdp/xrdp_orders.c b/libxrdp/xrdp_orders.c index 925c52aa..5acd42b0 100644 --- a/libxrdp/xrdp_orders.c +++ b/libxrdp/xrdp_orders.c @@ -1976,7 +1976,7 @@ xrdp_orders_send_create_os_surface(struct xrdp_orders* self, int id, int order_flags; int cache_id; - g_writeln("xrdp_orders_send_create_os_surface:"); + //g_writeln("xrdp_orders_send_create_os_surface:"); xrdp_orders_check(self, 7); self->order_count++; order_flags = RDP_ORDER_SECONDARY; @@ -1997,7 +1997,7 @@ xrdp_orders_send_switch_os_surface(struct xrdp_orders* self, int id) int order_flags; int cache_id; - g_writeln("xrdp_orders_send_switch_os_surface:"); + //g_writeln("xrdp_orders_send_switch_os_surface:"); xrdp_orders_check(self, 3); self->order_count++; order_flags = RDP_ORDER_SECONDARY; |