<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>eduardofleury.com &#187; Maemo</title>
	<atom:link href="http://blog.eduardofleury.com/archives/category/maemo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.eduardofleury.com</link>
	<description>Thoughts, shuffled...</description>
	<lastBuildDate>Sat, 01 May 2010 00:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Foi lançado o Qt 4.6 !</title>
		<link>http://blog.eduardofleury.com/archives/2009/12/98/</link>
		<comments>http://blog.eduardofleury.com/archives/2009/12/98/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:15:34 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Português]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Labs Americas (pt)]]></category>
		<category><![CDATA[anchorlayout]]></category>
		<category><![CDATA[brasil]]></category>
		<category><![CDATA[brazil]]></category>
		<category><![CDATA[fleury]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[indt]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[openbossa]]></category>
		<category><![CDATA[oslo]]></category>
		<category><![CDATA[Qt 4.6]]></category>
		<category><![CDATA[recife]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=98</guid>
		<description><![CDATA[Está disponível desde hoje cedo a versão 4.6.0 do Qt com diversas novidades, como diz o post oficial dos nossos amigos do Qt. A nova versão está disponível para download em qt.nokia.com, em versões pré compiladas para Windows, MacOS e Symbian, além do código fonte (para todas as plataformas). Usuários Linux podem baixar e compilar [...]]]></description>
			<content:encoded><![CDATA[<p>Está disponível desde hoje cedo a versão 4.6.0 do Qt com diversas novidades, como diz o <a href="http://labs.trolltech.com/blogs/2009/12/01/qt-460-released-early-due-to-good-behaviour/" target="_blank">post oficial</a> dos nossos amigos do Qt.</p>
<p>A nova versão está disponível para download em <a title="Qt" href="http://qt.nokia.com/" target="_blank">qt.nokia.com</a>, em versões pré compiladas para Windows, MacOS e Symbian, além do código fonte (para todas as plataformas). Usuários Linux podem baixar e compilar o fonte ou então instalar usando os procedimentos normais de cada distribuição, tão logo estejam disponíveis os pacotes desta versão.</p>
<p>Entre as novidades dessa versão estão:</p>
<ul>
<li>API de Animação (QAnimation)</li>
<li>Máquina de Estados (QStateMachine)</li>
<li>Novo layout (QGraphicsAnchorLayout)</li>
<li>Suporte para a plataforma Symbian, o que permite que o Qt rode em dezenas de milhões de novos aparelhos <img src='http://blog.eduardofleury.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>A documentação atualizada com todas as novas classes está pronta também, ou pelo Qt Assistant ou <a title="Qt Docs" href="http://qt.nokia.com/doc/4.6/index.html" target="_blank">online</a>.</p>
<p>Outro fato marcante desta versão é o fato de ser a primeira após a abertura do repositório Git do Qt, e assim marca uma integração cada vez maior com a comunidade. Nesse sentido esperamos que todos usem, testem e mandem opiniões e reports de eventuais bugs, para que as próximas versões sejam cada vez melhores!</p>
<p>Para ilustrar um pouco, <a title="Qt 4.6.0 video" href="http://www.youtube.com/watch?v=PCx8RfNhhXk" target="_blank">um vídeo</a> feito pelo pessoal aqui do openBossa mostrando o 4.6.0 rodando em diversos aparelhos!</p>
<p><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/PCx8RfNhhXk&#038;hl=en_US&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PCx8RfNhhXk&#038;hl=en_US&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p>
<p>Para finalizar, algumas fotos do time do Qt.</p>
<p>Em Oslo</p>
<p><a title="Oslo Team" href="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/oslo1.jpg"><img width=340 height=255 src="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/oslo1.jpg" alt="Oslo Team" /></a></p>
<p>Em Berlin</p>
<p><a title="Berlin Development Team" href="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/berlin.jpg"><img width=340 height=192 src="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/berlin.jpg" alt="Berlin Development Team" /></a></p>
<p>Em Brisbane</p>
<p><a title="Brisbane Development Team" href="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/brisbane.jpg"><img width=340 height=255 src="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/brisbane.jpg" alt="Brisbane Development Team" /></a></p>
<p>Em Munich</p>
<p><a title="Munich Development Team" href="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/munich.jpg"><img width=340 height=96 src="http://labs.trolltech.com/blogs/wp-content/uploads/2009/12/munich.jpg" alt="Munich Development Team" /></a></p>
<p>Parabéns pessoal!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2009/12/98/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The QGraphicsAnchorLayout</title>
		<link>http://blog.eduardofleury.com/archives/2009/09/86/</link>
		<comments>http://blog.eduardofleury.com/archives/2009/09/86/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 23:11:39 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Labs Americas (en)]]></category>
		<category><![CDATA[anchorlayout]]></category>
		<category><![CDATA[brasil]]></category>
		<category><![CDATA[brazil]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[fleury]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[linear programming]]></category>
		<category><![CDATA[openbossa]]></category>
		<category><![CDATA[qgal]]></category>
		<category><![CDATA[qgraphicsanchorlayout]]></category>
		<category><![CDATA[recife]]></category>
		<category><![CDATA[rich UI]]></category>
		<category><![CDATA[simplex]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=86</guid>
		<description><![CDATA[In the last post I mentioned that the new QGraphicsLayout, to be released in Qt 4.6, is already available in the public Qt git repository. Now I&#8217;d like to give some overview of how it works and why we&#8217;re so excited about it. To do that I&#8217;ll talk about the layouts that already existed in [...]]]></description>
			<content:encoded><![CDATA[<p>In the last post I mentioned that the new QGraphicsLayout, to be released in Qt 4.6, is already available in the public Qt git repository.</p>
<p>Now I&#8217;d like to give some overview of how it works and why we&#8217;re so excited about it.</p>
<p>To do that I&#8217;ll talk about the layouts that already existed in Qt, the Anchor Layout basic usage and finally, the situations that are better handled by the latter. From now on assume I&#8217;m talking about the QGraphicsView framework and where you read &#8220;widget&#8221; or &#8220;layout&#8221;, understand that I refer to QGraphicsWidgets and QGraphicsLayouts.</p>
<p><strong>Existing QGraphicsLayouts</strong></p>
<p>As of Qt 4.5, the exiting layouts available were the Linear and the Grid layouts. With those, as their names imply, users could have their widgets arranged side-by-side or in a spreadsheet-like fashion, with support for merged cells included.</p>
<p>It was not possible however to lay items out of the screen or overlap them, total or partially. Besides that, some cases would require several layouts to be nested in order to achieve the desired result.</p>
<p><strong>The Anchor Layout concept</strong></p>
<p>Previous layouts work like this: the linear layout would require you to add items to the layout in a given sequence and then those would be arranged side by side (or one on top of the other); in the grid layout the concept is similar, but items are now associated to X,Y indexes to represent the row and column where they should be inserted.</p>
<p>The Anchor Layout breaks with this paradigm in the sense there is no pre-defined concept of how should the items be arranged. The final position of each item is totally dependent on how you set the anchors. In other words, the anchor layout is a very, very <em>flexible</em> layout.</p>
<p>While most layouts are flexible to some extent and allow you to configure parameters like spacing between items or margins, the Anchor Layout brings flexibility to a new level. It was also our goal to make the setup process something easy. We didn&#8217;t want to expose hundreds of abstract parameters to the user, instead, we wanted to provide a high-level API and concept. Besides making the coding more rewarding, that would make it easier to translate into C++ code, the  UI designers ideas and way of thinking. That&#8217;s what<em> the anchors</em> are about.</p>
<p>In this layout, each item has six anchorage points, which are Left, Right, Top, Bottom and the Horizontal and Vertical centers. The user is then responsible for connecting the anchorage points of different items to the others, and to the anchorage points of the layout itself. These connections are made through the use of the so called Anchors, that have well defined sizes.</p>
<p>Then, based on:</p>
<p>- the anchors created,<br />
- the size hints of each item, and<br />
- the size of the layout itself</p>
<p>the layout engine calculates the appropriate  geometry of each widget.</p>
<p><strong>Real world Anchor Layout use cases</strong></p>
<p>Here at openBossa we have been involved on the development of rich-UI applications for long, and it was with that experience in mind that we started contributing with the guys from Qt on the development of the QGraphicsAnchorLayout.</p>
<p>Bellow you will find a few use cases of ours that were not handled by existing layouts and work fine with anchors.</p>
<p><em>Transition between screens</em></p>
<p>We often want to make a transition between two screens of the same application. Imagine the user performs an action that should hide the current screen and show another one.</p>
<p>In a rich UI application we probably want to animate such transition, one of the alternatives is to apply a fade-out or blur to the current screen until the new screen is seen. To achieve that, we want both screens to occupy the same position on the screen, the old one being in front of the new one (higher Z value). Then it&#8217;s just a matter of changing the opacity of the screen on the front and voilà, we have the effect.</p>
<p>So, how do we use a standard layout to make one widget (next screen) occupy the same position as another one (current screen)? We couldn&#8217;t do that with existing layout. With anchor is just a matter of anchoring both screens edges to the layout edges (right of item to right of layout, left to left, and so forth).</p>
<div id="attachment_87" class="wp-caption aligncenter" style="width: 330px"><img class="size-full wp-image-87" title="AnchorLayout_Swallow" src="http://blog.eduardofleury.com/wp-content/uploads/2009/09/swallow.png" alt="Usage of AnchorLayout to set two swallows on the same place" width="320" height="348" /><p class="wp-caption-text">Usage of AnchorLayout to set two swallows on the same place.</p></div>
<p><em>Off-screen items</em></p>
<p>Another common trick used in UI animations is to have an off-screen item get &#8220;inside&#8221;  the screen or vice-versa. For instance, imagine a toolbar on the top of the screen that shows or hides itself in an animated way, like &#8220;walking into&#8221; or &#8220;out&#8221; of the screen. The idea here is to have two states (QStates maybe?) where the toolbar widget is on-screen in one of them, and off-screen in the other.</p>
<p>Again, with standard layouts we could not create this &#8220;off-screen&#8221; state. With anchors it&#8217;s just a matter of anchoring for instance, the bottom of the toolbar to the top of the layout, thus, the toolbar will sit right above the layout, ready to enter the screen (in an animated way) when necessary.</p>
<div id="attachment_88" class="wp-caption aligncenter" style="width: 333px"><img class="size-full wp-image-88" title="AnchorLayout_Toolbar" src="http://blog.eduardofleury.com/wp-content/uploads/2009/09/toolbar.png" alt="Usage of AnchorLayout to set a toolbar on or off-screen." width="323" height="404" /><p class="wp-caption-text">Usage of AnchorLayout to set a toolbar on or off-screen.</p></div>
<p><em>Organic setup</em></p>
<p>There are also those cases where we have several items arranged on the screen in a very organic way as drawn by the UI designers. Often it&#8217;s not practical (or possible) to define that arrangement in terms of several  nested layouts. However, with a single Anchor Layout, all items can be arranged precisely.</p>
<p><strong>Try it</strong></p>
<p>There are other situations where such a flexible layout is helpful, however I hope the cases above exemplify the kind of problem we are trying to solve. Please, give it a try, let us know of your impressions. We really appreciate all kinds of feedback, either on usage, performance, API, features, and so forth. All of these will be taken into account so you can have a nice new tool ready for use in Qt 4.6.</p>
<p>Enjoy <img src='http://blog.eduardofleury.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2009/09/86/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Canola-like layout in Qt Kinetic</title>
		<link>http://blog.eduardofleury.com/archives/2009/04/69/</link>
		<comments>http://blog.eduardofleury.com/archives/2009/04/69/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 22:17:15 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[Canola]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Misc Links]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Labs Americas (en)]]></category>
		<category><![CDATA[animated layouts]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[brasil]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[openbossa]]></category>
		<category><![CDATA[recife]]></category>
		<category><![CDATA[rich UI]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=69</guid>
		<description><![CDATA[Hi all, We&#8217;ve just uploaded a new video showing our latest animated layout example. You can check it at: OpenBossa&#8217;s Youtube Channel Or here: Rather than showing how to animate from one layout to another, this example shows how could a Qt user create his/her own custom layout that uses QGraphicsLayoutProxies internally to animate its [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>We&#8217;ve just uploaded a new video showing our latest animated layout example.</p>
<p>You can check it at:<br />
<a href=http://www.youtube.com/openbossa>OpenBossa&#8217;s Youtube Channel</a></p>
<p>Or here:<br />
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/eJcTBJaPRZg&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/eJcTBJaPRZg&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>Rather than showing how to animate from one layout to another, this example shows how could a Qt user create his/her own custom layout that uses QGraphicsLayoutProxies internally to animate its items.</p>
<p>From the usage point of view, once the layout is ready, all one has to do is to add or remove widgets to the layout or resize it to see them animating to the right places.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2009/04/69/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bossa Conference Programme is out!</title>
		<link>http://blog.eduardofleury.com/archives/2009/02/45/</link>
		<comments>http://blog.eduardofleury.com/archives/2009/02/45/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 20:50:28 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Misc Links]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Labs Americas (en)]]></category>
		<category><![CDATA[Talks]]></category>
		<category><![CDATA[bossa conference brazil linux mobile conference beach openbossa indt]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=45</guid>
		<description><![CDATA[Fresh news right from the source, the programme for Bossa Conference 2009 in Porto de Galinhas, Pernambuco &#8211; Brazil was just released. Check it out at: http://www.bossaconference.indt.org/programme And for those who haven&#8217;t seen it yet, don&#8217;t miss the Bossa Conference teaser at YouTube: http://www.youtube.com/watch?v=IHM8cUoxmio Don&#8217;t miss this one!]]></description>
			<content:encoded><![CDATA[<p>Fresh news right from the source, the <strong>programme</strong> for <strong>Bossa Conference 2009</strong> in Porto de Galinhas, Pernambuco &#8211; Brazil was just released.</p>
<p>Check it out at:<br />
<a href="http://www.bossaconference.indt.org/programme" target="_blank">http://www.bossaconference.indt.org/programme</a></p>
<p>And for those who haven&#8217;t seen it yet, don&#8217;t miss the Bossa Conference <strong>teaser at YouTube</strong>:<br />
<a href="http://www.youtube.com/watch?v=IHM8cUoxmio" target="_blank">http://www.youtube.com/watch?v=IHM8cUoxmio</a></p>
<p>Don&#8217;t miss this one! <img src='http://blog.eduardofleury.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2009/02/45/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>44 and counting&#8230; Days for Bossa Conference 09 :-)</title>
		<link>http://blog.eduardofleury.com/archives/2009/01/38/</link>
		<comments>http://blog.eduardofleury.com/archives/2009/01/38/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 17:28:14 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Misc Links]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Labs Americas (en)]]></category>
		<category><![CDATA[Talks]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=38</guid>
		<description><![CDATA[No, that&#8217;s not a post about the 44th President of the USA, Mr. Barack Obama. The inauguration was very nice and so it is to know that hopefully some change will come to America, I mean, less weapons, more jobs However let&#8217;s get back to the topic, the 2009 edition of Bossa Conference is around [...]]]></description>
			<content:encoded><![CDATA[<p>No, that&#8217;s not a post about the 44th President of the USA, Mr. Barack Obama. The inauguration was very nice and so it is to know that hopefully some change will come to America, I mean, less weapons, more jobs <img src='http://blog.eduardofleury.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  However let&#8217;s get back to the topic, <strong>the 2009 edition of Bossa Conference is around the corner, have you registered online yet?</strong></p>
<p>I had just begun working at OpenBossa (the company) when I attended to last year&#8217;s Bossa Conference was delighted to experience this unique event on Free and Open Source solutions for mobile embedded devices.</p>
<p>Bossa is different because it goes beyond the high quality talks, those who attend to Bossa have the chance to hang out with the speakers and other participants in a very casual way, all of that while enjoying the best-in-class Summerville Beach Resort, in the northeast of Brazil. Expanding your network and chatting about the latest technologies is incredibly amusing when done inside a pool and under the bright sun of Porto de Galinhas, Pernambuco.</p>
<p>A teaser for those who could not be present at last years edition.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/IHM8cUoxmio&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/IHM8cUoxmio&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>Online subscription is opened already at the <a title="Bossa Conference" href="http://www.bossaconference.indt.org/" target="_blank">Official Site</a>.</p>
<p>Don&#8217;t forget to read about this year&#8217;s <a title="Bossa 09 List of Speakers" href="http://www.bossaconference.indt.org/programme" target="_blank">list of speakers</a> that include, in no special order:</p>
<p>Andreas Aardal Hanssen<br />
Carsten Haitzler (Rasterman)<br />
David Zeuthen<br />
Gustavo Barbieri<br />
Hadi Nahari<br />
Holger Krekel<br />
Iñaky Pérez- Gonzalez<br />
Karen Sandler<br />
Koen Kooi<br />
Marius Bugge Monsen<br />
Olivier Crête<br />
Patrícia Montenegro<br />
Scoot James Remnant<br />
Sebastian Kügler<br />
Simon Hausmann<br />
Thiago Macieira<br />
Zack Rusin</p>
<p>Best regards!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2009/01/38/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running x11perf on Maemo (N800)</title>
		<link>http://blog.eduardofleury.com/archives/2008/08/29/</link>
		<comments>http://blog.eduardofleury.com/archives/2008/08/29/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 03:25:14 +0000</pubDate>
		<dc:creator>fleury</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Primary]]></category>
		<category><![CDATA[QEdje]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[qt qedje maemo english linux]]></category>

		<guid isPermaLink="false">http://blog.eduardofleury.com/?p=29</guid>
		<description><![CDATA[Hi all, this post is about some benchmarks we did on Nokia&#8217;s N800 device to measure the performance of XShmPutImage on this hardware. I&#8217;ve been working on the QEdje project and, while studying possible optimizations, our team was interested in measuring whether we could benefit from using MIT&#8217;s X11 shared memory extensions. Among other tests, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all, this post is about some benchmarks we did on Nokia&#8217;s N800 device to measure the performance of XShmPutImage on this hardware.</p>
<p>I&#8217;ve been working on the QEdje project and, while studying possible optimizations, our team was interested in measuring whether we could benefit from using MIT&#8217;s X11 shared memory extensions. Among other tests, I managed to run x11perf on the N800.</p>
<p>A simple patch was needed before cross-compiling it. This because this app has a hard-coded window size of 600&#215;600 pixels, more than what&#8217;s available in our 800&#215;480 screen, thus leading to a X error message, complaining about get screen parameters.</p>
<p>I also reduced the square side size from 500 to 400 pixels in the XShmPutImage and XPutImage tests (<em>shmput500</em> and <em>putimage500</em>).</p>
<p>The results were absolutely favorable to the use of the shared memory extension as you can see below:</p>
<p>./x11perf -<strong>shmput500</strong> -sync</p>
<p>800 reps @   8.6566 msec (   <strong>116.0/sec</strong>)</p>
<p>./x11perf <strong>-putimage500</strong> -sync</p>
<p>360 reps @  14.8336 msec (    <strong>67.4/sec</strong>)</p>
<p>For those willing to reproduce the tests, the patch is available below and should apply cleanly to x11perf 1.5.</p>
<p><a title="x11perf 1.5 patch" href="http://blog.eduardofleury.com/wp-content/uploads/x11perf-1.5-maemo.patch" target="_self">Download x11perf 1.5 patch</a></p>
<p>Cheers,</p>
<p>Fleury</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eduardofleury.com/archives/2008/08/29/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
