summaryrefslogtreecommitdiffstats
path: root/common/rfb/CopyRectDecoder.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-3/+2
| | | | | | | 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.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-4/+4
| | | | | | 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.
* Handle CopyRect like any other encodingPierre Ossman2014-07-071-0/+39
Avoids having to special case things. Keeps the code simpler.