<div class="gmail_quote">On Thu, Jan 5, 2012 at 20:03, Saul Wold <span dir="ltr">&lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 01/05/2012 11:37 AM, Otavio Salvador wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Allow setting default runtime graphics system engine for Qt4<br>
applications per machine.<br>
<br>
Depending on the GPU and Xorg driver, this can boost and impact<br>
significantly the drawing performance. The default setting is to<br>
&#39;raster&#39; as this offer best performance for most machines GPUs.<br>
<br>
Signed-off-by: Otavio Salvador&lt;<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.<u></u>br</a>&gt;<br>
---<br>
  .../qt4-graphics-system/<a href="http://qt4-graphics-system_1.0.bb" target="_blank">qt4-<u></u>graphics-system_1.0.bb</a> |   27 ++++++++++++++++++++<br>
  1 files changed, 27 insertions(+), 0 deletions(-)<br>
  create mode 100644 meta/recipes-qt/qt4-graphics-<u></u>system/<a href="http://qt4-graphics-system_1.0.bb" target="_blank">qt4-graphics-system_1.<u></u>0.bb</a><br>
<br>
diff --git a/meta/recipes-qt/qt4-<u></u>graphics-system/<a href="http://qt4-graphics-system_1.0.bb" target="_blank">qt4-graphics-<u></u>system_1.0.bb</a> b/meta/recipes-qt/qt4-<u></u>graphics-system/<a href="http://qt4-graphics-system_1.0.bb" target="_blank">qt4-graphics-<u></u>system_1.0.bb</a><br>

new file mode 100644<br>
index 0000000..b3aa1e5<br>
--- /dev/null<br>
+++ b/meta/recipes-qt/qt4-<u></u>graphics-system/<a href="http://qt4-graphics-system_1.0.bb" target="_blank">qt4-graphics-<u></u>system_1.0.bb</a><br>
@@ -0,0 +1,27 @@<br>
+DESCRIPTION = &quot;Set default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}&quot;<br>
+SECTION = &quot;x11/base&quot;<br>
+LICENSE = &quot;MIT-X&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://${COREBASE}/meta/<u></u>COPYING.MIT;md5=<u></u>3da9cfbcb788c80a0384361b4de204<u></u>20&quot;<br>
+<br>
+QT_GRAPHICS_SYSTEM ?= &quot;raster&quot;<br>
+<br>
+# xserver-common, x11-common<br>
+VIRTUAL-RUNTIME_xserver_<u></u>common ?= &quot;x11-common&quot;<br>
+<br>
</blockquote></div></div>
Should the be initialized here or in one of the Qt tasks?</blockquote><div><br></div><div>Here or I&#39;d be busted as I don&#39;t use the tasks ;-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+def _get_extra_rdepends(d):<br>
+    gs = d.getVar(&#39;QT_GRAPHICS_SYSTEM&#39;, 1)<br>
+    if gs == &quot;opengl&quot;:<br>
+        return &quot;qt4-plugin-graphicssystems-<u></u>glgraphicssystem&quot;<br>
+<br>
</blockquote></div>
Is this package available in OE-Core?</blockquote><div><br></div><div>Yes.</div><div><br></div></div>-- <br>Otavio Salvador                             O.S. Systems<br>E-mail: <a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>  <a href="http://www.ossystems.com.br" target="_blank">http://www.ossystems.com.br</a><br>
Mobile: +55 53 9981-7854              <a href="http://projetos.ossystems.com.br" target="_blank">http://projetos.ossystems.com.br</a><br><br>