aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-09 16:34:54 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-27 10:56:26 +0100
commit9f273e9cd806288a37d1aae2d9f9ddae7262b8e5 (patch)
tree606123fc1b4a41eb740ec6750404aa41aa483182 /vncviewer/Viewport.h
parent0068a4f5faa309b1f5e49dbf37d49f72db806cb4 (diff)
downloadtigervnc-9f273e9cd806288a37d1aae2d9f9ddae7262b8e5.tar.gz
tigervnc-9f273e9cd806288a37d1aae2d9f9ddae7262b8e5.zip
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.
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r--vncviewer/Viewport.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 387ff03b..f73a27d2 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -46,9 +46,6 @@ public:
// Flush updates to screen
void updateWindow();
- // Return a pointer to the framebuffer for decoders to write into
- rfb::ModifiablePixelBuffer* getFramebuffer(void);
-
// New image for the locally rendered cursor
void setCursor(int width, int height, const rfb::Point& hotspot,
void* data, void* mask);