summaryrefslogtreecommitdiffstats
path: root/client/canvas.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Composite command to the clientSøren Sandmann Pedersen2012-08-241-0/+7
| | | | | | All the real work is being done in spice-common, so this patch is just hooking up the virtual calls and adding the SPICE_DISPLAY_CAP_COMPOSITE capability.
* Remove unused Canvas membersChristophe Fergeau2012-03-201-1/+0
| | | | | The various Canvas have _max and _base variables which are not used, better to remove them.
* mingw: use uintptr_t when converting a pointer to an intChristophe Fergeau2012-03-041-1/+1
| | | | | | win64 uses 32 bit long, so we cannot use a long to hold a 64 bit pointer. Thankfully, there's a [u]intptr_t type available exactly for these uses.
* client: rewrite surfaces cacheYonit Halperin2011-11-021-2/+23
| | | | | | | | | | | use std::map instead of a specific template (CHash). There is no need for special template. Moreover, using std::map will allow easy iteration over the surfaces. (cherry picked from commit fcb3b4ce5231218bcf949da4270bd85a2cfb3535 branch 0.8) Conflicts: client/display_channel.cpp
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-0/+3
| | | | | | | | When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files
* Client: Use the autogenerated demarshallersAlexander Larsson2010-06-181-102/+0
| | | | | | | | | | | | | | | | When a message has been read from the network we now pass it into the generated demarshaller for the channel. The demarshaller converts the network data to in-memory structures that is passed on to the spice internals. Additionally it also: * Converts endianness * Validates sizes of message and any pointers in it * Localizes offsets (converts them to pointers) * Checks for zero offsets in messages where they are not supported Some of this was previously done using custom code in the client, this is now removed.
* support for lossy images in the pixmap cache and fill bitsYonit Halperin2010-06-091-0/+1
| | | | | | 1) add an option to determine if a bitmap can be sent lossy to the client 2) when required, replacing lossy cache items with their correspending lossless bitmaps
* JPEG support: introducing jpeg encoding for spice bitmapsYonit Halperin2010-06-091-0/+1
|
* Add emacs modelines to more filesAlexander Larsson2010-04-231-0/+1
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* libspice: add off screens supportIzik Eidus2010-04-031-1/+4
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Move virtualization of canvas drawing into common/canvas_baseAlexander Larsson2010-03-081-15/+53
| | | | | | | | | | | Instead of having two virtualizations of the canvas we push the virtualization into the canvas code itself. This not only avoids the duplication of this code, it also makes the exposed API for the canvas much smaller (in terms of exported API). It also lets us use the virtualization to implement basic support for operations in canvas_base which is then overridden by each canvas implementation.
* Make canvas Glz decoder integration nicerAlexander Larsson2010-03-081-7/+0
| | | | | We use a dynamic interface similar to e.g. SpiceImageCache instead of passing both function and opaque
* Turn image and palette cache into c style dynamic interfaceAlexander Larsson2010-02-231-30/+0
| | | | | | Instead of passing a bunch of function pointer and an opaque pointer we make a real type and add a vtable pointer to it. This means we can simplify all the canvas constructors, etc.
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-49/+49
| | | | | | This is an automatic change using: $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
* spice: server: add memslots support.Izik Eidus2009-11-231-1/+1
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* fresh startYaniv Kamay2009-10-141-0/+251