Tuesday, February 19, 2013

OMTC Questions

mayankleoboy1 asked some questions in the comments of another blog post and I figured the answers might be of interest to a wider audience, so here they are (edited for order because it makes them easier to answer):

So when is the expected date for GFX and the m-c trees to merge ?

Around March 18th, as long as there are no unexpected problems. This is our goal date, not a promise :-)

[...] a lot of the OMT* is being done on priority for FFOS and Android, and later trickling to desktops. Has the traditional desktpos (win, lin and mac) market become second tier platform for mozilla ?

No, certainly not, although we have a lot of work to do on mobile, so that is a focus for many engineers right now. OMT* is developed for mobile because it is needed most there. Without OMTC, Firefox for Android is really unusably bad. Without OMTA FirefoxOS is really slow and jittery in some key places. Desktop Firefox works pretty well without them (although it will work better with).

Why is that OMT* work lags on windows, compared to OSX and Linux ? AFAIK, windows makes 90% of mozilla users. So shouldnt windows desktop get more priority ?

As I said above, the focus of the OMT* work has been for mobile and that means OpenGL. We don't support OpenGL on Windows, so we don't have OMT* there. We only have it on Mac and Linux to make mobile development easier - it is not yet a supported configuration on either platform (although it will be in the future). Implementing OMT* on a different graphics backend has been very daunting. One goal of the layers refactoring is to make that easier. Our current focus for OMTC is Windows, in particular for the Metro browser. Unless there are unforeseen hurdles, Windows will be the next platform to get OMTC. (OMTA has a few other issues before it can be used anywhere other than FirefoxOS (including on Android), not least of which is testing).

And yes, Windows is a higher priority for Mozilla (in general) than Linux and Mac, although user share is not the sole determinant of priority (Linux gets a lot of love (relative to its user share) because it is more closely aligned to our mission and a lot of developers use it, for example).


Anonymous said...

There are other questions you could response, how the community can help to reach goal date? there are good first bugs? how we can help to test?

Nick Cameron. said...

Good questions!

At this stage in the refactoring (mostly polishing and bug hunting) there are probably not any good first bugs. But we do have good first bugs in graphics in general and we would love to get people involved. The best way is to come say hi on #gfx on irc (Moznet).

Help testing is definitely appreciated, if you are brave, then downloading, building, and testing the graphics branch would be very useful, but it is pretty buggy right now. Testing nightlies after we merge will be the most useful way to test, and I'll post specifically about that once we land.

mayankleoboy1 said...

Thanks Nick, for the replies :)

Jesse Ruderman said...

What will the GFX merge (planned for March) bring to mozilla-central? Will that be the point at which OMT* is a "supported configuration" and/or default for Mac and/or Linux?

Do you plan to get OMT* fuzzable on Mac or Linux in the immediate future? https://bugzilla.mozilla.org/show_bug.cgi?id=808425

Nick Cameron. said...

Jesse: the gfx merge is mostly refactoring, so there will be no new platforms configurations. The merge will heopefully include the work on OMTC for the Metro browser, which is all new. I'm not sure about the fuzzability of that, better to check with jimm or one of the others working on Windows Metro.

Linux and Mac OMTC will become supported configurations at a later date. Mac first (but I'm not sure about before or after Windows OMTC). There is no schedule yet. Fixing 808425 should be part of that work.