Browse Source

The block size for the comparing update tracker was inefficently low. Raising

it from 16 to 64 pixels significantly reduces the CPU overhead in many cases,
without sacrificing much in what it detects.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4810 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 12 years ago
parent
commit
c997129ef3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      common/rfb/ComparingUpdateTracker.cxx

+ 1
- 1
common/rfb/ComparingUpdateTracker.cxx View File

@@ -35,7 +35,7 @@ ComparingUpdateTracker::~ComparingUpdateTracker()
}


#define BLOCK_SIZE 16
#define BLOCK_SIZE 64

bool ComparingUpdateTracker::compare()
{

Loading…
Cancel
Save