]> source.dussan.org Git - tigervnc.git/commit
Optimized detectVideo() function. Now it does the most work only when needed, not...
authorConstantin Kaplinsky <const@tightvnc.com>
Tue, 9 Oct 2007 09:31:41 +0000 (09:31 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Tue, 9 Oct 2007 09:31:41 +0000 (09:31 +0000)
commit646998a6ce14321d5facefca84602fbdca9a9e62
treed3428eaa62b952133fc00911f1b289c06d766af8
parentd0b15c6d15ddf619dbacb99616eee9bb67feb80e
Optimized detectVideo() function. Now it does the most work only when needed, not each time it's called. The video rectangle (m_videoRect) is now a member variable so it's remembered between calls to poll().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2352 3789f03b-4d11-0410-bbf8-ca57d06f2519
unix/x0vncserver/PollingManager.cxx
unix/x0vncserver/PollingManager.h