<div class="gmail_quote">On Thu, Jan 5, 2012 at 20:03, Saul Wold <span dir="ltr"><<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.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="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>
'raster' as this offer best performance for most machines GPUs.<br>
<br>
Signed-off-by: Otavio Salvador<<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.<u></u>br</a>><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 = "Set default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}"<br>
+SECTION = "x11/base"<br>
+LICENSE = "MIT-X"<br>
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/<u></u>COPYING.MIT;md5=<u></u>3da9cfbcb788c80a0384361b4de204<u></u>20"<br>
+<br>
+QT_GRAPHICS_SYSTEM ?= "raster"<br>
+<br>
+# xserver-common, x11-common<br>
+VIRTUAL-RUNTIME_xserver_<u></u>common ?= "x11-common"<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'd be busted as I don'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('QT_GRAPHICS_SYSTEM', 1)<br>
+ if gs == "opengl":<br>
+ return "qt4-plugin-graphicssystems-<u></u>glgraphicssystem"<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>