aboutsummaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/PollingManager.h
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-01-17 17:41:48 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-01-17 17:41:48 +0000
commit85b5eb9f67c208dce349d7481e4f2d5bb629c236 (patch)
tree3d8800b3b0f2d07021b9f4793cc1dd33238188fc /unix/x0vncserver/PollingManager.h
parent20390a2f4609bb3a677c00eb1eb58a9a43dbb7d4 (diff)
downloadtigervnc-85b5eb9f67c208dce349d7481e4f2d5bb629c236.tar.gz
tigervnc-85b5eb9f67c208dce349d7481e4f2d5bb629c236.zip
Code refactoring: introduced m_changeFlags member variable, instead of similar local variable.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2406 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver/PollingManager.h')
-rw-r--r--unix/x0vncserver/PollingManager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h
index 3cb1e8bb..3ac160cd 100644
--- a/unix/x0vncserver/PollingManager.h
+++ b/unix/x0vncserver/PollingManager.h
@@ -122,6 +122,11 @@ private:
int m_heightTiles; // shortcut for ((m_height + 31) / 32)
int m_numTiles; // shortcut for (m_widthTiles * m_heightTiles)
+ // m_changeFlags[] array will hold boolean values corresponding to
+ // each 32x32 tile. If a value is true, then we've detected a change
+ // in that tile.
+ bool *m_changeFlags;
+
char *m_rateMatrix;
char *m_videoFlags;
Rect m_videoRect;