<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mozilla Gfx Team Blog</title>
	<atom:link href="http://mozillagfx.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mozillagfx.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 08 Apr 2013 05:45:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mozillagfx.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mozilla Gfx Team Blog</title>
		<link>http://mozillagfx.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mozillagfx.wordpress.com/osd.xml" title="Mozilla Gfx Team Blog" />
	<atom:link rel='hub' href='http://mozillagfx.wordpress.com/?pushpress=hub'/>
		<item>
		<title>FOSDEM 2013</title>
		<link>http://mozillagfx.wordpress.com/2013/02/02/fosdem-2013/</link>
		<comments>http://mozillagfx.wordpress.com/2013/02/02/fosdem-2013/#comments</comments>
		<pubDate>Sat, 02 Feb 2013 18:15:15 +0000</pubDate>
		<dc:creator>nicalsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fosdem]]></category>

		<guid isPermaLink="false">http://mozillagfx.wordpress.com/?p=30</guid>
		<description><![CDATA[We&#8217;ve been quite busy lately and, I must confess, not very good at feeding this blog. Sorry about that. If you want some news about Gfx and you are attending FOSDEM this year, I invite you to see the the two talks by Gfx members: In the first one, Sunday in the morning, I will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=30&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve been quite busy lately and, I must confess, not very good at feeding this blog. Sorry about that. If you want some news about Gfx and you are attending FOSDEM this year, I invite you to see the the two talks by Gfx members:</p>
<p>In the first one, Sunday in the morning, I will give a quick overview of some parts of our rendering pipeline, and focus on the Layers system that we are in the process of refactoring. I think it should be an interesting talk for anyone curious about how things work under the hood, or for those who would like to contribute specifically on the topic of layers and off-main-thread compositing.</p>
<p><a href="https://fosdem.org/2013/schedule/event/geckos_asynchronous_compositing_architecture/" rel="nofollow">https://fosdem.org/2013/schedule/event/geckos_asynchronous_compositing_architecture/</a></p>
<p>In the second talk (Sunday afternoon), Bas will give useful pointers for people interested in contributing to graphics in Gecko.</p>
<p><a href="https://fosdem.org/2013/schedule/event/contributing_to_graphics_in_gecko/" rel="nofollow">https://fosdem.org/2013/schedule/event/contributing_to_graphics_in_gecko/</a></p>
<p>There are plenty of other cool Mozilla talks at FOSDEM this year.</p>
<p>See you tomorrow morning!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mozillagfx.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mozillagfx.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=30&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mozillagfx.wordpress.com/2013/02/02/fosdem-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110ed13acdbaeab2c6ba38f76e0fedf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nicalsilva</media:title>
		</media:content>
	</item>
		<item>
		<title>How to help testing off-main-thread compositing</title>
		<link>http://mozillagfx.wordpress.com/2012/10/06/how-to-help-testing-off-main-thread-compositing/</link>
		<comments>http://mozillagfx.wordpress.com/2012/10/06/how-to-help-testing-off-main-thread-compositing/#comments</comments>
		<pubDate>Sat, 06 Oct 2012 09:55:37 +0000</pubDate>
		<dc:creator>nicalsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozillagfx.wordpress.com/?p=15</guid>
		<description><![CDATA[I have been asked several times on irc and Bugzilla about how to help getting off-main-thread compositing (OMTC) ready to be turned on by default (especially by Linux users). It is awesome to hear from such people and yes, you can help. This blog post is about reporting bugs for off-main-thread compositing, a feature that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=15&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="magicdomid50">I have been asked several times on irc and Bugzilla about how to help getting off-main-thread compositing (OMTC) ready to be turned on by default (especially by Linux users). It is awesome to hear from such people and yes, you can help. This blog post is about reporting bugs for off-main-thread compositing, a feature that works very well on <a title="Firefox for Android" href="http://www.mozilla.org/en-US/firefox/mobile/features/">Firefox for Android</a> and <a title="Firefox OS" href="http://www.mozilla.org/en-US/firefoxos/">Firefox OS</a> but is in development on Linux and Mac, and not yet started on Windows. On this specific topic, you can help us if you are using Linux or Mac. I will give informations about testing on Windows when the Windows implementation is ready, which should happen soon.</div>
<div id="magicdomid51">If you are asking &#8220;how can I help?&#8221;, it most likely means that you are not familiar with Firefox&#8217;s source code, and it is all right. We need a lot of testing. Since OMTC uses hardware acceleration, it is subject to driver bugs and problems can vary from one machine to another. We need people to test and give us feedbacks about their experience using OMTC:</div>
<ul>
<li> is it improving/regressing your user experience? In what ways?</li>
<li> do you see rendering bugs when OMTC?  If so, on which web pages?</li>
<li> is it crashing?</li>
<li> most likely the experience will be less smooth at this point, since we have not played with optimizing OMTC on desktop platforms yet. However if it turns out to be faster it&#8217;s worth.</li>
</ul>
<div id="magicdomid56"></div>
<div id="magicdomid451">Of course, it is also possible to help us by writing code, and some community members do help us this way, but this is not the topic of this post. If you&#8217;re interested you can check out <a href="https://wiki.mozilla.org/Platform/GFX/Contribute">https://wiki.mozilla.org/Platform/GFX/Contribute</a>.</div>
<div id="magicdomid58"></div>
<div></div>
<h2>Setup a testing profile in Firefox nightly</h2>
<div id="magicdomid61">OMTC is changing a lot, so we need feedbacks from people using nightly builds of Firefox (no need to build it from source, you can download Firefox Nightly from here: <a href="http://nightly.mozilla.org/">http://nightly.mozilla.org/</a> )</div>
<div id="magicdomid62"></div>
<div id="magicdomid63">First, create a separate profile. A profile contains your preferences, and we are about to try experimental features, so you don&#8217;t want to break your default profile, so we will make sure you can try the fancy stuff without breaking your normal user experience.</div>
<div id="magicdomid64">open a terminal and go to the directory containing Firefox Nightly.</div>
<div id="magicdomid65">Type:</div>
<pre><strong>./firefox --no-remote -P</strong></pre>
<div id="magicdomid66">This will open the profile manager. from there you can create a new profile. You will have to give it a name, I will assume you named it &#8220;testing&#8221;, but if you give it a different name, just remember to put the name you choose in place of testing in the following instructions. Do not tick the &#8220;Don&#8217;t ask at startup&#8221; option because it would set it as your default profile which you don&#8217;t want until you are sure that it will not break.</div>
<div id="magicdomid67"></div>
<div id="magicdomid68">We will now make sure that hardware acceleration is available by typing about:config in the address bar, and setting the following preferences to &#8220;true&#8221;:</div>
<ul>
<li>layers.acceleration.force-enabled</li>
<li>layers.acceleration.draw-fps</li>
</ul>
<div id="magicdomid71">Then create a new window by detaching a tab or pressing ctrl+n.</div>
<div id="magicdomid72">You should see one or two pink counters appear on the top left of every new window. The content of the counters is not interesting to us in this case, but the presence of the counter means that layers acceleration is enabled and used.</div>
<div></div>
<div id="magicdomid74">If the pink counter did not appear, it means that Firefox could not enable layers acceleration, which I think is pretty rare. At this point you can&#8217;t help us testing OMTC yet (until we implement OMTC on top of non-accelerated layers), sorry&#8230; But there may be other areas you can test and give us feedbacks on! You can connect to the #developers and/or #gfx channels at irc.mozilla.org with an irc client and tell us that you want to help testing new features, and I am sure someone will be thrilled to hear that!</div>
<div></div>
<div></div>
<div></div>
<div id="magicdomid76">Back to testing OMTC:</div>
<div id="magicdomid77">you just checked that layers acceleration works. It does. Sweet. Keep layers acceleration enabled and if you are on linux close Firefox.</div>
<div id="magicdomid78"></div>
<div></div>
<div></div>
<div></div>
<div id="magicdomid79">Now there are two scenarios:</div>
<div id="magicdomid80">
<ul>
<li>you are using Linux:<br />
you need to set an environment variable before running Nightly. This is the most annoying part. in your terminal, in the directory containing Firefox Nightly, type the following command:</li>
</ul>
<pre> <strong>export MOZ_USE_OMTC=1</strong></pre>
<p>start firefox again by entering in your terminal</p>
<pre><strong>./firefox --no-remote -p testing</strong></pre>
</div>
<div id="magicdomid84">
<ul>
<li>you are using OS X
<ul>
<li style="text-align:left;">no need to set an environment vairable. start firefox with the testing profile by typing ./firefox &#8211;no-remote -p testing if you closed it, and set the preference layers.offmainthreadcomposition.enabled in about:config to &#8220;true&#8221;.</li>
</ul>
</li>
</ul>
</div>
<div id="magicdomid86"></div>
<div id="magicdomid87">You are now running off-main-thread compositing \o/</div>
<div id="magicdomid88">Before you start playing around, also set to &#8220;true&#8221; the following preferences in about:config</div>
<ul>
<li>layers.offmainthreadcomposition.animate-transform</li>
<li>layers.offmainthreadcomposition.animate-opacity</li>
<li>layers.async-video.enabled</li>
</ul>
<div id="magicdomid93">These three features are using the OMTC architecture to move some of the animations off the main thread, making them smooth even when the browser is slowed down by a heavy javascript workload or an addon.</div>
<div id="magicdomid94"></div>
<div></div>
<div id="magicdomid95">The inital setup was a bit tedious but you will not have to repeat all the steps every time. all the options that you have set in about:config are stored in the testing profile, so you will not have to re do these steps.</div>
<div id="magicdomid96">If you are on linux you will,  however, have to set the environment variable <strong>MOZ_USE_OMTC</strong> each time. I recommend not to place the command for the environment variable in your bashrc/zshrc/etc. because if your non-testing instances of Firefox see this environment variable, they will try to enable OMTC, and you don&#8217;t want to risk breaking your non-testing instances.</div>
<div id="magicdomid97">When you want to run your testing instance of firefox, run</div>
<pre><strong>./firefox --no-remote -p testing </strong></pre>
<div>from a terminal in the directory containing Firefox Nigthly.</div>
<div></div>
<h2 id="magicdomid99">Now let&#8217;s test.</h2>
<div></div>
<div id="magicdomid101">Browse the web, use your browser like you normally would, think of whether your experience is better or worse than before, and what exactly is better or worse.</div>
<div id="magicdomid102"></div>
<h2 id="magicdomid103">Report the bugs.</h2>
<div id="magicdomid104"></div>
<div id="magicdomid105">To report problems, please use <a href="https://bugzilla.mozilla.org">https://bugzilla.mozilla.org</a></div>
<div id="magicdomid106">Create a bug in the product &#8220;Core&#8221; and the component Graphics: Layers.</div>
<div id="magicdomid107">In the &#8220;CC:&#8221; field, add &#8220;:nical, :BenWa, :bjacob&#8221; without the quotes, so that I, and a few others from the gfx team, receive notifications about the bug.</div>
<div id="magicdomid108">In the &#8220;Blocks:&#8221; field, put &#8220;722012&#8243; without quotes, if you are using Linux, or &#8220;756601&#8243; if you are using OS X. This will tell us that there is a dependency between OMTC Linux/Mac and the bug you found, maximizing the chances that we see your bug in the first place and that  we will see it when we are looking for bugs related to OMTC.</div>
<div id="magicdomid109"></div>
<div id="magicdomid110">When you fill in the description of the bug, try to give us as many informations as you can. We are interested in what OS you use, which version, what graphics card you have&#8230;</div>
<div id="magicdomid111">If you are on linux, type</div>
<pre>glxinfo</pre>
<div>in a terminal and copy-paste the result of this command in the description of the bug. glxinfo provides with informations about your graphics card, the version of its pilots and what are the capabilities of hardware acceleration on your machine, which is helpful for us to diagnose the problems.</div>
<div id="magicdomid112"></div>
<div id="magicdomid113">Think of a bug in Bugzilla has anything that is misbehaving compared to the stable version of Firefox. If the page is not rendered correctly, or firefox is crashing, or some things like scrolling getting slow&#8230; Anything that represents a regression compared to stable Firefox is a bug for OMTC.</div>
<div id="magicdomid114"></div>
<div id="magicdomid115">If you are familiar with tools like gdb, providing us with a backtrace of the crash if you find one is extremely helpful.</div>
<div id="magicdomid116">to run firefox inside gdb, you can type:</div>
<pre><strong>gdb --args ./firefox --no-remote -p testing</strong></pre>
<div id="magicdomid118">then type <strong>r</strong> and press <strong>enter</strong>.</div>
<div id="magicdomid119">If firefox crashes while running in gdb, you can get the backtrace by typing <strong>bt</strong> and pressing <strong>enter</strong>. Then you just have to copy-paste the backtrace in the description of the bug.</div>
<div id="magicdomid120"></div>
<h2 id="magicdomid121">If you need help</h2>
<div></div>
<div id="magicdomid122">I just wrote a lot of things in here, and it may be confusing. I don&#8217;t want to scare you away, so don&#8217;t hesitate to ask me questions on the #gfx irc channel at irc.mozilla.org. My nick name on irc is nical, and I&#8217;ll do my best to help you if I am around when you ask. Note that I also speak French, in case you are a French speaker and not at ease with conversing in English.</div>
<div id="magicdomid123"></div>
<div id="magicdomid124">Thank you to all the people who have proposed to help us. The making of Firefox does not only involve only Mozilla&#8217;s staff. Firefox is the making of its entire community without which it would not nearly be as awesome as it is today.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mozillagfx.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mozillagfx.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=15&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mozillagfx.wordpress.com/2012/10/06/how-to-help-testing-off-main-thread-compositing/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110ed13acdbaeab2c6ba38f76e0fedf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nicalsilva</media:title>
		</media:content>
	</item>
		<item>
		<title>Created the Mozilla Gfx Team Blog</title>
		<link>http://mozillagfx.wordpress.com/2012/09/04/created-the-mozilla-gfx-team-blog/</link>
		<comments>http://mozillagfx.wordpress.com/2012/09/04/created-the-mozilla-gfx-team-blog/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 17:23:49 +0000</pubDate>
		<dc:creator>mozillagfx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozillagfx.wordpress.com/?p=3</guid>
		<description><![CDATA[The primary purpose of this blog is to help communication across and around the Mozilla Gfx team. In particular, we want to help non-employee contributors be better connected and better informed of any relevant developments. In particular, we aim for this blog to have: team goal/project updates; announcements of new projects, or developments in existing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=3&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The primary purpose of this blog is to help communication across and around the Mozilla Gfx team. In particular, we want to help non-employee contributors be better connected and better informed of any relevant developments.</p>
<p>In particular, we aim for this blog to have:</p>
<ul>
<li>team goal/project updates;</li>
<li>announcements of new projects, or developments in existing projects;</li>
<li>early feature announcements;</li>
<li>posts introducing anyone in the gfx team, regardless of employee status;</li>
<li>posts from anyone in the gfx team, regardless of employee status.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mozillagfx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mozillagfx.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mozillagfx.wordpress.com&#038;blog=40065927&#038;post=3&#038;subd=mozillagfx&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mozillagfx.wordpress.com/2012/09/04/created-the-mozilla-gfx-team-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9523368b82b58a53e34762c532a61976?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mozillagfx</media:title>
		</media:content>
	</item>
	</channel>
</rss>
