~paulliu/ubuntu/precise/freerdp/fixext

« back to all changes in this revision

Viewing changes to server/X11/xf_peer.h

  • Committer: Package Import Robot
  • Author(s): Otavio Salvador
  • Date: 2012-02-11 10:34:05 UTC
  • mfrom: (1.2.2)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20120211103405-x2wgdb6x8plb7cdk
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <freerdp/utils/stream.h>
29
29
#include <freerdp/utils/stopwatch.h>
30
30
 
 
31
typedef struct xf_peer_context xfPeerContext;
 
32
 
31
33
#include "xfreerdp.h"
32
34
 
33
35
struct xf_peer_context
34
36
{
35
37
        rdpContext _p;
36
38
 
 
39
        int fps;
 
40
        STREAM* s;
37
41
        HGDI_DC hdc;
38
 
        STREAM* s;
39
42
        xfInfo* info;
40
 
        int pipe_fd[2];
 
43
        int activations;
 
44
        pthread_t thread;
41
45
        boolean activated;
 
46
        pthread_mutex_t mutex;
42
47
        RFX_CONTEXT* rfx_context;
43
 
        uint8* capture_buffer;
44
 
        pthread_t thread;
45
 
        int activations;
46
 
        STOPWATCH* stopwatch;
47
 
        pthread_mutex_t mutex;
 
48
        xfEventQueue* event_queue;
 
49
        pthread_t frame_rate_thread;
48
50
};
49
 
typedef struct xf_peer_context xfPeerContext;
50
51
 
51
52
void xf_peer_accepted(freerdp_listener* instance, freerdp_peer* client);
52
53