<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
El 15/02/16 a las 17:01, Javier Celaya escribió:<br>
<blockquote cite="mid:56C1F65C.3010102@flexvdi.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">El 15/02/16 a las 16:38, Victor Toso
escribió:<br>
</div>
<blockquote
cite="mid:20160215153831.GA30608@wingsuit.brq.redhat.com"
type="cite">
<pre wrap="">Hi,
On Fri, Feb 12, 2016 at 02:41:58PM +0100, Javier Celaya wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This patch set adds support for dynamic resolution changes with the WDDM
driver on Windows >= 8. It is based on the one sent by Vadim Rozenfeld
with some improvements:
- It detects both the XDDM driver and the WDDM driver, and uses the
correct API.
- It detects if the client is trying to set the same resolution again,
and does nothing. This is the result of the client detecting a primary
surface destruction/construction when the resolution changes, and
asking for a resolution change again. This bug does not happen with
the XDDM driver, so it may be avoidable in some other way.
- It uses an alternative method to update the list of display modes,
that results in a nicer effect when changing the resolution. This
method is compatible with the current driver implementation (v0.12),
but for best results we have modified the driver to drop the previous
method and to improve support of hardware pointers. The source can be
found in <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/flexvdi/qxl-dod">https://github.com/flexvdi/qxl-dod</a>, and precompiled and signed
binaries can be downloaded from <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://depot.flexvdi.com/guest-tools/">http://depot.flexvdi.com/guest-tools/</a>.
</pre>
</blockquote>
<pre wrap="">You might be interested in taking a look at Sandy's work recently pushed
to freedesktop at
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/%7Eteuf/qxl-wddm-dod/">https://cgit.freedesktop.org/~teuf/qxl-wddm-dod/</a>
and thank you for your work on this,
toso</pre>
</blockquote>
Thank you, Victor. I'll see if these patches are in sync with her
job.<br>
</blockquote>
It turns out they are not. In particular, she changed the interface
to send a custom resolution to the driver. I'm going to try to
coordinate with her, in case she also has a patch set for the
vdagent, so do not push these patches upstream yet.<br>
<br>
Thanks for pointint this out.<br>
<blockquote cite="mid:56C1F65C.3010102@flexvdi.com" type="cite">
<blockquote
cite="mid:20160215153831.GA30608@wingsuit.brq.redhat.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Changes from v1:
- New types and classes have been moved from common/vdcommon.h to
vdagent/wddm.h, since they are actually not common to both the vdagent
and the vdservice. The code for those classes is in vdagent/wddm.cpp.
- Some improvements as suggested by Frediano Ziglio.
Javier Celaya (2):
Detect and use the new WDDM driver
Use CCD API to update the WDDM display modes.
Makefile.am | 2 +
common/vdcommon.h | 4 +
vdagent/desktop_layout.cpp | 69 ++++++++++++---
vdagent/wddm.cpp | 76 +++++++++++++++++
vdagent/wddm.h | 206 +++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 345 insertions(+), 12 deletions(-)
create mode 100644 vdagent/wddm.cpp
create mode 100644 vdagent/wddm.h
--
2.4.3
_______________________________________________
Spice-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><br>
<br>
</p>
<table style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px;" width="480" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style=" vertical-align:top; padding-right:10;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><a
moz-do-not-send="true" href="http://flexvdi.com"><img
src="cid:part6.01030205.04070408@flexvdi.com"
style="vertical-align: top;" height="45"
width="151"></a><a moz-do-not-send="true"
href="http://flexvdi.com"><span style="
font-family:'Lato,Arial'; text-decoration:
underline; color:#0057ae;"> </span></a></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><span style="
font-family:'Lato,Arial'; font-size:15px;
font-weight:600; color:#3e5d6b;">Javier Celaya </span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><span style="
font-family:'Lato,Arial'; font-size:13px;
font-style:italic; color:#00a1c1;">Software Engineer
</span></p>
</td>
<td style=" padding-left:18; padding-right:18;
padding-top:7; padding-bottom:7;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part9.03090602.06020201@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
moz-do-not-send="true" name="info"></a><a
moz-do-not-send="true"
href="mailto:javier.celaya@flexvdi.com"><span
style=" font-family:'Lato,Arial'; font-size:14px;
text-decoration: underline; color:#727272;">j</span></a><span
style=" font-family:'Lato,Arial'; font-size:14px;
text-decoration: underline; color:#727272;"><a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:avier.celaya@flexvdi.com"><a class="moz-txt-link-abbreviated" href="mailto:avier.celaya@flexvdi.com">avier.celaya@flexvdi.com</a></a></span><span
style=" font-family:'Lato,Arial';"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part13.03090303.02030907@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
moz-do-not-send="true" name="info"></a><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">+</span><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">34 876 60 00 73</span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part15.08000200.07060503@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
moz-do-not-send="true" name="info"></a><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">@</span><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">j_celaya</span><span style="
font-family:'Lato,Arial';"> </span></p>
</td>
</tr>
</tbody>
</table>
<table style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px;" border="0" cellpadding="0"
cellspacing="2">
</table>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><br>
<br>
</p>
<table style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px;" width="480" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td style=" vertical-align:top; padding-right:10;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><a
href="http://flexvdi.com"><img
src="cid:part17.05060401.04090507@flexvdi.com"
style="vertical-align: top;" height="45" width="151"></a><a
href="http://flexvdi.com"><span style="
font-family:'Lato,Arial'; text-decoration:
underline; color:#0057ae;"> </span></a></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><span style="
font-family:'Lato,Arial'; font-size:15px;
font-weight:600; color:#3e5d6b;">Javier Celaya </span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><span style="
font-family:'Lato,Arial'; font-size:13px;
font-style:italic; color:#00a1c1;">Software Engineer </span></p>
</td>
<td style=" padding-left:18; padding-right:18;
padding-top:7; padding-bottom:7;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part20.08000101.02030802@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
name="info"></a><a
href="mailto:javier.celaya@flexvdi.com"><span style="
font-family:'Lato,Arial'; font-size:14px;
text-decoration: underline; color:#727272;">j</span></a><span
style=" font-family:'Lato,Arial'; font-size:14px;
text-decoration: underline; color:#727272;"><a class="moz-txt-link-abbreviated" href="mailto:avier.celaya@flexvdi.com">avier.celaya@flexvdi.com</a></span><span
style=" font-family:'Lato,Arial';"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part23.08020502.03090009@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
name="info"></a><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">+</span><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">34 876 60 00 73</span></p>
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px; -qt-user-state:0;"><img
src="cid:part25.07060104.03080908@flexvdi.com"
style="float: left;" height="17" width="17"><span
style=" font-family:'Lato,Arial';"> </span><a
name="info"></a><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">@</span><span style="
font-family:'Lato,Arial'; font-size:14px;
color:#727272;">j_celaya</span><span style="
font-family:'Lato,Arial';"> </span></p>
</td>
</tr>
</tbody>
</table>
<table style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px;" border="0" cellpadding="0" cellspacing="2">
</table>
</div>
</body>
</html>