<div dir="ltr">Really sorry to go back to it but I simply could not manage to find the answer myself. I explored the code of the client, server, even pixman… but I really couldn’t find what those mask flags are used for. Any tip?</div>
<div class="gmail_extra"><br clear="all"><div>Vincent</div>
<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 2:48 PM, Jeremy White <span dir="ltr"><<a href="mailto:jwhite@codeweavers.com" target="_blank">jwhite@codeweavers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 03/05/2013 09:58 AM, Alon Levy wrote:<br>
>><br>
>><br>
>> Hi,<br>
>><br>
>> I am currrently trying to correct the glitches when using Win7 with<br>
>> qxl driver. Amoung the warning messages I find these ones: "FIXME:<br>
>> DrawCopy we don't handle mask flag: xxx" and "FIXME: DrawCopy<br>
>> unhandled image flags: xxx". My guess is that these errors are<br>
>> responsible for the glitches, however I don't clearly understand<br>
>> what these flags are used for. Could you please tell me more about<br>
>> it, and maybe where it is handled in the thinclient?<br>
><br>
> Sorry for the not very helpful idea, maybe obvious, but you can compare to spice-gtk (<a href="http://cgit.freedesktop.org/spice/spice-gtk" target="_blank">http://cgit.freedesktop.org/spice/spice-gtk</a>) which probably punts to spice-common (<a href="http://cgit.freedesktop.org/spice/spice-common" target="_blank">http://cgit.freedesktop.org/spice/spice-common</a>) which punts to pixman (<a href="http://cgit.freedesktop.org/pixman/" target="_blank">http://cgit.freedesktop.org/pixman/</a>).<br>
<br>
</div>That is exactly the procedure I would follow when implementing draw<br>
features in the spice-html5 client. There isn't really good<br>
documentation for the nitty gritty details of the spice protocol.<br>
<br>
Thus, I found myself having to dive in to the gtk code and instrument it<br>
so I could see the data being passed, and examine it to understand what<br>
the flags do. The gtk client code isn't too bad after you get used to<br>
it. (Notice I don't mention the server code. That stuff is terrifying<br>
<grin>).<br>
<br>
Cheers,<br>
<br>
Jeremy<br>
</blockquote></div><br></div>