Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use macros from <spice/macros.h> rather than duplicate them | Alexander Larsson | 2010-03-09 | 9 | -75/+19 |
| | |||||
* | Move draw_rop3 to canvas_base | Alexander Larsson | 2010-03-08 | 2 | -96/+94 |
| | |||||
* | Move canvas_draw_stroke to canvas_base | Alexander Larsson | 2010-03-08 | 2 | -455/+450 |
| | |||||
* | Move most of the shared draw_xyz() methods from CairoCanvas to CanvasBase | Alexander Larsson | 2010-03-08 | 3 | -932/+1039 |
| | | | | | | This adds a set of virtual methods for low-level operations. A subclass can choose to implement those and let the default CanvasBase implementations handle the highlevel stuff. | ||||
* | Move canvas_region and group_start/end to canvas_base | Alexander Larsson | 2010-03-08 | 5 | -37/+57 |
| | |||||
* | Move virtualization of canvas drawing into common/canvas_base | Alexander Larsson | 2010-03-08 | 8 | -251/+353 |
| | | | | | | | | | | | 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 virt mapping an interface | Alexander Larsson | 2010-03-08 | 6 | -37/+23 |
| | |||||
* | Make glz_decoder non-optional canvas_base in canvas constructors | Alexander Larsson | 2010-03-08 | 6 | -28/+11 |
| | | | | | It can still be NULL, but we simplify the headers by always including it. There is no practical performance difference here. | ||||
* | Make canvas Glz decoder integration nicer | Alexander Larsson | 2010-03-08 | 8 | -22/+27 |
| | | | | | We use a dynamic interface similar to e.g. SpiceImageCache instead of passing both function and opaque | ||||
* | Fix colorkeying in pixman_utils.c | Alexander Larsson | 2010-03-08 | 1 | -1/+2 |
| | | | | | | We were masking out the alpha bit in the key color not int the source pixel, so colorkeying didn't work when the high byte was != 0. For instance in the shutdown dialog in XP. | ||||
* | Make gdi canvas build in the new pixman world | Larsson@.(none) | 2010-03-01 | 3 | -20/+23 |
| | |||||
* | Always include spice/types.h before pixman so standard int types exist | Larsson@.(none) | 2010-03-01 | 1 | -0/+2 |
| | |||||
* | Fix warnings from visual studio compiler | Larsson@.(none) | 2010-03-01 | 2 | -15/+15 |
| | |||||
* | Have only one copy of ROUND macro and cast to int explicitly | Larsson@.(none) | 2010-03-01 | 2 | -3/+1 |
| | |||||
* | Remove last cairo use from canvas_base | Alexander Larsson | 2010-02-23 | 1 | -3/+0 |
| | |||||
* | Remove cairo_t from cairo canvas | Alexander Larsson | 2010-02-23 | 3 | -59/+8 |
| | |||||
* | Covert cairo canvas put_image() to pixman | Alexander Larsson | 2010-02-23 | 1 | -77/+33 |
| | |||||
* | Replace custom region implementation with pixman_region32_t | Alexander Larsson | 2010-02-23 | 6 | -810/+451 |
| | | | | | | pixman_region32_t is an efficient well tested region implementation (its the one used in X) that we already depend on via pixman and use in some places. No need to have a custom region implementation. | ||||
* | Convert cairo canvas clear() to pixman | Alexander Larsson | 2010-02-23 | 1 | -8/+5 |
| | |||||
* | Convert cairo canvas group_start/end to pixman | Alexander Larsson | 2010-02-23 | 1 | -14/+18 |
| | |||||
* | Convert cairo canvas read_bits() to pixman | Alexander Larsson | 2010-02-23 | 1 | -6/+5 |
| | |||||
* | Remove unused cairo helper functions | Alexander Larsson | 2010-02-23 | 2 | -494/+0 |
| | |||||
* | Convert cairo canvas to use pixman for draw_stroke | Alexander Larsson | 2010-02-23 | 2 | -213/+465 |
| | |||||
* | Convert cairo canvas draw_transparent to use pixman | Alexander Larsson | 2010-02-23 | 1 | -119/+134 |
| | |||||
* | Convert cairo canvas draw_rop3 to using pixman | Alexander Larsson | 2010-02-23 | 1 | -40/+29 |
| | |||||
* | Convert draw_blackness/whiteness/invers to using pixman | Alexander Larsson | 2010-02-23 | 1 | -16/+61 |
| | |||||
* | Convert cairo canvas alpha_blend to using pixman | Alexander Larsson | 2010-02-23 | 1 | -15/+135 |
| | |||||
* | Convert cairo canvas draw_text to using pixman | Alexander Larsson | 2010-02-23 | 1 | -71/+100 |
| | |||||
* | Convert cairo canvas copy bits to pixman | Alexander Larsson | 2010-02-23 | 1 | -211/+90 |
| | |||||
* | Convert cairo canvas draw_copy() to using pixman | Alexander Larsson | 2010-02-23 | 1 | -20/+60 |
| | | | | This is just identical to draw_blend(). | ||||
* | Convert cairo canvas draw_blend() to using pixman | Alexander Larsson | 2010-02-23 | 1 | -25/+168 |
| | |||||
* | Convert cairo canvas draw_opaque() to using pixman | Alexander Larsson | 2010-02-23 | 1 | -27/+133 |
| | |||||
* | Convert cairo canvas draw_fill() to using pixman | Alexander Larsson | 2010-02-23 | 2 | -19/+503 |
| | |||||
* | Add possibility to not invert bitmask in canvas_get_mask() | Alexander Larsson | 2010-02-23 | 4 | -10/+16 |
| | | | | | This allows the pixman implementation to instead invert the (generally smaller) region instead of duplicating the bitmap to invert it. | ||||
* | Use pixman_image_t instead of cairo_surface_t as the generic pixman container | Alexander Larsson | 2010-02-23 | 10 | -523/+534 |
| | | | | | | This allows us to use the simpler dependency of pixman outside of the cairo backend, and it later lets us move the cairo backend to using pixman only. | ||||
* | Turn image and palette cache into c style dynamic interface | Alexander Larsson | 2010-02-23 | 8 | -116/+71 |
| | | | | | | 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. | ||||
* | Add pixman_image_t referencing the cairo_canvas bits | Alexander Larsson | 2010-02-23 | 2 | -0/+45 |
| | | | | | This references the same data as the cairo surface and can be used for drawing to the surface using direct pixman calls instead. | ||||
* | Add line rasterizer | Alexander Larsson | 2010-02-23 | 3 | -0/+3764 |
| | |||||
* | Add pixman utilities | Alexander Larsson | 2010-02-23 | 3 | -0/+1043 |
| | | | | | | | | | | | | | This includes: * pixman region from SpiceRects * rop2 enum * solid fill * solid fill with rop * tiled fill * tiled fill with rop * blit * blit with rop * copy rect | ||||
* | Add emacs settings for indent according to spice styleguide | Alexander Larsson | 2010-02-23 | 33 | -0/+33 |
| | |||||
* | Use standard int types and <spice/types.h> | Alexander Larsson | 2010-02-04 | 8 | -46/+15 |
| | |||||
* | Use the new header names | Alexander Larsson | 2010-02-04 | 9 | -9/+9 |
| | | | | | | I just ran: find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed | ||||
* | Rename symbols that were changed in spice-protocol | Alexander Larsson | 2010-02-04 | 15 | -620/+620 |
| | | | | | | 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 | ||||
* | Remove headers that were moved to spice-protocol | Alexander Larsson | 2010-02-04 | 8 | -2078/+0 |
| | |||||
* | libspice: add surface 0 support | Izik Eidus | 2010-01-28 | 1 | -9/+34 |
| | | | | | | This include alot of infestracture for off screens. Signed-off-by: Izik Eidus <ieidus@redhat.com> | ||||
* | client: change rerror code to be positive | Yaniv Kamay | 2010-01-11 | 1 | -15/+15 |
| | |||||
* | client: add Platform::term_printf | Yaniv Kamay | 2010-01-11 | 1 | -0/+1 |
| | | | | | | Platform::term_printf is a variant of printf that on windows dynamically opens console in order to have visible output during command line processing. | ||||
* | server,client: server authentication for secured channels. | Yonit Halperin | 2010-01-11 | 1 | -2/+19 |
| | | | | | | | | | 3 available mechanisms: by public key, by host name, and by certificate subject name. In the former method, chain of trust verification is not performed. The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem windows <spice-config-dir>=%APPDATA%\spicec\ linux <spice-config-dir>=$HOME/.spicec/ | ||||
* | spice client: fix wrong gdi-canvas handling of blend_alpha | Izik Eidus | 2009-12-23 | 1 | -6/+14 |
| | | | | Signed-off-by: Izik Eidus <ieidus@redhat.com> | ||||
* | spice: server: add memslots support. | Izik Eidus | 2009-11-23 | 9 | -58/+84 |
| | | | | Signed-off-by: Izik Eidus <ieidus@redhat.com> |