Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Test results comparing PixelTransformer and bufferFromBuffer() | Pierre Ossman | 2014-07-09 | 4 | -0/+106 | |
| | | | ||||||
| * | | Add optimised buffer conversion | Pierre Ossman | 2014-07-09 | 3 | -0/+291 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Handles the common cases when the target or source are in the preferred 888 format. If one of the buffers is not 888, then it must also be properly aligned (which is commonly the case). Performance is now in many cases on par with PixelTransformer. | |||||
| * | | Add ability to directly convert between two pixel formats | Pierre Ossman | 2014-07-09 | 3 | -0/+65 | |
| | | | | | | | | | | | | | | | This is a lot easier and cheaper than having to set up a complete PixelTransformer object. | |||||
| * | | Use lookup tables for pixel upconversion | Pierre Ossman | 2014-07-09 | 3 | -44/+64 | |
| | | | | | | | | | | | | | | | | | | You have to loop many times when converting e.g. 2 bits to 8, so have a couple of lookup tables to speed things up. We still use bit replication to get from 8 bits to 16 bits though. | |||||
| * | | Put some space between the groups of tests | Pierre Ossman | 2014-07-09 | 1 | -0/+8 | |
| | | | ||||||
| * | | Add more 8 bpp conversion tests | Pierre Ossman | 2014-07-09 | 1 | -0/+13 | |
| | | | ||||||
| * | | Only grab the regions we actually need | Pierre Ossman | 2014-07-07 | 1 | -22/+33 | |
| | | | | | | | | | | | | | | | Allows pixel buffers that do damage tracking to get proper information. | |||||
| * | | Provide a better R/W base PixelBuffer class | Pierre Ossman | 2014-07-07 | 9 | -32/+103 | |
| | | | | | | | | | | | | | | | Clearly separates the read API from the write API and also from actual implementation. | |||||
* | | | Merge branch 'nocolourmap' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2014-07-14 | 110 | -3514/+1990 | |
|\| | | ||||||
| * | | Get rid of getStride() | Pierre Ossman | 2014-07-07 | 14 | -53/+25 | |
| | | | | | | | | | | | | | | | | | | 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 data | Pierre Ossman | 2014-07-07 | 8 | -27/+58 | |
| | | | ||||||
| * | | We don't need a fillRect() that is this optimised | Pierre Ossman | 2014-07-07 | 2 | -83/+19 | |
| | | | | | | | | | | | | | | | Keep things simple instead and allows us to remove the extra setPF() methods. | |||||
| * | | Avoid having virtual methods where not needed | Pierre Ossman | 2014-07-07 | 2 | -17/+10 | |
| | | | ||||||
| * | | getImage() doesn't need to be overloadable, keep it simple | Pierre Ossman | 2014-07-07 | 3 | -38/+5 | |
| | | | ||||||
| * | | Create a proper interface base class for the viewport's framebuffer | Pierre Ossman | 2014-07-07 | 13 | -73/+195 | |
| | | | | | | | | | | | | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used. | |||||
| * | | Encoders/decoders should track the connection object | Pierre Ossman | 2014-07-07 | 35 | -110/+103 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Push encoder and decoder handling down into the connection objects | Pierre Ossman | 2014-07-07 | 11 | -152/+87 | |
| | | | | | | | | | | | | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders. | |||||
| * | | Remove full support for colour maps | Pierre Ossman | 2014-07-07 | 48 | -1247/+309 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Get rid of unnecessary macros as they are only ever set to a single thing | Pierre Ossman | 2014-07-07 | 15 | -85/+30 | |
| | | | ||||||
| * | | Push encoding specific formats into the encoders and decoders | Pierre Ossman | 2014-07-07 | 12 | -63/+91 | |
| | | | | | | | | | | | | Keep the generic stream classes clean and general. | |||||
| * | | Consolidate the different palette handler implementations | Pierre Ossman | 2014-07-07 | 8 | -493/+272 | |
| | | | ||||||
| * | | Handle CopyRect like any other encoding | Pierre Ossman | 2014-07-07 | 7 | -21/+86 | |
| | | | | | | | | | | | | Avoids having to special case things. Keeps the code simpler. | |||||
| * | | Avoid reader/writer duplication in every encoder/decoder | Pierre Ossman | 2014-07-07 | 24 | -26/+27 | |
| | | | ||||||
| * | | Remove partial update functionality | Pierre Ossman | 2014-07-07 | 15 | -80/+46 | |
| | | | | | | | | | | | | | | | | | | Get rid of the ability of encoders to only send part of the rectangle they are given as we don't want partial updates anyway. | |||||
| * | | Move serialisation of pseudorects into separate functions | Pierre Ossman | 2014-07-07 | 2 | -69/+72 | |
| | | | | | | | | | | | | Keeps the code clearer. | |||||
| * | | Merge the "V3" message classes into the normal ones | Pierre Ossman | 2014-07-07 | 20 | -1140/+818 | |
| |/ | | | | | | | We have no need for this abstraction so let's keep things simple. | |||||
* | | Merge branch 'inputreset' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2014-07-14 | 7 | -77/+69 | |
|\ \ | |/ |/| | ||||||
| * | Handle closing of input devices | Pierre Ossman | 2014-07-14 | 2 | -6/+5 | |
| | | | | | | | | | | | | The core can decide to close an input device (e.g. during a server reset). Make sure we respect this by forgetting about the device and recreating it again later. | |||||
| * | Remove private storage from InputDevice | Pierre Ossman | 2014-07-14 | 1 | -27/+2 | |
| | | | | | | | | | | We don't need this anymore as we now only have a single InputDevice object and can easily refer to it directly. | |||||
| * | Make InputDevice into a singleton | Pierre Ossman | 2014-07-14 | 4 | -23/+34 | |
| | | | | | | | | | | Xorg input devices are global so it doesn't make sense that we have one InputDevice object per XserverDesktop. | |||||
| * | Move all functions that InputDevice uses into the class | Pierre Ossman | 2014-07-14 | 3 | -5/+8 | |
| | | ||||||
| * | Let XserverDesktop handle syncing cursor position | Pierre Ossman | 2014-07-14 | 4 | -18/+20 | |
| | | | | | | | | | | This makes InputDevice cleaner and just a glue layer for Xorg input devices. | |||||
| * | Re-init VNC extension on server reset | Pierre Ossman | 2014-07-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | fc23895 blocked out a bit too much code when trying to make libvnc handle server resets. Even though configuration should only be handled once, the underlying VNC extension needs to be reinitilised as the X core has removed all extensions on reset. | |||||
| * | We need to set a label on all pointer buttons | Pierre Ossman | 2014-07-11 | 1 | -0/+2 | |
|/ | ||||||
* | Merge branch 'pixeltest' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2014-07-07 | 7 | -2/+314 | |
|\ | ||||||
| * | Add pixel conversion speed test | Pierre Ossman | 2014-07-04 | 5 | -0/+312 | |
| | | | | | | | | | | | | Add a tests directory where we can put tests programs that can be useful during testing. Start with a speed test for the pixel conversion routines. | |||||
| * | librfb needs librdr so make sure it always gets pulled in | Pierre Ossman | 2014-07-04 | 2 | -2/+2 | |
| | | ||||||
* | | Merge branch 'cleanup' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2014-07-07 | 112 | -4856/+763 | |
|\ \ | |/ |/| | ||||||
| * | Remove a lot of platform compatibilty stuff | Pierre Ossman | 2014-07-07 | 27 | -450/+10 | |
| | | | | | | | | It's either not used, or no longer relevant. | |||||
| * | Remove remnants of Windows only client | Pierre Ossman | 2014-07-07 | 12 | -1346/+0 | |
| | | ||||||
| * | Fix some offenders that poke around in the PixelFormat internals | Pierre Ossman | 2014-07-07 | 6 | -113/+116 | |
| | | ||||||
| * | Avoid code duplication for the linear pixel format conversion methods | Pierre Ossman | 2014-07-07 | 1 | -79/+2 | |
| | | ||||||
| * | Consistent use of stride vs pitch | Pierre Ossman | 2014-07-07 | 6 | -23/+24 | |
| | | | | | | | | | | | | | | Consistently use the term stride rather than pitch. Also consistently represent the stride in number of pixels rather than number of bytes. There is so much code that assumes proper alignment already that we do not need the extra resolution. | |||||
| * | Fix possible information leakage | Pierre Ossman | 2014-07-07 | 1 | -2/+11 | |
| | | | | | | | | Zero the padding byte used when converting 24-bit RGB to 32-bit. | |||||
| * | Use the same algorithm for conversions | Pierre Ossman | 2014-07-07 | 1 | -73/+53 | |
| | | | | | | | | | | | | Make sure that the routines that convert between buffer and rgb representations follow the same algorithm so it's easier to compare them. | |||||
| * | Optimise the RGB to pixel conversion to simple shifts | Pierre Ossman | 2014-07-07 | 3 | -51/+65 | |
| | | | | | | | | | | Might as well make it inline at this point as well as it is used heavily in other routines that convert entire blocks of pixels. | |||||
| * | Remove magic JPEG variables from ConnParams | Pierre Ossman | 2014-07-07 | 4 | -23/+19 | |
| | | | | | | | | | | | | Custom compression level and JPEG on/off are not inherent parts of the protocol negotiation so they do not belong in ConnParams. Let the UI frontend handle such things instead. | |||||
| * | Clean up the encoding parser in ConnParams | Pierre Ossman | 2014-07-07 | 1 | -48/+55 | |
| | | ||||||
| * | Make the subsampling setting follow the common style | Pierre Ossman | 2014-07-07 | 8 | -45/+64 | |
| | | ||||||
| * | Remove some premature optimisation | Pierre Ossman | 2014-07-07 | 6 | -74/+104 | |
| | | | | | | | | Reduces header dependencies. |