[Spice-devel] improving spice-html5 performance

Jeremy White jwhite at codeweavers.com
Wed Mar 6 06:48:35 PST 2013


On 03/05/2013 09:58 AM, Alon Levy wrote:
>>
>>
>> Hi,
>>
>> I am currrently trying to correct the glitches when using Win7 with
>> qxl driver. Amoung the warning messages I find these ones: "FIXME:
>> DrawCopy we don't handle mask flag: xxx" and "FIXME: DrawCopy
>> unhandled image flags: xxx". My guess is that these errors are
>> responsible for the glitches, however I don't clearly understand
>> what these flags are used for. Could you please tell me more about
>> it, and maybe where it is handled in the thinclient?
> 
> Sorry for the not very helpful idea, maybe obvious, but you can compare to spice-gtk (http://cgit.freedesktop.org/spice/spice-gtk) which probably punts to spice-common (http://cgit.freedesktop.org/spice/spice-common) which punts to pixman (http://cgit.freedesktop.org/pixman/).

That is exactly the procedure I would follow when implementing draw
features in the spice-html5 client.  There isn't really good
documentation for the nitty gritty details of the spice protocol.

Thus, I found myself having to dive in to the gtk code and instrument it
so I could see the data being passed, and examine it to understand what
the flags do.  The gtk client code isn't too bad after you get used to
it.  (Notice I don't mention the server code.  That stuff is terrifying
<grin>).

Cheers,

Jeremy


More information about the Spice-devel mailing list