aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-07-09 16:44:11 +0200
committerPierre Ossman <ossman@cendio.se>2014-07-14 16:03:41 +0200
commit0c9bd4b0ba28f5aab8b1f3e2eb8d83e01915e2b8 (patch)
tree500f61ee230d30fa1f8e955214c698e86b69e2f4 /vncviewer/CConn.h
parent126e56420e47d72cc950d03976ee57d1efda436e (diff)
downloadtigervnc-0c9bd4b0ba28f5aab8b1f3e2eb8d83e01915e2b8.tar.gz
tigervnc-0c9bd4b0ba28f5aab8b1f3e2eb8d83e01915e2b8.zip
Use PixelBuffer objects as the interface for encoders and decoders
This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r--vncviewer/CConn.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h
index f7f560bc..709ca2f8 100644
--- a/vncviewer/CConn.h
+++ b/vncviewer/CConn.h
@@ -64,18 +64,8 @@ public:
void framebufferUpdateStart();
void framebufferUpdateEnd();
-
void dataRect(const rfb::Rect& r, int encoding);
- void fillRect(const rfb::Rect& r, rfb::Pixel p);
- void imageRect(const rfb::Rect& r, void* p);
- void copyRect(const rfb::Rect& r, int sx, int sy);
-
- rdr::U8* getRawBufferRW(const rfb::Rect& r, int* stride);
- void releaseRawBuffer(const rfb::Rect& r);
-
- const rfb::PixelFormat &getPreferredPF() { return fullColourPF; }
-
void setCursor(int width, int height, const rfb::Point& hotspot,
void* data, void* mask);