Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | server/red_worker: fix used but uninitialized warning (gcc 4.6.0) | Alon Levy | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | client/server: warning fixes (gcc 4.6.0) | Alon Levy | 2011-01-27 | 1 | -13/+1 |
| | | | | | gcc 4.6.0 added "[-Werror=unused-but-set-variable]", this and the next few fixes tend to that. Mostly harmless. | ||||
* | server/red_worker: use 1, not 4 when lz_encoding a top down image | Alon Levy | 2011-01-17 | 1 | -2/+3 |
| | |||||
* | server/red_worker: fix worker->drawable_count | Alon Levy | 2010-12-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | drawable_count was becoming negative. It tracks the number of items in the worker->current_list ring. It was decremented correctly, but incremented only in several cases. The cases it wasn't incremented where: red_current_add_equal found an equivalent drawable by moving the increment to where the item is added to current_list, in __current_add_drawable, the accounting remains correct. This has no affect other then correct accounting, as drawable_count isn't used for anything. | ||||
* | server: Handle self_image in localize_bitmap | Alexander Larsson | 2010-09-21 | 1 | -9/+16 |
| | | | | | | When drawing a drawable with a NULL src bitmap that means we should be using the previously generated self_bitmap. Not doing this causes a segfault due to accessing the NULL. | ||||
* | server: Handle NULL image in red_update_streamable | Alexander Larsson | 2010-09-21 | 1 | -1/+2 |
| | | | | A NULL src bitmap means self_bitmap, which is not a stream, so abort. | ||||
* | server: Use the right image size for self_bitmap | Alexander Larsson | 2010-09-21 | 1 | -2/+2 |
| | | | | | | | The self_bitmap is the size of self_bitmap_area, not the bbox. This is especially important since we later copy the self_bitmap_area into the new bitmap, and if that is larger than bbox then we will overwrite random memory. | ||||
* | server: Ensure we flush the release pipe after an oom | Alexander Larsson | 2010-09-20 | 1 | -0/+1 |
| | | | | | | We really need to flush the ring to ensure that we push something on the release ring. If we don't do this and the ring is not pushed for other reasons we will timeout in the guest driver waiting for the ring. | ||||
* | Release more drawables on OOM | Alexander Larsson | 2010-09-20 | 1 | -1/+1 |
| | | | | | | | | We've changed how resources are released so they are now being freed continuosly, rather than on OOM, since we want to free as early possible to avoid fragmentation. So, OOM situations should be a bit less common now and signify a real memory shortage, so we should try to free up more resources. | ||||
* | move command flags handling to the qxl parser | Gerd Hoffmann | 2010-09-14 | 1 | -7/+3 |
| | | | | | Pass through command flags to the qxl parser, so we can hide all compat bits for spice 0.4 within the qxl parser. | ||||
* | server: avoid creating a stream from traces more than once for the same drawable | Yonit Halperin | 2010-09-02 | 1 | -5/+10 |
| | | | | could have caused ASSERT(!drawable->stream) in red_create_stream | ||||
* | server: red_current_add_equal - don't push a drawable to the middle of the ↵ | Yonit Halperin | 2010-08-31 | 1 | -1/+13 |
| | | | | | | | pipe if it depends on surfaces. This will prevent: 1) rendering problems (commands sent to the client in the wrong order) 2) sending commands for surfaces that haven't been created yet on the client side. | ||||
* | server: fix red_current_flush to flush only the surface that was given as ↵ | Yonit Halperin | 2010-08-30 | 1 | -1/+3 |
| | | | | | | | | | | parameter A side effect of the previous red_current_flush, which flushed all the surfaces, and was called on a new display channel connection, was that red_handle_drawable_surfaces_client_synced sent the most updated surfaces images when needed. However, now, it should explicitly call red_current_flush. Moreover, since red_current_flush was called on a new display channel connection only if there was a primary surface, if the connection of the display channel occurred at the moment of no primary surface, red_handle_drawable_surfaces_client_synced was buggy. | ||||
* | server: cleanups in destorying surfaces code | Yonit Halperin | 2010-08-30 | 1 | -29/+22 |
| | |||||
* | server: really wait for a surface to be destroyed, when calling ↵ | Yonit Halperin | 2010-08-30 | 1 | -9/+75 |
| | | | | | | | destroy_surface_wait Waiting till all the pipe items that are dependent on the surface will be sent. This was probably the cause for freedesktop bug #29750. | ||||
* | server: consider also PIPE_ITEM_UPGRADE when searching for drawables in ↵ | Yonit Halperin | 2010-08-30 | 1 | -17/+19 |
| | | | | red_clear_surface_drawables_from_pipe | ||||
* | server: red_send_image() - append image data to right marshaller | Alexander Larsson | 2010-08-27 | 1 | -1/+2 |
| | | | | | | The actual bitmap data was added to the main marshaller rather than the submarshaller that pointed to the SpiceImage part. This made us send too short messages failing demarshalling in the client. | ||||
* | server: red_send_image() initialize bitmap.flags | Alexander Larsson | 2010-08-27 | 1 | -0/+1 |
| | | | | We're currently sending this to the network based on random memory. | ||||
* | zap more unused bits. | Gerd Hoffmann | 2010-08-27 | 1 | -14/+0 |
| | | | | | BufDescriptor isn't used at all. Two AddBufInfo fields (slot_id and group_id) are not used any more. | ||||
* | fix red_cursur_flush segfault | Gerd Hoffmann | 2010-08-26 | 1 | -1/+3 |
| | |||||
* | zap dead typedefs | Gerd Hoffmann | 2010-08-26 | 1 | -5/+0 |
| | |||||
* | zap dead qxl chunk code | Gerd Hoffmann | 2010-08-26 | 1 | -29/+0 |
| | |||||
* | qxl parser: add cursor parsing | Gerd Hoffmann | 2010-08-26 | 1 | -45/+14 |
| | |||||
* | qxl parser: complete QXL_SURFACE_CMD_CREATE parsing | Gerd Hoffmann | 2010-08-26 | 1 | -2/+1 |
| | |||||
* | server: clean glz drawables when reseting qxl | Yonit Halperin | 2010-08-25 | 1 | -0/+3 |
| | | | | | | When the we reset qxl, we destroy all srufaces. Since surfaces and glz drawables are no longer dependent, we need to call red_display_clear_glz_drawables explicitly in order to clear all our drawables references in the server. | ||||
* | server: Add missing break in switch case | Alexander Larsson | 2010-08-25 | 1 | -0/+1 |
| | |||||
* | server: remove the no longer used glz drawables list that was maintained for ↵ | Yonit Halperin | 2010-08-24 | 1 | -8/+0 |
| | | | | each surface. | ||||
* | server: remove unnecessary dependency between surfaces and Glz drawables | Yonit Halperin | 2010-08-24 | 1 | -26/+4 |
| | | | | Fixes freedesktop bug #28568 | ||||
* | Fix mismerge in last commit | Alexander Larsson | 2010-08-23 | 1 | -1/+0 |
| | |||||
* | Remove USE_EXCLUDE_RGN define and !USE_EXCLUDE_RGN code | Alexander Larsson | 2010-08-23 | 1 | -167/+0 |
| | |||||
* | Remove STREAM_TRACE define and !STREAM_TRACE code | Alexander Larsson | 2010-08-23 | 1 | -206/+1 |
| | |||||
* | Limiting video streaming to the primary surface. freedesktop bug #28088. | Yonit Halperin | 2010-08-23 | 1 | -7/+40 |
| | |||||
* | server: Properly order rgb for 24bit bitmaps when sending to libjpeg | Alexander Larsson | 2010-07-20 | 1 | -2/+8 |
| | | | | | SPICE_BITMAP_FMT_24BIT order is bgr, libjpeg wants rgb. This fixes freedesktop bug #28089 | ||||
* | Don't send padding over the network with video data | Alexander Larsson | 2010-07-20 | 1 | -5/+2 |
| | |||||
* | server: enabling/disabling jpeg and zlib-over-glz via spice command line args | Yonit Halperin | 2010-07-14 | 1 | -3/+24 |
| | |||||
* | red_glz_compress_image: lines isn't needed any more | Gerd Hoffmann | 2010-07-13 | 1 | -2/+1 |
| | |||||
* | Don't marshall bitmap data as pointer, instead send inline | Alexander Larsson | 2010-07-09 | 1 | -18/+12 |
| | |||||
* | Use the right enum types for bitmap_data.type comparisons | Alexander Larsson | 2010-07-09 | 1 | -2/+2 |
| | |||||
* | Fix various misspellings | Alexander Larsson | 2010-07-08 | 1 | -42/+42 |
| | | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure | ||||
* | Handle the new QXLCursorHeader type | Alexander Larsson | 2010-07-08 | 1 | -3/+13 |
| | |||||
* | Properly parse QXLLineAttrs.style | Alexander Larsson | 2010-07-08 | 1 | -31/+2 |
| | |||||
* | server: add missing ifdef USE_OGL (red_worker.c) | Uri Lublin | 2010-07-08 | 1 | -0/+2 |
| | |||||
* | Properly parse QXLImage to the new-world SpiceImage | Gerd Hoffmann | 2010-07-07 | 1 | -893/+351 |
| | | | | | 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 array | Alexander Larsson | 2010-07-05 | 1 | -4/+3 |
| | |||||
* | Properly parse and marshall SpiceString | Gerd Hoffmann | 2010-07-02 | 1 | -66/+0 |
| | |||||
* | Update for the SpicePath.segments type change | Alexander Larsson | 2010-07-01 | 1 | -2/+2 |
| | |||||
* | fix for not clearing the cursor ring when the primary surface is destroyed | Yonit Halperin | 2010-07-01 | 1 | -14/+71 |
| | | | | fixes a crash in qxl_soft_reset | ||||
* | Simplify SpiceLineAttr by removing unsed stuff | Alexander Larsson | 2010-06-30 | 1 | -3/+2 |
| | | | | Also in new protocol don't send style data if not needed. | ||||
* | Automatically marshall SpiceClipRects | Alexander Larsson | 2010-06-30 | 1 | -53/+38 |
| | |||||
* | Automatically marshall SpicePath | Alexander Larsson | 2010-06-30 | 1 | -3/+0 |
| |