summaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgWriter.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-02-11 17:43:15 +0100
committerPierre Ossman <ossman@cendio.se>2015-02-13 11:13:53 +0100
commit20dd2a92de600752a70224836b1c713f962dc475 (patch)
tree58fa4c9046a7c63fcbe3dddfdb8948fcacd77888 /common/rfb/SMsgWriter.h
parenta43a3f4e0e1ae9faa389a91ad9a38db4af4c54c8 (diff)
downloadtigervnc-20dd2a92de600752a70224836b1c713f962dc475.tar.gz
tigervnc-20dd2a92de600752a70224836b1c713f962dc475.zip
Move encoder statistics into EncodeManager from SMsgWriter
It knows more details so it can track things better.
Diffstat (limited to 'common/rfb/SMsgWriter.h')
-rw-r--r--common/rfb/SMsgWriter.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/rfb/SMsgWriter.h b/common/rfb/SMsgWriter.h
index deddd3cd..917b933c 100644
--- a/common/rfb/SMsgWriter.h
+++ b/common/rfb/SMsgWriter.h
@@ -109,11 +109,6 @@ namespace rfb {
void startRect(const Rect& r, int enc);
void endRect();
- int getUpdatesSent() { return updatesSent; }
- int getRectsSent(int encoding) { return rectsSent[encoding]; }
- int getBytesSent(int encoding) { return bytesSent[encoding]; }
- rdr::U64 getRawBytesEquivalent() { return rawBytesEquivalent; }
-
protected:
void startMsg(int type);
void endMsg();
@@ -137,8 +132,6 @@ namespace rfb {
ConnParams* cp;
rdr::OutStream* os;
- int currentEncoding;
-
int nRectsInUpdate;
int nRectsInHeader;
@@ -149,12 +142,6 @@ namespace rfb {
bool needSetCursor;
bool needSetXCursor;
- int lenBeforeRect;
- int updatesSent;
- int bytesSent[encodingMax+1];
- int rectsSent[encodingMax+1];
- rdr::U64 rawBytesEquivalent;
-
typedef struct {
rdr::U16 reason, result;
int fb_width, fb_height;