]> source.dussan.org Git - tigervnc.git/commit
Delegate decoder object management to a separate class
authorPierre Ossman <ossman@cendio.se>
Mon, 9 Nov 2015 15:34:54 +0000 (16:34 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 27 Nov 2015 09:56:26 +0000 (10:56 +0100)
commit9f273e9cd806288a37d1aae2d9f9ddae7262b8e5
tree606123fc1b4a41eb740ec6750404aa41aa483182
parent0068a4f5faa309b1f5e49dbf37d49f72db806cb4
Delegate decoder object management to a separate class

Done in preparation for multi-core decoding. Keeps the complexity
out of the other classes. This also moves ownership of the
framebuffer in to CConnection. It's the CConnection object that is
aware of the threads and how to synchronise with them. Therefore
the ownership of the framebuffer must also be there to make sure
it isn't deleted whilst threads are working.
13 files changed:
common/rfb/CConnection.cxx
common/rfb/CConnection.h
common/rfb/CMakeLists.txt
common/rfb/DecodeManager.cxx [new file with mode: 0644]
common/rfb/DecodeManager.h [new file with mode: 0644]
tests/decperf.cxx
tests/encperf.cxx
vncviewer/CConn.cxx
vncviewer/CConn.h
vncviewer/DesktopWindow.cxx
vncviewer/DesktopWindow.h
vncviewer/Viewport.cxx
vncviewer/Viewport.h