summaryrefslogtreecommitdiffstats
path: root/common/rfb/Encoder.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Change fillRect() to take a buffer instead of a pixelPierre Ossman2015-06-051-3/+1
| | | | | | | | There has been some confusion if fillRect() should accept a buffer or a pixel. This can cause misrendering if your data is not in the native endian order. A buffer makes more sense here though, and is what most of the callers are already assuming, so change the API to follow that.
* Reorder class initialiser list to match what actually happensPierre Ossman2015-03-031-2/+2
|
* Move image encoding logic into a central EncodeManager classPierre Ossman2014-07-141-34/+47
| | | | | | | | This allows us to apply a lot more server logic independently of which encoder is in use. Most of this class are things moved over from the Tight encoder.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-8/+8
| | | | | | The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters.
* Avoid reader/writer duplication in every encoder/decoderPierre Ossman2014-07-071-0/+5
|
* Get rid of the register mechanism for encoders and decodersPierre Ossman2014-07-071-38/+26
| | | | We have no use for it, so let's keep things simple.
* [Bugfix] Extend encoding range checks to handle negative encodings well.Adam Tkac2010-07-211-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4113 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-101-4/+4
| | | | | | | | | | | | encoding in the RFB protocol has always been signed, and signed values are also used in the specification (ie DesktopName = -307 etc). In the code, however, unsigned types were used in a number of places, but not all, which causes warnings. This patch fixes the problem by switching to signed values everywhere. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+77
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519