/srv/irclogs.ubuntu.com/2014/04/14/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
alan_ggreyback: alf_ do you still need to "hold" https://code.launchpad.net/~alan-griffiths/mir/move-more-stuff-to-scene/+merge/214752?08:19
alf_alan_g: greyback: I am OK with it getting in, but I can't speak for Gerry and the unity-mir etc side08:20
greybackalan_g: ok from me.08:20
alan_gCool.08:22
greybackalan_g: could I get you to cast your eye over this please: https://code.launchpad.net/~gerboland/unity-mir/fix-compatibility-with-mir-0.1.8/+merge/21545408:28
alan_ggreyback: https://code.launchpad.net/~gerboland/unity-mir/fix-compatibility-with-mir-0.1.8/+merge/215454/comments/51165408:28
alan_gsynchronicity08:29
* greyback presses F508:29
alf_alan_g: also please take a look at https://code.launchpad.net/~afrantzis/mir/fix-1306464/+merge/215387  (fixes a cause of intermittent CI failures)08:30
alan_galf_: ack08:30
alan_ggreyback: Not quite a "nit" https://code.launchpad.net/~gerboland/unity-mir/fix-compatibility-with-mir-0.1.8/+merge/215454/comments/51165608:36
greybackalan_g: ah good to know08:37
greybackall feedback welcome, so "nit" away08:37
alan_galf_: why has  "woken_" grown a "_"?08:38
alf_alan_g: I added a woken() method08:39
alan_gok08:40
=== chihchun is now known as chihchun_afk
=== alan_g is now known as alan_g|lunch
greybackAnyone in here familiar enough with platform-api to review https://code.launchpad.net/~gerboland/platform-api/fix-compatibility-with-mir-0.1.8/+merge/21545512:52
kgunngreyback: i'm building with https://code.launchpad.net/~gerboland/unity-mir/fix-compatibility-with-mir-0.1.8/+merge/215454 & https://code.launchpad.net/~gerboland/platform-api/fix-compatibility-with-mir-0.1.8/+merge/21545513:00
greybackkgunn: great, thanks13:01
kgunni assume its all i needed...and ready to go13:01
greybackkgunn: yes, I built all & tested this morning, it should be good13:01
kgunnthank you13:01
kgunnalf_: greyback ...are we able to test non-blocking ?13:02
greybackkgunn: I think all the code is ready to land, but I suppose a silo would be good to bring all the bits together13:04
kgunngreyback: yep...that's what i meant, i'd like to give it a full day of team beating on it in silo13:04
kgunn(...or even more than a day...)13:05
greybacksure13:05
alf_kgunn: so the code for Mir is in mir/devel, and the needed changes for usc is in https://code.launchpad.net/~afrantzis/unity-system-compositor/non-blocking-swap-buffers/+merge/214759 and can be merged at will13:05
kgunnalf_: awesome! ...and thanks for tackling a tedious surgery :)13:06
alf_kgunn: np13:06
kgunni'll ping here and shoot a mail with silo#13:06
=== alan_g|lunch is now known as alan_g
alf_kgunn: what's the plan for making a release with them (and the other changes, e.g. scene refactoring that Alan is working on)?13:07
kgunnalf_: let's chat at our standup...but, my preference would be to promote wholesale from dev to trunk13:08
* kgunn assumed you were asking about cherry picking13:09
alf_kgunn: that would be my preference too13:10
anpokalf_: https://code.launchpad.net/~andreas-pokorny/mir/custom_input_dispatcher/+merge/215174/comments/511794 is that beneficial enough13:11
anpokasking because I tend to believe your proposal would yield a smaller change set13:12
alf_anpok: it feels strange conceptually for the DefaultInputConfiguration to both depend on and provide the InputDispatcherConf...13:21
alf_anpok: It means that the InputDispatcherConfiguration is a completely independent entity13:22
anpokyes, we could see it that way.. we split the stack in to entities13:23
anpok*two13:23
anpokthe one that reads input from devices or from the mir conncetion13:24
anpokand the part that sits on top of that and dispatches the input to clients/internally13:24
anpokhmm at some point one has to register to the other13:24
anpoks/register/be connected/..13:25
alf_anpok: if the two parts (read,dispatch) are really independent, and it's a pain if we want to override only one part, I wonder if we should split InputConfiguration into two independent interfaces.13:36
anpokalf_: I could rename InputConfiguration to InputReceiverConfiguration.. and I think I can easily remove the input_dispatcher_configuration from InputReceiverConfiguration..13:36
anpokthe connection is currently done in InputConfiguration and there is a short cut if the dispatcher is the android dispatcher.13:37
=== alan_g is now known as alan_g|afk
anpokcannot remember any reasons why I also have the_input_dispatcher_configuration() inside InputConfiguration ..13:39
anpokor InputReaderConfiguration13:39
=== alan_g|afk is now known as alan_g
kgunngreyback: hey...don't you have a unity-mir branch that would need to go with alf_'s non-blocking branch ?(e.g. expose event)13:54
greybackkgunn: not yet, working on it13:55
kgunnack13:55
alan_gkgunn: alf_ anpok we've too many (IMO) MPs in flight. We need to finish stuff as well as start it.14:03
kgunnalan_g: can you elaborate ?....i guess you are saying people need to do reviews and get stuff merged ?14:06
alan_gkgunn: mostly address review comments. But "do reviews" too.14:07
racarr__Morning!14:07
kgunnracarr__: mornin'14:08
kgunngreyback: ok, just hit me up when you got it...i can't get a silo until then14:13
greybackkgunn: ok14:13
dandraderanpok, so that would be that last missing bit, right? https://code.launchpad.net/~andreas-pokorny/mir/use-input-channel-to-send-input/+merge/21545014:17
anpokyes14:18
anpokalf_: wifi issues - did we reach a conclusion i might be unaware of?14:33
alf_anpok: no, let's talk after the stand-up14:37
=== alan_g is now known as alan_g|tea
alf_anpok: I am OK with the two interfaces, but I am not intimately familiar with the input side of things and would appreciate some discussion14:38
anpokk14:38
racarr__I am going to spend a good portion of the morning reviewing the input bits :)14:39
=== chihchun_afk is now known as chihchun
=== alan_g|tea is now known as alan_g
=== WebbyIT is now known as rpadovani
=== om26er_ is now known as om26er|food
=== om26er|food is now known as om26er
kdubalan_g, so were you intending SurfaceObserver to eventually become the way the compositors are notified of scene changes? or was it just for purposes of the shell?16:22
alan_gkdub: SurfaceObserver can notify changes to a surface, but not to e.g. the stacking order. That's a whole new Observer16:22
kdubright16:23
kdubso will the compositors eventually use the newObserver + the SurfaceObserver to figure out when to recomposite?16:23
racarr__That was my conclusion on what seemed nice when I studied it for the CursorController16:24
alan_gThere's nothing stopping class CompositeScheduler : public  ms::SurfaceObserver, public ms::StackObserver16:24
racarr__which uses the surface stack change callback (as in multiple-change-callbacks)16:24
racarr__like the compositor16:24
racarr__but for optimization and clarity shouhld also be16:25
racarr__SurfaceObserver, StackObserver16:25
kduback, and then ms::Scene doesn't have to change much immediately16:25
kdubthat seems sensible16:25
kdub*mc::Scene16:25
kdubI'm trying to target the whole recomposition system to be nicer16:26
kdubinstead of callback, render, check Renderables, render, check Renderables16:27
kdubjust callback, render, callback, render16:27
kdubno more mg::Renderable::buffers_ready_for_compositor()16:27
alan_gthat would be nice - not thought through getting there16:28
kdubI can see a path to doing that, probably would be a side clean-up for me16:29
kdubI guess the other longer-term thought is callback, renderable_list_for(), callback, renderable_list_for(), etc16:30
kdubcould just be a callback containing the renderable list16:30
kdubbut that's further down the road :)16:30
racarr__it seems like specialized callback is useful, because for example if the only scene change is a renderable dissapearing16:31
racarr__as the compositor I should be able to recognize this16:31
racarr__without having to search a list or anything16:31
kdubracarr__, yeah, good point16:32
kdubthanks alan_g & racarr__16:35
=== dandrader is now known as dandrader|lunch
anpokracarr__: hm regarding input - then I need to do more in the case we replace the droidinput dispatcher - I need to process the finished signals produced by the clients..16:51
anpokwith the current mps those signals sent back to the server are never read..16:51
racarr__anpok: Well its not an immediate requirement...but yes there is some work there16:57
racarr__this is why I am favoring this approach where we split the InputDispatcher16:57
racarr__in to an InputTargeter16:57
racarr__err16:57
racarr__or like InputTargetSelector16:57
racarr__and InputSender (manges seq ids, receiving finished signals, broken channels, etc)16:58
anpoki thought that (inputsender) would be the inputchannel in a few mps16:59
anpokhm but yeah channel might be not the right name then...17:00
alan_gracarr__: I've posted some thoughts to the spike MP. Hope they help17:00
=== alan_g is now known as alan_g|EOD
anpokbut back to the finished signal - we would fill the socket and block some time if I dont start to work something out in that direction17:01
racarr__alan_g|EOD: Thanks :)17:02
racarr__ still so sore from the plane need to go for a walk or something...back in 3017:10
racarr__ibuprofen granola bar and a walk around the block...catch all miracle cure.17:32
kdubhah, I didn't know they made ibuprofen in granola bar form ;)17:33
racarr__kdub: Hahaha no just a missing comma17:41
racarr__thats a great idea though17:41
racarr__granola bar infused with ibuprofen17:41
racarr__vitamin infused ramen17:41
racarr__sell it to college students17:41
racarr__$$$17:42
kdubnow that we have a great idea, we just need a name! GranolaBarHeadSaver17:42
racarr__kdub: Needs fixing.17:42
racarr__:p17:42
kdublol17:42
racarr__somehow I had ambitions of reviewing every open branch before lunch...17:43
racarr__and its already clear that is not going to happen lol17:44
=== dandrader|lunch is now known as dandrader
racarr__so18:27
racarr__many18:27
racarr__branches18:27
racarr__oh no18:27
racarr__now Im on custom-input-dispatcher18:27
racarr__this is the hard one lol18:27
racarr__well maybe not18:27
anpokno not at all18:30
anpokthought you meant the input channel thing18:33
dandraderanpok, so are you planning to split android::InputDispatcher responsibilities (target selection and supervision of event delivery through channels) in your custom-input-dispatcher branch?18:36
dandraderor is that to be done later18:37
racarr__I think it should probably be done later...18:38
dandrader+1. I think this splitting is going to be a big big patch18:38
racarr__I mean maybe it could have been done now but on the other hand anpok has already done this so its good to just unblock qt compositor18:38
racarr__well this patch ended up pretty big too because of all the input configuration changes, etc...whereas18:39
anpokI wanted to do that last week18:39
racarr__if InputDispatcher was a sensible interface18:39
racarr__we could just expose it and18:39
anpokbut it looked liked a lot of work ..18:39
anpokso I thought that I would do that18:39
anpokand while keeping the interface further cleanup the InputDispatcher18:40
anpokas in splitting functionalities out..18:40
racarr__I think aim at collapsing the input configuration hierarchy...right now its only a seperate hierarchy18:40
racarr__to hide android bits that we havent...made sensible yet basically18:40
anpokhm that was two weeks ago18:41
racarr__what I mean is like, InputReader, EventHub, InputDispatcher, etc18:41
anpokthen in between other stuff hapened..18:41
racarr__are all too ...18:41
racarr__poorly defined to have like18:41
racarr__ServerConfiguration::the_input_dispatcher, etc...because it depends on too many android details18:41
anpokyes18:42
racarr__but as we split responsibilities, DefaultServerConfiguration::the_input_target_selector DefaultServerConfiguration::the_input_event_sender(relay?) etc18:42
racarr__make perfecnt sense and we can18:42
racarr__delete a lot of header file code lol18:42
racarr__and just kind of clarify things18:42
racarr__is this on your agenda? should I help?18:43
anpokthats also what alf_ pointed me to18:43
anpokas in he didnt like InputConfiguration and InputDispatcherConfiguration18:44
racarr__Mm18:44
anpokright now I feel I have to make sure that the InputConsumer does not block at some point18:44
anpokI would like to to get rid of things like the input_registrar too18:45
anpokand the co-ordinate calculations being buried inside the InputDispatcher ..18:45
anpokand all that18:45
racarr__yes18:46
anpokracarr__: I dont know to which degree we can work on that thing at the same time18:46
dandraderI would say, unblock the qt compositor work now and do all the refactoring later18:47
anpokso .. to unblock the consumer it I have the feeling I should establish the inout sender ..18:47
racarr__haha yes I guess what I meant do you have time for it now18:48
racarr__anpok: well for now qtcompositor has a copied modified version of input dispatcher18:48
anpokracarr__: no other thing on my direct agenda.. i also have fix-126726 something that is in that area..18:48
racarr__so they can be unblocked by that...18:48
racarr__I mean...now I am just reviewing the diff for correctness and then It hink am happy to just go with that for the next few weeks18:49
racarr__but would like to bring real sanity to the area soon :D18:49
racarr__anpok: Ok. I leave it in your capable hands lol18:49
racarr__I have chromium and X input driver to keep me busy at least this week18:49
anpokdandrader: i would keep the current mir::input::InputDispatcher rather stable wrt further refactorings, but InputChannel .. I have to change rather sooner..18:50
anpokor the thing to dispatch the input too18:50
dandraderanpok,  what's wrong with InputChannel?18:51
racarr__one thing is send_event(seq_id, MirEvent) is weird because the caller cant know how to use seq_id really so its weird as a public interface18:52
anpokit has to be non null :) and should not collide with other input sequences18:52
anpokand nobody reads the ACK signals that come back from the input reader..18:52
racarr__indeed but they will18:53
anpokI only discovered that part today18:53
dandraderracarr__, true18:53
racarr__and if it has to be non null and not collide and thats all18:53
racarr__then it should just be hidden inside the object18:53
racarr__just going to leave comments 1 by 1 on this as I go through because its a large diff lol18:58
racarr__anpok: Ok I left a bunch of comments lol19:20
racarr__im19:42
racarr__gonna make it19:42
racarr__so hungry but only two branches left19:42
racarr__LUNCCCCCCCH19:59
racarr__*triumph and joy*19:59
racarr__oh man spot on too19:59
racarr__A+ lunch20:39
racarr__Iterating on cursor spike in just a sec then in to ozone world until EOD20:39
=== Wellark_ is now known as Wellark
=== marrusl is now known as marrusl_afk
=== marrusl_afk is now known as marrusl

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