<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/125018/">https://git.reviewboard.kde.org/r/125018/</a>
     </td>
    </tr>
   </table>
   <br />




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: 1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
 <tr>
  <td>

<div>Review request for Plasma, Kai Uwe Broulik and Sebastian Kügler.</div>
<div>By Martin Gräßlin.</div>


<p style="color: grey;"><i>Updated Sept. 8, 2015, 2:18 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">* rebased on master
* fixed the typos
* improved documentation on the protocol</pre>
  </td>
 </tr>
</table>







<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kwayland
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Allows to retrieve the OutputInterface* for a given native wl_resource.
To support this we need to track the resources bound for each Output.

[server] Add a DpmsManagerInterface

Adding support for a org_kde_kwin_dpms interface. On server side
Dpms is mostly bound to the OutputInterface exposing just a very
small manager. Whether Dpms is supported and which mode is used is
tracked directly on the OutputInterface.

[client] Dpms protocol


[tests] Add an example for the Dpms interface

Uses QWidgets to render a very small UI.
* lists each Output
* for each output shows whether dpms is supported
* and which dpms mode it's in
* and provides a button to change the mode

[autotests] Extend tests for Dpms</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">See added test application.</p></pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> (updated)</h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>autotests/client/test_wayland_output.cpp <span style="color: grey">(cb2892a18c58eb1ebb2482fc76243876b7ea26a7)</span></li>

 <li>autotests/client/test_wayland_registry.cpp <span style="color: grey">(53885d5907419cd541d08b79d65ba4a2f5d4aa2b)</span></li>

 <li>src/client/CMakeLists.txt <span style="color: grey">(6c7a9c035e6e9c6ba7fc46aa90078bfc5e1401d6)</span></li>

 <li>src/client/dpms.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/dpms.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/protocols/dpms.xml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/registry.h <span style="color: grey">(30c9bcbcb91be885fadef1aabe6e9edf2aab56cc)</span></li>

 <li>src/client/registry.cpp <span style="color: grey">(771cf53c2edb8044dad042f0e800b14c86f72cbd)</span></li>

 <li>src/server/CMakeLists.txt <span style="color: grey">(73d6c83b815f664ed06b9c8467a87018c71eefbc)</span></li>

 <li>src/server/display.h <span style="color: grey">(e5f1ed58537f3a1042e2832b359a29b21aa8d9ad)</span></li>

 <li>src/server/display.cpp <span style="color: grey">(cfcc1fcede74b1030eed40ef18704584ac9fbe55)</span></li>

 <li>src/server/dpms_interface.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/server/dpms_interface.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/server/dpms_interface_p.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/server/output_interface.h <span style="color: grey">(080ec7f7867795628f6ac243849d4ddd0c67e11a)</span></li>

 <li>src/server/output_interface.cpp <span style="color: grey">(ccf305d19a0b57cb5082d5e644c6bd83c0bfdd8d)</span></li>

 <li>tests/CMakeLists.txt <span style="color: grey">(44712ece1a6a2d9566594fee910c711742c6ab01)</span></li>

 <li>tests/dpmstest.cpp <span style="color: grey">(PRE-CREATION)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/125018/diff/" style="margin-left: 3em;">View Diff</a></p>






  </td>
 </tr>
</table>



  </div>
 </body>
</html>