aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Decoder.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-12 13:17:42 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-27 11:09:38 +0100
commit1412789e1264b73f7f4d05242bcfbf960f618b15 (patch)
treeca367d336ac697a30bc3f12037eff8add48543e7 /common/rfb/Decoder.cxx
parent570cd5c478da3a8dfd2d7f728671f0171fd3893a (diff)
downloadtigervnc-1412789e1264b73f7f4d05242bcfbf960f618b15.tar.gz
tigervnc-1412789e1264b73f7f4d05242bcfbf960f618b15.zip
Decode overlapping rectangles in order
Diffstat (limited to 'common/rfb/Decoder.cxx')
-rw-r--r--common/rfb/Decoder.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/rfb/Decoder.cxx b/common/rfb/Decoder.cxx
index f9bbffca..df785ebe 100644
--- a/common/rfb/Decoder.cxx
+++ b/common/rfb/Decoder.cxx
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
#include <rfb/encodings.h>
+#include <rfb/Region.h>
#include <rfb/Decoder.h>
#include <rfb/RawDecoder.h>
#include <rfb/CopyRectDecoder.h>
@@ -36,6 +37,13 @@ Decoder::~Decoder()
{
}
+void Decoder::getAffectedRegion(const Rect& rect, const void* buffer,
+ size_t buflen, const ConnParams& cp,
+ Region* region)
+{
+ region->reset(rect);
+}
+
bool Decoder::supported(int encoding)
{
switch (encoding) {