=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
posix4e | How hard is it to port something from X11 to mir | 17:26 |
---|---|---|
alan_g | it depends on the something | 17:29 |
RAOF | Short answer: it depends. | 17:29 |
RAOF | posix4e: *Mostly* it depends on: Are you using GTK or Qt (or, indeed, SDL)? | 17:29 |
RAOF | If the answer to that question is “yes”, then porting to Mir is roughly equivalent to “try running it”. | 17:30 |
posix4e | i'm looking at servo | 17:30 |
posix4e | it's the new firefox in rust | 17:30 |
posix4e | https://github.com/servo/servo | 17:30 |
posix4e | https://www.irccloud.com/pastebin/KrtAb4Ib | 17:31 |
RAOF | posix4e: Oh, yeah. It doesn't use a toolkit, so will need to be actually ported. | 18:25 |
posix4e | RAOF: that probably makes more sense for something like a webbrowser anyway | 18:25 |
posix4e | anything i can look at to get started? | 18:25 |
RAOF | posix4e: Acutally, does servo use X11 at all? | 18:26 |
RAOF | IIUC it's the rendering engine, not the frontend? | 18:26 |
posix4e | RAOF: indeed | 18:26 |
posix4e | but it has a frontend | 18:26 |
posix4e | which is some new version of something from firefox | 18:27 |
posix4e | hence my original question about people porting firefox | 18:27 |
posix4e | Thanks for being helpful btw | 18:27 |
posix4e | I know this is a weird train of thought, ubuntu and mozilla being mortal enemies and all | 18:27 |
RAOF | Ah, right. | 18:27 |
RAOF | ??? | 18:27 |
RAOF | So, the way to start would be... let me think... | 18:28 |
posix4e | RAOF: kidding about the enemies thing, but i think they hook up to opengl | 18:29 |
RAOF | Heh. One option would be to create a chroot without any X11 libraries, install Rust in there, and try running “cargo build” :) | 18:29 |
posix4e | so it shouldn't be bad right? | 18:29 |
RAOF | Indeed. | 18:29 |
RAOF | Well, I guess it depends if they hook up to GLX or EGL. | 18:29 |
posix4e | *nod | 18:30 |
RAOF | GLX would require more effort, because it's intrinsically tied to X. | 18:30 |
RAOF | If they use EGL it would basically be a matter of passing a different type in (a MirConnection rather than a Display, a MirSurface rather than a Window) and everything else would work without effort. | 18:30 |
posix4e | so basically the android servo uses egl | 18:31 |
posix4e | that's probably what we want anyway for the tablet | 18:32 |
RAOF | Yup. | 18:32 |
RAOF | So, basically I'd guess what you need to do is grep for XOpenDisplay, and replace the things that start with that codepath. :) | 18:32 |
posix4e | neat | 18:34 |
posix4e | what do i do to get things into the marketplace | 18:35 |
posix4e | actually | 18:35 |
posix4e | i'll bug ubuntu-touch for the rest of my queries | 18:35 |
posix4e | You guys rock! | 18:35 |
posix4e | huh | 18:35 |
posix4e | logs.glob.uno/?c=mozilla%23servo&s=13+May+2015&e=13+May+2015&h=mir#c211813 | 18:35 |
RAOF | Yeah, dmabuf solves their texture sharing problems. | 18:41 |
RAOF | *If* they can get the relevant fd out of the libEGL, of course :) | 18:41 |
posix4e | mwhaha | 18:44 |
chrisccoulson | posix4e, are we going to have a servo-powered web browser on Ubuntu phone? | 18:48 |
chrisccoulson | That would be awesome | 18:48 |
chrisccoulson | no pressure ;) | 18:49 |
posix4e | I am thinking about it | 18:49 |
posix4e | doesn't look like it's that bad | 18:49 |
chrisccoulson | hey RAOF, isn't it the weekend for you already? | 18:49 |
RAOF | chrisccoulson: Not in Dallas, no. | 19:04 |
RAOF | Hah! IRC bouncer resync. | 19:04 |
chrisccoulson | RAOF, you're not in the part of the world that I thought you were ;) | 19:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!