Gerd Hoffmann
e03e4f0fc9
qxl abi: parse QXLSurfaceCmd.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
5de492e930
qxl abi: parse QXLMessage.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
fada35a173
qxl abi: parse QXLUpdateCmd.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
b081ec4b04
qxl abi: parse QXLClip.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
948806b583
qxl abi: parse QXLLineAttr.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
49f77eec2e
qxl abi: parse QXLPattern.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
4de61f2dd8
qxl abi: parse QXLBrush.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
45ba74c795
qxl abi: parse QXLQMask.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
387f80422f
qxl abi: parse QXLBlackness+QXLInvers+QXLWhiteness.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
21fffa15e1
qxl abi: parse QXLText.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
b39b130a84
qxl abi: parse QXLStroke.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
c26b574b40
qxl abi: parse QXLRop3.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
dffb0401e7
qxl abi: parse QXLTransparent.
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
e81c6ef7c4
qxl abi: parse QXLCopy + QXLBlend.
...
Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
2010-06-29 12:30:20 +02:00
Gerd Hoffmann
63e07be145
qxl abi: add missing QXLCopyBits
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
08cfd6beaf
qxl abi: parse QXLOpaque.
...
Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
ef3e20e29f
qxl abi: parse QXLFill.
...
Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
85155b3f44
qxl abi: parse QXLAlphaBlnd (+Compat)
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
856e2ba355
qxl abi: parse QXLCompatDrawable.
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
11034dda42
qxl abi: parse QXLDrawable.
2010-06-29 12:30:19 +02:00
Gerd Hoffmann
c17fdfd053
improve memory slot error logging.
2010-06-29 12:30:19 +02:00
Alexander Larsson
7e26ff3c26
Replace log4cpp with custom log function
...
Also prints a simpler error to stderr for WARN or above so that
we print something on the commandline if something go wrong.
2010-06-28 21:54:53 +02:00
Alexander Larsson
9655dc30e9
Remove support for clip by path
...
This is not supported currently anyway and was not generated before.
2010-06-24 14:30:00 +02:00
Gerd Hoffmann
b6efc72001
drop bogous get_virt_delta calls
2010-06-23 13:49:21 +02:00
Alexander Larsson
9123e24e7b
Add destructor for demarshalled messages
...
This is required because we don't want to free messages that just
refer to the unparsed message (like SpiceMsgData).
Also, in the future we might need it for more complex demarshalling.
2010-06-22 10:53:24 +02:00
Yonit Halperin
ae1de849ac
fix for not reseting client palette caches on migration
2010-06-21 15:18:46 +02:00
Yonit Halperin
537280f183
Lossy compression of RGBA images (on WAN connection)
...
The RGB channels are compressed using JPEG.
The alpha channel is compressed using LZ.
2010-06-21 15:18:26 +02:00
Yonit Halperin
25bb38f643
applying zlib compression over glz on WAN connection
2010-06-21 15:05:37 +02:00
Alexander Larsson
0f2e037834
Add server/demarshaller.h
2010-06-18 20:27:32 +02:00
Alexander Larsson
972951dbb7
Make sound data @as_ptr to avoid copying data
2010-06-18 20:27:32 +02:00
Alexander Larsson
4c1094acce
Make all message structs internal to spice
...
We move all message structs from spice-protocol to spice as
we want to be able to change these as needed internally. The
on-network format is no longer defined by these structures anyway,
but rather by the spice protocol description.
2010-06-18 20:27:32 +02:00
Alexander Larsson
c553fafe4b
Use generated demarshallers in server
2010-06-18 20:27:32 +02:00
Alexander Larsson
ec10a1662f
Generate demarshallers on server side
2010-06-18 20:27:32 +02:00
Alexander Larsson
d9772344e6
Re-enable cache freeing
...
I don't know why this was disabled but it seems like a bad idea
2010-06-18 20:27:32 +02:00
Alexander Larsson
04e0c6e5b2
Convert reds.c to use SpiceMarshaller
2010-06-18 20:27:31 +02:00
Alexander Larsson
8418da7ab2
Convert snd_worker.c to use SpiceMarshaller and generated marshallers
2010-06-18 20:27:31 +02:00
Alexander Larsson
cfc86f3340
Convert red_worker.c to use SpiceMarshaller for marshalling
2010-06-18 20:27:31 +02:00
Alexander Larsson
e2728082d0
Generate marshallers in server
2010-06-18 20:27:27 +02:00
Alexander Larsson
0cca1ed2af
Add SpiceMarshaller for easy marshalling
2010-06-18 16:32:11 +02:00
Alexander Larsson
1ba1ce52ed
Use the new enums for keyboard modifier flags
2010-06-18 16:32:10 +02:00
Yonit Halperin
3d7c1eaa18
server: optimize red_pipe_replace_rendered_drawables_with_images (lossy bitmaps support related)
2010-06-09 11:43:31 +02:00
Yonit Halperin
8b02360033
init/destroy lossy surface region
2010-06-09 11:41:02 +02:00
Yonit Halperin
ba32024ad1
enabling jpeg on low bandwidth connection
2010-06-09 11:41:02 +02:00
Yonit Halperin
1a752e3884
not using jpeg when sending a surface to the client (the whole surface)
...
When a surface is sent to the client using red_send_surface_image, operations were already
performed on it. Thus it may combine, especially if it is a primary surface, both "picture-like" areas
and areas that are more "artificial". In order to avoid noticeable artifacts, such surface will be sent lossless.
2010-06-09 11:41:02 +02:00
Yonit Halperin
0c199b0886
send qxl commands to client: support for resending lossy components when jpeg compression is enabled
2010-06-09 11:41:02 +02:00
Yonit Halperin
c970f41f8e
infrastructure routines for resending to the client part of surfaces that have been sent lossy.
...
The code also handles cases in which the server doesn't hold anymore these surfaces parts, i.e., when
it holds a more updated version of them. This scenario is handled by replacing commands that were rendered, with images.
2010-06-09 11:41:02 +02:00
Yonit Halperin
5d01cae430
introducing lossy and lz compression in red_send_image
2010-06-09 11:41:02 +02:00
Yonit Halperin
2fc2f13be9
lossy surface regions in the client: infrastructure for tracking and updating
2010-06-09 11:41:02 +02:00
Yonit Halperin
5d2ae66f50
support for lossy images in the pixmap cache and fill bits
...
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
2010-06-09 11:41:01 +02:00
Yonit Halperin
263646a1f7
JPEG support: introducing jpeg encoding for spice bitmaps
2010-06-09 11:40:25 +02:00