diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-11 11:18:34 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-11 11:18:34 +0000 |
commit | cd2c5d46c2a651013a1005a9e42ef77ebfcaf82e (patch) | |
tree | 1c0d6492a93636cf5995fb56916b64c841e6b043 /common/rdr | |
parent | 0aae4f44cb74620ca6398a531be868f9c1596eca (diff) | |
download | tigervnc-cd2c5d46c2a651013a1005a9e42ef77ebfcaf82e.tar.gz tigervnc-cd2c5d46c2a651013a1005a9e42ef77ebfcaf82e.zip |
Ported encoding optimizations from TurboVNC. The changes to the Tight parameters were determined through extensive low-level profiling (see http://www.virtualgl.org/pmwiki/uploads/About/turbototiger.pdf). The other enhancements involved: (1) porting the solid subrectangle pre-computation code from TightVNC/TurboVNC (it makes a pretty big difference-- see report), (2) encapsulating the JPEG encoder in its own class (this eliminates a buffer copy, and the JPEG buffer is now set to a decent size where it shouldn't ever need to be paged or re-allocated, except in rare corner cases), (3) adding support for last rect. encoding (necessary to support the solid rectangle pre-computation enhancements.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4626 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rdr')
-rw-r--r-- | common/rdr/MemOutStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rdr/MemOutStream.h b/common/rdr/MemOutStream.h index ee3e9500..3b17e555 100644 --- a/common/rdr/MemOutStream.h +++ b/common/rdr/MemOutStream.h @@ -55,7 +55,7 @@ namespace rdr { const void* data() { return (const void*)start; } - private: + protected: // overrun() either doubles the buffer or adds enough space for nItems of // size itemSize bytes. |