summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.c
Commit message (Collapse)AuthorAgeFilesLines
* server: add async io supportAlon Levy2011-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new _ASYNC io's in qxl_dev listed at the end get six new api functions, and an additional callback function "async_complete". When the async version of a specific io is used, completion is notified by calling async_complete, and no READY message is written or expected by the dispatcher. update_area has been changed to push QXLRects to the worker thread, where the conversion to SpiceRect takes place. A cookie has been added to each async call to QXLWorker, and is passed back via async_complete. Added api: QXLWorker: update_area_async add_memslot_async destroy_surfaces_async destroy_primary_surface_async create_primary_surface_async destroy_surface_wait_async QXLInterface: async_complete (cherry picked from commit 096f49afbf4e83ccee80f58479b3ff05bd355660)
* client/server: warning fixes (gcc 4.6.0)Alon Levy2011-01-271-2/+1
| | | | | gcc 4.6.0 added "[-Werror=unused-but-set-variable]", this and the next few fixes tend to that. Mostly harmless.
* Update license header for server/red_parse_qxl.cHans de Goede2011-01-211-6/+6
| | | | This one mistakenly had a GPL header rather then an LGPL header.
* server: Don't leak QUIC image chunksAlexander Larsson2010-09-211-0/+3
| | | | | red_put_image() needs to free the chunks for QUIC images, as we allocate these when creating the image.
* fix palette handling for 0.4 compatGerd Hoffmann2010-09-141-43/+56
| | | | | spice 0.4 guests pass 16bpp palette colors when running in a 16bpp video mode. Convert them to 32bpp.
* fix brush handling for 0.4 compatGerd Hoffmann2010-09-141-23/+38
| | | | | spice 0.4 guests pass 16bpp colors for brushes when running in a 16bpp video mode. Convert them to 32bpp.
* move command flags handling to the qxl parserGerd Hoffmann2010-09-141-4/+14
| | | | | Pass through command flags to the qxl parser, so we can hide all compat bits for spice 0.4 within the qxl parser.
* qxl parser: complete parsing of QXLCompatDrawable structsGerd Hoffmann2010-08-311-0/+14
|
* red_get_cursor: avoid extra copyGerd Hoffmann2010-08-271-4/+4
|
* qxl parser: add cursor parsingGerd Hoffmann2010-08-261-2/+44
|
* qxl parser: complete QXL_SURFACE_CMD_CREATE parsingGerd Hoffmann2010-08-261-1/+4
|
* Fix various misspellingsAlexander Larsson2010-07-081-3/+3
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* Use QXLPHYSICAL, not SPICE_ADDRESS in qxl parserAlexander Larsson2010-07-081-13/+13
|
* Properly parse QXLLineAttrs.styleAlexander Larsson2010-07-081-12/+23
|
* Properly parse QXLImage to the new-world SpiceImageGerd Hoffmann2010-07-071-15/+263
| | | | | SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* Convert SpicePath.segments to a pointer arrayAlexander Larsson2010-07-051-4/+5
|
* Properly parse and marshall SpiceStringGerd Hoffmann2010-07-021-2/+85
|
* Update for the SpicePath.segments type changeAlexander Larsson2010-07-011-1/+1
|
* Simplify SpiceLineAttr by removing unsed stuffAlexander Larsson2010-06-301-6/+7
| | | | Also in new protocol don't send style data if not needed.
* Store SpicePath segment count rather than sizeAlexander Larsson2010-06-301-6/+37
| | | | | | | | | | | | | | | | | | | Internally and in the network protocol (for the new version) we now store the actual number of segments rather than the size of the full segments array in bytes. This change consists of multiple changes to handle this: * Make the qxl parser calculate num_segments * Make the canvas stroke code handle the new SpicePath layout. * Fix up is_equal_path in red_worker.c for the new layout * replace multiple calls to spice_marshall_PathSegment with a single spice_marshall_Path call * Make the byte_size() array size handling do the conversion from network size to number of elements when marshalling/demarshalling. * Update the current spice protocol to send the segment count rather than the size * Update the old spice protocol to use the new byte_size functionallity to calculate the size sent and the number of elements recieved
* qxl-abi: handle clip rect and path references.Gerd Hoffmann2010-06-301-11/+173
| | | | | | | | | | | | red_parse_qxl.c starts to follow QXLPHYSICAL references and build up data structures. Can zap a bunch of get_virt calls in red_worker.c, followed by cleanups. (de-) marshaller needs updates to deal with that. Also I suspect with the get_virt() calls being gone we can offload more work to generated marshaller code. client doesn't build.
* add qxl chunk parserGerd Hoffmann2010-06-301-0/+44
|
* qxl abi: parse QXLRect.Gerd Hoffmann2010-06-291-13/+21
|
* qxl abi: parse QXLPoint & friends.Gerd Hoffmann2010-06-291-6/+18
|
* qxl abi: parse QXLCursorCmd.Gerd Hoffmann2010-06-291-0/+30
|
* qxl abi: parse QXLSurfaceCmd.Gerd Hoffmann2010-06-291-0/+28
|
* qxl abi: parse QXLMessage.Gerd Hoffmann2010-06-291-0/+22
|
* qxl abi: parse QXLUpdateCmd.Gerd Hoffmann2010-06-291-0/+18
|
* qxl abi: parse QXLClip.Gerd Hoffmann2010-06-291-2/+9
|
* qxl abi: parse QXLLineAttr.Gerd Hoffmann2010-06-291-4/+10
|
* qxl abi: parse QXLPattern.Gerd Hoffmann2010-06-291-1/+2
|
* qxl abi: parse QXLBrush.Gerd Hoffmann2010-06-291-6/+20
|
* qxl abi: parse QXLQMask.Gerd Hoffmann2010-06-291-8/+16
|
* qxl abi: parse QXLBlackness+QXLInvers+QXLWhiteness.Gerd Hoffmann2010-06-291-6/+24
|
* qxl abi: parse QXLText.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLStroke.Gerd Hoffmann2010-06-291-2/+12
|
* qxl abi: parse QXLRop3.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLTransparent.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLCopy + QXLBlend.Gerd Hoffmann2010-06-291-4/+24
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: add missing QXLCopyBitsGerd Hoffmann2010-06-291-0/+6
|
* qxl abi: parse QXLOpaque.Gerd Hoffmann2010-06-291-0/+23
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLFill.Gerd Hoffmann2010-06-291-2/+10
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLAlphaBlnd (+Compat)Gerd Hoffmann2010-06-291-2/+21
|
* qxl abi: parse QXLCompatDrawable.Gerd Hoffmann2010-06-291-0/+53
|
* qxl abi: parse QXLDrawable.Gerd Hoffmann2010-06-291-0/+88