[Spice-devel] UPDATE: spice-gtk on MAC OSX
Christophe Fergeau
cfergeau at redhat.com
Wed Oct 16 11:33:22 CEST 2013
On Wed, Oct 16, 2013 at 10:37:07AM +0200, Mario wrote:
> Hi,
>
> I just took a look into those functions that are not seem to be
> involved in performance issues. Until today I stopped at the
> gdk_window_update_idle() as this call is suggestive of being
> innocent. I thought it may sleep.
>
> However this calling thread seem to create the performance issue on OSX.
>
> Attached you´ll find the time analysis of the spicy client (as png
> as text exports of this software are not really clear).
>
> Deep inside the gdk_window_update_idle() the drawing function
> spicex_draw_event() is called that actually consumes 65% of the
> whole execution time.
>
> Inside cairo_fill() the CGContextDrawImage() is called for the
> quartz backend and this seem to be the root of all evil. ;-)
>
> Is there any other approach to display the spice-widget content to
> the screen?
I'm not overly surprised that most of the execution time of a SPICE client
is spent drawing, though I don't know if we get similar figures with the
Linux client. However, part of that drawing seems to be colorspace
conversions, I don't know if these steps could be skipped somehow.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131016/ebb4603e/attachment.pgp>
More information about the Spice-devel
mailing list