Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Michael,

Was good to see you too, as always! I'll reply in-line for convenience;

On 6 February 2015 at 13:34, Michael Meeks <michael.meeks@collabora.com>
wrote:

        Of course, it's fantastic to have been able to re-use the mozilla
fennec Java tiled-rendering code; but as we want to make this work
cross-platform as well (as you do in Mozilla) - I suspect that we really
want to be switching from Java to use your C++ compositing code. My hope
is that lets us target Android, iOS, UbuntuTouch, etc. - but also Mac,
Windows etc. =)


I expect our layers code could well help with those targets - immediately,
I think it'd be easiest to deploy on desktops though (Mac, Linux, Windows).
We have our full-native compositing/panning/zooming stack running on
FirefoxOS (so, kind of Android), but not on Fennec (though it's not far
off, and could certainly be made to work with a less complex host app. It
currently uses some Java code to handle asynchronous panning/zooming on the
root layer). This is all given you've already deployed on Android, I'd have
considered that the hardest target (bar maybe iOS because we don't
regularly build there, though it has been done in the past).


        As I understand it the thing we should be doing is re-using this
goodness:

        https://wiki.mozilla.org/Platform/GFX/OffMainThreadCompositing

        So - some questions:

        a) did I find the right URL =)


Yup :) This may also be of interest:
https://wiki.mozilla.org/Embedding/IPCLiteAPI


        b) how does that map to source code directories inside
           mozilla-central to blatantly steal / re-factor =)


Basically, everything you want is in gfx/layers. There will be some
dependencies outside of that directory, as a quick guess: most of the other
directories in gfx, depending on platform, layout/base/Unit*, mfbt and
maybe nsprpub? This is total guess-work, I've never tried to make any of
this work outside of Gecko, but the aforementioned IPCLite may be
illuminating.


        c) you mentioned other people who would be interested in that ?
           it'd be great to contact / CC them on this =)


I would have thought that a major user of our layers/compositor
infrastructure would be of interest to the gfx/rendering team (even if just
out of pure curiosity), so with that thought I've cc'd Milan Sreckovic, who
manages the gfx team and Jet Villegas, who manages the layout team - I hope
I'm not taking liberties here :) They may be more interested in knowing how
you've been using the code, and maybe they could point things out that
could help.


Cheers!

--Chris

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.