/srv/irclogs.ubuntu.com/2014/02/07/#ubuntu-mir.txt

RAOFHm. When I'm blowing up code in 3rd_party I should probably move it under src/ shouldn't I.00:04
kdub_RAOF, tough call00:25
RAOFOh, *that's* why you don't move anything from 3rd_party to src/03:27
RAOFIt doesn't compile, because it generates hundreds of warning from ten or more different constructs. Hurray!03:27
RAOF“I killed him, cha cha cha”04:46
RAOFAlright. That's EOW for me. See yall Tuesday!06:59
anpok_alf_: would moving null, logging and lttng into report also imply that as another namespace level08:31
anpok_alf_: good morning08:31
alf_anpok_: good morning :) I would imagine something like mir::report in which null,logging,lttng implementation are all implementation details08:56
alf_anpok_: but not necessarily08:57
anpok_hi alan_g09:09
alan_ganpok_: ho09:09
anpok_alf_: implementation details - as there are no public headers? or no further namespaces?09:09
alan_gas in not needed by users of the class09:10
anpok_sure we will get there..09:12
anpok_just wanted to be sure about the details09:13
alf_anpok_: primarily the first, but also the second i.e., mir/report/default_configuration.cpp would implement all the_*_report() methods using class internal to the reporting component (logging, lttng)09:14
anpok_ah ok, I can see why, so all dependencies are in one direction..09:20
alan_galf_: anpok_ any opinions?  https://code.launchpad.net/~alan-griffiths/mir/SwitchingBundle-controls-completion-of-client_acquire-without-blocking/+merge/20429409:49
alf_alan_g: looking09:57
anpok_i am a bit puzzled by having multiple compositors10:22
anpok_what would happen if we turn one screen off10:22
anpok_i mean we have one compositor per output?10:23
greybackalan_g: will you have a chance to look at bug 1276704 any time soon?10:26
ubot5bug 1276704 in Mir "Need way of getting PID of Session" [Undecided,New] https://launchpad.net/bugs/127670410:26
alan_ggreyback: I've just put it on today's list10:27
greybackalan_g: thanks10:27
alf_anpok_: we have multiple compositors (running in different threads) because 1. each output is backed by a different framebuffer that we need to draw to (exception: clone mode) 2. outputs have different vsync rates and vsync start offsets10:54
anpok_but when one compositor is stopped it will release all buffers?10:56
anpok_btw will you kill me for having mrn and mrl (mir::report::logging?10:57
alf_anpok_: we have one MultiThreadedCompositor that coordinates composition on all outputs, and each output is then handled by a (Default)DisplayBufferCompositor instance10:58
alf_anpok_: so which compositor are you referring to? :)10:58
anpok_alf_: ok puzzle solved11:02
anpok_it happens through the temporary compositor buffer being consumed as a shared ptr for the short time during composition11:03
alf_anpok_: @mrn,mrl, I don't mind as long as they are internal to report (although Alan may not share this preference?)11:06
alan_gDoes "internal to report" mean in the same src directory?11:08
anpok_no in another directory underneath11:08
anpok_i just moved everthing below report11:08
anpok_yeah this time everything11:09
anpok_only lttng logging and null_*11:09
=== anpok_ is now known as anpok|lunch
=== dandrader is now known as dandrader|afk
alf_rsalveti: Hi! I was thinking, for the dynamic backends, do you need runtime selection or package time selection (e.g., have a libmirplatformandroid and libmirplatformmesa that both provide libmirplatform)?13:17
alf_rsalveti: (runtime selection = being able to install both libmirplatformandroid and libmirplatformmesa at the same time and select the actual library at runtime)13:19
rsalvetialf_: any would do for now (as we have different seeds for desktop and touch), but later on it might be good to do that in runtime13:19
rsalvetiin case someone installs the android one, and ends up breaking his desktop13:20
alf_rsalveti: the difference in mir code is minimal (since we will load server/clients backends at runtime), it's more of a packaging decision13:24
rsalvetiogra_: what do you think^?13:26
alan_galf_: in case you've not noticed - there's still a little android/mesa code in frontend (chosen at build time).13:26
rsalvetiogra_: I don't think we have an official way yet to decide if we're in desktop or touch during runtime13:27
alf_alan_g: thanks, there is also a lot of code on the client that is chosen at build time :) (I am fixing both)13:27
alan_g:)13:29
* ogra_ reads13:30
ogra_no, we dont have such a way *yet* but we will need one in the future ... for the time being selection via seeds will be fine13:31
ogra_as long as we dont tie us in with that for the future (i.e. if it still stays an easy switch i guess it is fine to re-visit in 15.04 or 15.10, whatever will have the merged seeds)13:31
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
kgunnrsalveti: atm isn't there at least some android version/value that can be interrogated ?14:17
kgunne.g. we have hwc1.0, 1.1 as well...and if no android present you're on desktop...couldn't that be the logic ?14:18
kgunnalf_: ^14:18
alf_kgunn: probably14:28
alan_ggreyback: https://code.launchpad.net/~alan-griffiths/mir/fix-1276704/+merge/20535714:34
greybackalan_g: nice, thank you14:34
alf_rsalveti: is the fix for bug 127662 enough to unblock you until we get dynamic backends?15:07
ubot5bug 127662 in x11-xserver-utils (Ubuntu) "Removing insecure xhost package removes entire X server" [Medium,Expired] https://launchpad.net/bugs/12766215:07
alf_rsalveti: hmm, bug 127662115:07
ubot5bug 1276621 in mir (Ubuntu) "Android backend unit-tests FTBS on amd64" [Undecided,New] https://launchpad.net/bugs/127662115:07
anpok|lunchalf_: alan_g: I need a name - a factory that creates reports based on the program options / server options ..15:09
rsalvetialf_: yeah, trying that today15:09
rsalvetialf_: ogra_: but it should just be easier for now to have a separated package15:09
rsalvetiand we can land it faster as well15:10
alf_rsalveti: sure15:10
alf_anpok|lunch: ReportFactory ?15:10
alan_gI understand the reluctance to use "Factory" - if there's something less generic than a pattern name it should be preferred15:12
alan_gis this an function, a class interface, an implementation, ...?15:13
alan_g*a function15:13
ogra_yeah, shiny is for later :)15:17
anpok|lunchalf_: thats the interface15:17
anpok|lunchalan_g: it is just an aggregation of three of those implementations .. for null reports logging and lttng..15:18
anpok|lunchit just delegates to the real ones ..15:18
=== anpok|lunch is now known as anpok
alan_gThen surely the interface is AbstractFactory?15:20
* alan_g winces15:20
alan_gReportSelector?15:21
anpokyes that would be fine for me, but thats like the generic version of the "er"-rule for turning verbs into nouns15:22
anpokbut since you proposed it, the rule cannot be applied by yourself15:23
anpokoh... thank you!15:24
anpokthat thing does not need to implement the factory interface.15:24
=== alan_g is now known as alan_g|vt
=== dandrader is now known as dandrader|lunch
alf_kdub: Is mga::FBTargetLayerList::reset_composition_layers() going to be generally useful in the future? It's only used in the tests right now.17:13
=== alan_g|vt is now known as alan_g
alan_gkgunn: looks like you're getting ready to land stuff. I think greyback would like this included if it gets reviewed: https://code.launchpad.net/~alan-griffiths/mir/fix-1276704/+merge/20535717:38
=== dandrader|lunch is now known as dandrader
greybackkgunn: that I would, but landing it will demand a unity-mir rebuild since it changes server API17:41
=== dandrader is now known as dandrader|bbl
anpokalan_g: still there?18:40
bregmahey guys, I'm trying to run Unity8 on the desktop and I don't have any kind of cursor anywhere ... is there something I need to do in Mir or is it the shell layer that's expected to handle that in software now?21:02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!