Implemented new polling algorithm with video detection.
Continuously-changed areas like video windows would be updated with
reduced rate, to improve responsiveness of other screen elements.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@355 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/x0vncserver/PollingManager.h b/x0vncserver/PollingManager.h
index 9befee9..59eb22e 100644
--- a/x0vncserver/PollingManager.h
+++ b/x0vncserver/PollingManager.h
@@ -43,6 +43,7 @@
protected:
+ void poll_DetectVideo();
void poll_SkipCycles();
void poll_Traditional();
void poll_Dumb();
@@ -61,9 +62,12 @@
char *m_statusMatrix;
+ char *m_rateMatrix;
+ char *m_videoFlags;
+ char *m_changedFlags;
+
unsigned int m_pollingStep;
static const int m_pollingOrder[];
- static const char m_bitsSet[];
};