Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Fix scaling with large magnification | Alexander Larsson | 2010-08-30 | 1 | -32/+104 |
| | | | | | | | | | | | | | | When scaling part of an image we need to specify the source coordinates in transformed coordinates. For large magnifications this means we will get pretty large values. Now, if e.g. src_x * transform is larger than 32765, then the coordinate ends up outside the pixman 16bit image size, so the rendering will not work. In order to work around this we generate a "sub-image" of the pixman image such that the src_x/y values we have to specify are zero (or near zero). | ||||
* | Bump versions. | Gerd Hoffmann | 2010-08-30 | 2 | -2/+2 |
| | | | | | | Update #define in server/spice.h in preparation for the 0.6.0 release. We also got some new functions, thus we have to increate the shared lib minor number for spice-server. | ||||
* | Add config functions. | Gerd Hoffmann | 2010-08-30 | 2 | -0/+38 |
| | | | | | | A bunch of configuration functions where never ported forward from rhel-6 to upstream. Add them so we can add qemu config options for these settings. | ||||
* | Merge commit 'ea298a14e1cde8b811baf6bd187287f18dde0dee' | Alon Levy | 2010-08-30 | 1 | -10/+0 |
|\ | |||||
| * | server: moved agent pipe headers to spice-protocol | Alon Levy | 2010-08-30 | 1 | -10/+0 |
| | | |||||
* | | 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 | ||||
* | | canvas: Better coordinate rounding in scaling | Alexander Larsson | 2010-08-27 | 1 | -28/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When scaling in pixman you give the source coordinates in transformed space rather than in the source coordinates. This is a bit problematic when both source and destination coordinates are at integer positions, but the scaling factor is not an exact 16.16 fixed point value. We used to calculate the transformed source based on the floating point transformation, which gave the wrong answer sometimes. Now we do the calculations based on the fixed point transform that we give pixman. However, even with this patch I can still sometimes see issues related to this, although they are less bad. | ||||
* | | 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. | ||||
* | red_get_cursor: avoid extra copy | Gerd Hoffmann | 2010-08-27 | 1 | -4/+4 |
| | |||||
* | 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 | 3 | -48/+59 |
| | |||||
* | qxl parser: complete QXL_SURFACE_CMD_CREATE parsing | Gerd Hoffmann | 2010-08-26 | 3 | -4/+6 |
| | |||||
* | server: Fix alloc_lz_image_surface stride allocations | Alexander Larsson | 2010-08-26 | 1 | -1/+1 |
| | | | | | All lz surfaces are not 4 bytes per pixel, calculate the right stride based on the pixman format. | ||||
* | 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 |
| | |||||
* | client: Handle async errors from xshm setup | Alexander Larsson | 2010-08-25 | 1 | -0/+28 |
| | | | | | XShmAttach can fail asynchronously, so we need to check the errors in the x error handler during the XSync. | ||||
* | client: Don't leak xshm segments | Alexander Larsson | 2010-08-24 | 1 | -0/+8 |
| | |||||
* | Don't try xshm any more if it fails for a permanent reason | Alexander Larsson | 2010-08-24 | 1 | -0/+16 |
| | | | | This is copied from how Gtk+ detects Xshm failures. | ||||
* | 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 |
| | |||||
* | client: Fix for clipboard sending; It wasn't thread safe. | Yonit Halperin | 2010-08-23 | 2 | -5/+27 |
| | |||||
* | client: fix - exit on bad display-effect argument | Yonit Halperin | 2010-08-23 | 1 | -0/+2 |
| | |||||
* | Stride can be negative, so don't use size_t for it | Alexander Larsson | 2010-08-18 | 2 | -2/+2 |
| | |||||
* | support python 2.5.4+ for marshaller/demarshallers | Alon Levy | 2010-08-17 | 3 | -0/+3 |
| | | | | | Patch adds a "from __future__" import that doesn't affect newer python's but allows python 2.5.4 to run the code (tested under scratchbox, n900 build environment) | ||||
* | client: Application::get_screen: fix double SpicePoint size, second hiding ↵ | Alon Levy | 2010-07-29 | 1 | -1/+1 |
| | | | | the first | ||||
* | add arm and armv7 to configurable 32 bit variants in configure.ac (n900 and ↵ | Alon Levy | 2010-07-29 | 1 | -1/+1 |
| | | | | pc-z1 tested respectively) | ||||
* | add eol after #ifdef in jpeg_encoder.h for n900 scratchbox compiler | Alon Levy | 2010-07-29 | 1 | -1/+2 |
| | |||||
* | server: add vdi_port write retry timer. RHBZ 616772 | Alon Levy | 2010-07-22 | 1 | -0/+30 |
| | |||||
* | Don't do manual marshalling for input channel | Alexander Larsson | 2010-07-21 | 1 | -45/+67 |
| | |||||
* | Fix typo in NEWS | Alexander Larsson | 2010-07-21 | 1 | -1/+1 |
| | |||||
* | Update NEWS for 0.5.30.5.3 | Alexander Larsson | 2010-07-20 | 1 | -0/+10 |
| | |||||
* | Require spice-protocol 0.5.3 or later | Alexander Larsson | 2010-07-20 | 1 | -1/+1 |
| | |||||
* | Bump version to 0.5.3 | Alexander Larsson | 2010-07-20 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | Swap red and blue when decoding 0.4 mjpeg streams | Alexander Larsson | 2010-07-20 | 3 | -12/+22 |
| | | | | | | There was an error in how this was encoded in 0.4, which we need to handle. There is still some issues with the old streams as the luminocity handling in 0.4 was not correct. | ||||
* | demarshaller: Fix palette marshalling | Alexander Larsson | 2010-07-20 | 1 | -14/+32 |
| | | | | | | | It turns out that using base + sizeof(struct) is not a good way to access an array at the end of a struct. For SpicePalette sizeof is 16, but offset of ents is 12. Using this calculation in the demarshaller breaks things badly, so now we use the actual array member. | ||||
* | Don't send padding over the network with video data | Alexander Larsson | 2010-07-20 | 5 | -15/+8 |
| | |||||
* | Fix uninitialized variable warnings | Alexander Larsson | 2010-07-19 | 1 | -1/+1 |
| | |||||
* | Don't send CursorHeader if cursor_flags is NONE | Alexander Larsson | 2010-07-19 | 4 | -5/+11 |
| |