aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/UpdateTracker.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-06-18 16:29:55 +0200
committerPierre Ossman <ossman@cendio.se>2018-11-01 16:11:42 +0100
commita114c343bc63a8fb11bc78ba5e40dd0963d24357 (patch)
tree2e87d03d589e97dc97d842deb580976f04370ede /common/rfb/UpdateTracker.h
parent0d3ce87f11c7bbafe071a966e78a2921819d2d58 (diff)
downloadtigervnc-a114c343bc63a8fb11bc78ba5e40dd0963d24357.tar.gz
tigervnc-a114c343bc63a8fb11bc78ba5e40dd0963d24357.zip
Move copy rect handling to EncodeManager
No need to spread things out. Keep all of the handling in a single place to make things clearer.
Diffstat (limited to 'common/rfb/UpdateTracker.h')
-rw-r--r--common/rfb/UpdateTracker.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/rfb/UpdateTracker.h b/common/rfb/UpdateTracker.h
index 8e96d55e..8983b378 100644
--- a/common/rfb/UpdateTracker.h
+++ b/common/rfb/UpdateTracker.h
@@ -68,11 +68,9 @@ namespace rfb {
class SimpleUpdateTracker : public UpdateTracker {
public:
- SimpleUpdateTracker(bool use_copyrect=true);
+ SimpleUpdateTracker();
virtual ~SimpleUpdateTracker();
- virtual void enable_copyrect(bool enable);
-
virtual void add_changed(const Region &region);
virtual void add_copied(const Region &dest, const Point &delta);
virtual void subtract(const Region& region);
@@ -94,7 +92,6 @@ namespace rfb {
Region changed;
Region copied;
Point copy_delta;
- bool copy_enabled;
};
}