summaryrefslogtreecommitdiffstats
path: root/common/rfb/PixelBuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow PixelBuffers to be constPierre Ossman2014-07-141-8/+4
|
* Add convenience variant of getImage()Pierre Ossman2014-07-141-0/+5
|
* Add convenience functions to ModifiablePixelBufferPierre Ossman2014-07-091-0/+7
| | | | | Allows you to modify the buffer with data in a different pixel format.
* Provide a better R/W base PixelBuffer classPierre Ossman2014-07-071-10/+36
| | | | | Clearly separates the read API from the write API and also from actual implementation.
* Get rid of getStride()Pierre Ossman2014-07-071-5/+3
| | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
* Get rid of the direct access abuse of FullFramePixelBuffer's dataPierre Ossman2014-07-071-3/+2
|
* We don't need a fillRect() that is this optimisedPierre Ossman2014-07-071-4/+0
| | | | | Keep things simple instead and allows us to remove the extra setPF() methods.
* Avoid having virtual methods where not neededPierre Ossman2014-07-071-13/+10
|
* getImage() doesn't need to be overloadable, keep it simplePierre Ossman2014-07-071-4/+4
|
* Remove full support for colour mapsPierre Ossman2014-07-071-9/+2
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* Be more consistent in referring to pixel byte streams as buffersPierre Ossman2014-07-071-5/+5
|
* Remove unused (and commented out) PixelBuffer::getPixel()Pierre Ossman2014-07-071-4/+0
|
* Make sure the fill function pointer gets updated if thePierre Ossman2014-01-071-0/+7
| | | | | | | | | | | managed pixel buffer changes format. Also add a bit more protection for switching pixel format as the base classes aren't really designed for that. Fixes a crash with the mouse pointer in WinVNC. Based on work done by Daniel Wyatt (dewyatt). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5152 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Since fillRect() operates directly on the framebuffer, optimize it and ↵DRC2011-11-031-0/+1
| | | | | | remove the separate version in TightDecoder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4762 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Further optimizations to the Tight encoder to eliminate getImage() overhead. ↵DRC2011-08-171-1/+2
| | | | | | The encoder now directly accesses the framebuffer for solid rectangle computation, JPEG encoding, and color counting (if pixel translation is not required.) Also moved everything in tightEncode.h into the TightEncoder class to eliminate all of the static mess (this will be important later on if we decide to multi-thread the encoder.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4631 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+172
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519