summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdp.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-01-17 00:23:23 -0800
committerJay Sorg <jay.sorg@gmail.com>2014-01-17 00:23:23 -0800
commit522cedf12e3224bc95b29eb846e7188947576a6c (patch)
treeede884401ef053c7424941166ceb76904b83a7f3 /xorg/server/module/rdp.h
parent885804cf14502609d46803935a795265246c9d06 (diff)
downloadxrdp-proprietary-522cedf12e3224bc95b29eb846e7188947576a6c.tar.gz
xrdp-proprietary-522cedf12e3224bc95b29eb846e7188947576a6c.zip
xorg: work on driver
Diffstat (limited to 'xorg/server/module/rdp.h')
-rw-r--r--xorg/server/module/rdp.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/xorg/server/module/rdp.h b/xorg/server/module/rdp.h
index 4c6511e0..b912b4b8 100644
--- a/xorg/server/module/rdp.h
+++ b/xorg/server/module/rdp.h
@@ -1,5 +1,5 @@
/*
-Copyright 2005-2013 Jay Sorg
+Copyright 2005-2014 Jay Sorg
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
@@ -38,6 +38,20 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define RDPCLAMP(_val, _lo, _hi) \
(_val) < (_lo) ? (_lo) : (_val) > (_hi) ? (_hi) : (_val)
+struct image_data
+{
+ int width;
+ int height;
+ int bpp;
+ int Bpp;
+ int lineBytes;
+ char *pixels;
+ char *shmem_pixels;
+ int shmem_id;
+ int shmem_offset;
+ int shmem_lineBytes;
+};
+
/* defined in rdpClientCon.h */
typedef struct _rdpClientCon rdpClientCon;
@@ -84,6 +98,8 @@ struct _rdpPixmapRec
};
typedef struct _rdpPixmapRec rdpPixmapRec;
typedef struct _rdpPixmapRec * rdpPixmapPtr;
+#define GETPIXPRIV(_dev, _pPixmap) (rdpPixmapPtr) \
+rdpGetPixmapPrivate(&((_pPixmap)->devPrivates), (_dev)->privateKeyRecPixmap)
/* move this to common header */
struct _rdpRec
@@ -141,6 +157,7 @@ struct _rdpRec
int sendUpdateScheduled; /* boolean */
OsTimerPtr sendUpdateTimer;
+ int do_dirty_os; /* boolean */
int do_dirty_ons; /* boolean */
int disconnect_scheduled; /* boolean */
int do_kill_disconnected; /* boolean */
@@ -150,6 +167,8 @@ struct _rdpRec
int disconnect_timeout_s;
int disconnect_time_ms;
+ int conNumber;
+
};
typedef struct _rdpRec rdpRec;
typedef struct _rdpRec * rdpPtr;