summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move most of the shared draw_xyz() methods from CairoCanvas to CanvasBaseAlexander Larsson2010-03-083-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_baseAlexander Larsson2010-03-086-38/+58
|
* Move virtualization of canvas drawing into common/canvas_baseAlexander Larsson2010-03-0817-830/+501
| | | | | | | | | | | 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 interfaceAlexander Larsson2010-03-087-48/+41
|
* Make glz_decoder non-optional canvas_base in canvas constructorsAlexander Larsson2010-03-087-30/+13
| | | | | 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 nicerAlexander Larsson2010-03-0815-38/+48
| | | | | We use a dynamic interface similar to e.g. SpiceImageCache instead of passing both function and opaque
* Fix colorkeying in pixman_utils.cAlexander Larsson2010-03-081-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.
* Fix up win32 build reference to pixman_utils.cppAlexander Larsson2010-03-051-1/+1
| | | | It was pointing to the wrong directory for pixman_utils.cpp
* Only use AI_ADDRCONF if availibleAlexander Larsson2010-03-031-1/+4
| | | | AI_ADDRCONF not availible on winXP, so this fixes windows build.
* Update visual studio project for pixman changesLarsson@.(none)2010-03-011-4/+12
|
* Make gdi canvas build in the new pixman worldLarsson@.(none)2010-03-014-23/+35
|
* Always include spice/types.h before pixman so standard int types existLarsson@.(none)2010-03-011-0/+2
|
* Fix warnings from visual studio compilerLarsson@.(none)2010-03-012-15/+15
|
* Have only one copy of ROUND macro and cast to int explicitlyLarsson@.(none)2010-03-012-3/+1
|
* spice client: add ipv6 support.Gerd Hoffmann2010-02-272-53/+41
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice client: fix dns lookupGerd Hoffmann2010-02-271-3/+9
| | | | | | ignore lookup results which are not ipv4 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Remove qcairo dependency, only use pixmanAlexander Larsson2010-02-235-12/+8
|
* Remove cairo use in clientAlexander Larsson2010-02-234-118/+149
|
* Remove no longer needed CAIRO_CANVAS_CACH_IS_SHARED define and codeAlexander Larsson2010-02-233-11/+2
|
* Remove last cairo use from canvas_baseAlexander Larsson2010-02-231-3/+0
|
* Remove cairo_t from cairo canvasAlexander Larsson2010-02-235-96/+28
|
* Covert cairo canvas put_image() to pixmanAlexander Larsson2010-02-231-77/+33
|
* Replace custom region implementation with pixman_region32_tAlexander Larsson2010-02-2316-870/+618
| | | | | | 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 pixmanAlexander Larsson2010-02-231-8/+5
|
* Convert cairo canvas group_start/end to pixmanAlexander Larsson2010-02-231-14/+18
|
* Convert cairo canvas read_bits() to pixmanAlexander Larsson2010-02-231-6/+5
|
* Remove unused cairo helper functionsAlexander Larsson2010-02-232-494/+0
|
* Convert cairo canvas to use pixman for draw_strokeAlexander Larsson2010-02-232-213/+465
|
* Convert cairo canvas draw_transparent to use pixmanAlexander Larsson2010-02-231-119/+134
|
* Convert cairo canvas draw_rop3 to using pixmanAlexander Larsson2010-02-231-40/+29
|
* Convert draw_blackness/whiteness/invers to using pixmanAlexander Larsson2010-02-231-16/+61
|
* Convert cairo canvas alpha_blend to using pixmanAlexander Larsson2010-02-231-15/+135
|
* Convert cairo canvas draw_text to using pixmanAlexander Larsson2010-02-231-71/+100
|
* Convert cairo canvas copy bits to pixmanAlexander Larsson2010-02-231-211/+90
|
* Convert cairo canvas draw_copy() to using pixmanAlexander Larsson2010-02-231-20/+60
| | | | This is just identical to draw_blend().
* Convert cairo canvas draw_blend() to using pixmanAlexander Larsson2010-02-231-25/+168
|
* Convert cairo canvas draw_opaque() to using pixmanAlexander Larsson2010-02-231-27/+133
|
* Convert cairo canvas draw_fill() to using pixmanAlexander Larsson2010-02-232-19/+503
|
* Add possibility to not invert bitmask in canvas_get_mask()Alexander Larsson2010-02-234-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 containerAlexander Larsson2010-02-2312-544/+555
| | | | | | 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 interfaceAlexander Larsson2010-02-2314-175/+158
| | | | | | 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 optional templated base class to Cache and SharedCacheAlexander Larsson2010-02-233-4/+7
| | | | We want this for integration with C-style classes.
* Add pixman_image_t referencing the cairo_canvas bitsAlexander Larsson2010-02-232-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 rasterizerAlexander Larsson2010-02-237-0/+3791
|
* Add pixman utilitiesAlexander Larsson2010-02-237-0/+1071
| | | | | | | | | | | | | 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 styleguideAlexander Larsson2010-02-2333-0/+33
|
* Fix delete vs delete[] mismatchesAlexander Larsson2010-02-102-3/+3
| | | | This fixes a bunch of valgrind warnings.
* Use standard int types and <spice/types.h>Alexander Larsson2010-02-0411-81/+33
|
* Revert automatic renames that were wrongAlexander Larsson2010-02-047-29/+29
| | | | Seems my rename script didn't handle C++ namespaces that well.
* Use the new header namesAlexander Larsson2010-02-0429-33/+33
| | | | | | 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