summaryrefslogtreecommitdiffstats
path: root/vncviewer/PlatformPixelBuffer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-0/+16
| | | | | | | 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.
* Get rid of getStride()Pierre Ossman2014-07-071-2/+2
| | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
* Create a proper interface base class for the viewport's framebufferPierre Ossman2014-07-071-0/+26
This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.