/srv/irclogs.ubuntu.com/2015/05/22/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
posix4eHow hard is it to port something from X11 to mir17:26
alan_git depends on the something17:29
RAOFShort answer: it depends.17:29
RAOFposix4e: *Mostly* it depends on: Are you using GTK or Qt (or, indeed, SDL)?17:29
RAOFIf the answer to that question is “yes”, then porting to Mir is roughly equivalent to “try running it”.17:30
posix4ei'm looking at servo17:30
posix4eit's the new firefox in rust17:30
posix4ehttps://github.com/servo/servo17:30
posix4ehttps://www.irccloud.com/pastebin/KrtAb4Ib17:31
RAOFposix4e: Oh, yeah. It doesn't use a toolkit, so will need to be actually ported.18:25
posix4eRAOF: that probably makes more sense for something like a webbrowser anyway18:25
posix4eanything i can look at to get started?18:25
RAOFposix4e: Acutally, does servo use X11 at all?18:26
RAOFIIUC it's the rendering engine, not the frontend?18:26
posix4eRAOF: indeed18:26
posix4ebut it has a frontend18:26
posix4ewhich is some new version of something from firefox18:27
posix4ehence my original question about people porting firefox18:27
posix4eThanks for being helpful btw18:27
posix4eI know this is a weird train of thought, ubuntu and mozilla being mortal enemies and all18:27
RAOFAh, right.18:27
RAOF???18:27
RAOFSo, the way to start would be... let me think...18:28
posix4eRAOF: kidding about the enemies thing, but i think they hook up to opengl18:29
RAOFHeh. One option would be to create a chroot without any X11 libraries, install Rust in there, and try running “cargo build” :)18:29
posix4eso it shouldn't be bad right?18:29
RAOFIndeed.18:29
RAOFWell, I guess it depends if they hook up to GLX or EGL.18:29
posix4e*nod18:30
RAOFGLX would require more effort, because it's intrinsically tied to X.18:30
RAOFIf 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
posix4eso basically the android servo uses egl18:31
posix4ethat's probably what we want anyway for the tablet18:32
RAOFYup.18:32
RAOFSo, basically I'd guess what you need to do is grep for XOpenDisplay, and replace the things that start with that codepath. :)18:32
posix4eneat18:34
posix4ewhat do i do to get things into the marketplace18:35
posix4eactually18:35
posix4ei'll bug ubuntu-touch for the rest of my queries18:35
posix4eYou guys rock!18:35
posix4ehuh18:35
posix4elogs.glob.uno/?c=mozilla%23servo&s=13+May+2015&e=13+May+2015&h=mir#c21181318:35
RAOFYeah, dmabuf solves their texture sharing problems.18:41
RAOF*If* they can get the relevant fd out of the libEGL, of course :)18:41
posix4emwhaha18:44
chrisccoulsonposix4e, are we going to have a servo-powered web browser on Ubuntu phone?18:48
chrisccoulsonThat would be awesome18:48
chrisccoulsonno pressure ;)18:49
posix4eI am thinking about it18:49
posix4edoesn't look like it's that bad18:49
chrisccoulsonhey RAOF, isn't it the weekend for you already?18:49
RAOFchrisccoulson: Not in Dallas, no.19:04
RAOFHah! IRC bouncer resync.19:04
chrisccoulsonRAOF, 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!