aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/PlatformPixelBuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Mark overridden virtual functionsPierre Ossman2024-06-241-1/+1
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Provide correct dimensions for XShm setupPierre Ossman2019-12-301-1/+1
| | | | | | Since 53f913a we initialize the underlying PixelBuffer with 0x0 dimensions, which means we need to keep more explicit track of what we are trying to allocate in the setup methods.
* Add missing headersAlexander Zakharov2017-02-141-0/+3
|
* Abstract platform rendering to "surfaces"Pierre Ossman2017-02-101-5/+24
| | | | This will allow us to render more things than just the framebuffer.
* Do explict sync after XShmPutImage()Pierre Ossman2017-01-111-2/+0
| | | | | The complex logic waiting for events didn't result in any added performance, so use the simpler approach.
* Throttle overlapping screen updatesPierre Ossman2015-11-271-0/+2
| | | | | We need to make sure the display server has finished reading our previous update before we overwrite the buffer with the next update.
* Protect PlatformPixelBuffer from simultaneous accessPierre Ossman2015-11-271-0/+3
| | | | | The damage tracking region needs to be protected from multiple threads accessing it at once. The rest should be fine though.
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-0/+6
| | | | | | | 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-3/+1
| | | | | | 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-24/+8
| | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.
* Basic framework for more optimised, platform specific, drawing routines.Pierre Ossman2011-06-131-0/+51
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4492 3789f03b-4d11-0410-bbf8-ca57d06f2519