/srv/irclogs.ubuntu.com/2014/12/17/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
anpok_kdub, alan_g: can I have your opinion on the LoggingSharedLibraryProberReport here:13:50
anpok_https://code.launchpad.net/~mir-team/mir/server-platform-probing/+merge/24498213:50
anpok_line 1122 in the MP currently defined anonymously inside the graphics part of the server configuration13:51
kdubsure13:51
anpok_I was wondering whetyer MIR_SERVER_*_REPORT=log should use ml::log instead of logger?13:51
alan_gok13:52
alan_gno13:52
anpok_i was about to move that class somewhere else since I would use the same impl for input platform loading13:52
anpok_ok then this wont be the =log report..13:52
anpok_so right now this code will always report which libraries have been tested and loadded independent of any log setting13:56
alan_ganpok_: I think you have misunderstood something. The reason reports (like LoggingSharedLibraryReport) should have a dependency on ml::Logger is so that they can be tested - and we can ensure the output is correct and meaningful14:14
alan_gml::log() provides a way for unimportant messages to be written to the logger (which is the same one).14:15
kdubits also so we can plug different loggers in (like glog in the examples), or we could have a file-writer logger one day14:22
alan_gkdub: of we plug in glog that also affects ml::log()14:24
alan_g*if14:24
anpok_hm so the LoggingSharedLibraryReport part needs fixing14:24
kdubalan_g, ah, I was unaware14:25
alan_gThe last thing mir::Server::apply_settings() does is ml::set_logger() - so by the time the system starts initialization the logger has been changed14:27
=== chihchun is now known as chihchun_afk
alan_gcamako: here is the extension to mir_demo_server we talked about yesterday. Can you check it can supersede  mir-demo-tester? https://code.launchpad.net/~alan-griffiths/mir/enable-running-tests-in-mir_demo_server/+merge/24502117:48
alan_gAlbertA: I think this is OK now? https://code.launchpad.net/~nick-dedekind/mir/1355173.trust-prompt-suspend/+merge/24158818:00
AlbertAalan_g: oh yeah I forgot to flip it yesterday...18:03
=== alan_g is now known as alan_g|EOD
AlbertAracarr: so I'm trying to understand the need for buffer stream...like why not just add additional methods to fill in a buffer obtained from a MirSurface?18:06
AlbertAracarr: I mean at the client level why do I care that it's MirSurface vs MirBufferStream?18:07
=== chihchun_afk is now known as chihchun
racarrAlbertA: You can't make WM requests on a buffer stream, it can't receive input, etc18:09
racarrso the question is it better to pull out the buffer stream abstraction or18:09
racarrmake a highly special cased surface18:09
AlbertAracarr: couldn't we do a MirSurfaceType cursor or such?18:09
racarrI mean we could, and it would work for this despite adding a lot of extra semantics...18:10
racarre.g. now it probably requires documentation, setting cursor on MirSurfaceType cursor always fails, setting orientation, etc.18:10
racarrbut then, the intention is that its not just cursor...18:10
racarre.g. perhaps the auxillary decoration surfaces18:10
racarrthe other example is from RAOF and that's a client attaching multiple buffer streams to a single surface.18:11
anpok_hmm18:11
anpok_like a nested shell?18:11
racarressentially18:11
racarrexcept say18:11
racarrI mean chromium is the only app I can think of that may do something like that18:11
racarrI think maybe RAOF has another example18:11
AlbertAracarr: well I do think it goes nicely with screencasting18:12
AlbertAso we don't have to do the egl dance and glREadPixels18:12
racarrthat too18:12
racarreventually mir_screencast.cpp and18:12
AlbertAlends itself for easier integration with h/w encoders18:12
racarrmir_surface/surfaceless_buffer_stream.cpp18:12
racarrparts of it can18:13
racarrbe shared18:13
racarras the client machinery18:13
racarrbut...18:13
racarri.e. in terms of code duplication18:13
racarrbut the diff is already kind of painful18:13
racarrand I was scared to touch any more critical path code lol18:13
racarrbut it should eventually reduce some code duplication18:14
racarrAlbertA: p.s. thanks for reviewing buffer stream :)18:21
racarrI know its kind of a long review for the tagline of...upload pixels to the cursor18:21
racarrlol18:21
AlbertAracarr: add-more-event-getters is a pre-requisite of port-examples-off-mir-event-access right?18:31
racarrAlbertA: Yeah, because of the new18:34
racarrheader structure18:34
racarrthat doesn't require including each event header individually18:34
racarrAlbertA: I realized a lot of my concerns about protocol validation in your branch (don't feel you have to do this though because it already exists too...)18:36
racarrcould be solved by using a different way of structuring the protobox requests18:36
racarre.g. message MenuRequest { required int top; required int left} message SurfaceRequest {optional int MenuRequest}18:37
racarrerr18:37
racarroptional MenuRequest18:37
AlbertAracarr: yeah I asked about that, but it was preferred18:37
AlbertAto add optional fields to SurfaceParameters18:37
racarrreally weird18:37
AlbertAand required is probably not something we want to use now...as it would be a pain in the ass to retire it if we need to right?18:38
racarrnah. as long as the top level requests only feature optional membership of things that have required members18:38
racarrthen you can always keep appending, MenuRequest2 MenuRequest3, etc...18:39
AlbertAracarr: ah I see...18:39
AlbertAstill have it as part of SurfaceParameters18:39
racarrmm18:39
AlbertAbut group them accordingly18:39
AlbertA?18:39
racarryes18:39
racarryou end up repeating the shared parameters18:39
racarrin the nested messages18:39
racarrI think? But that's not really18:40
racarra problem18:40
racarrI mean some component has to contain these message groupings18:40
racarrin the current architecture its drifting towards a combination of SurfaceParameters and session18:40
racarrso I think it would be cool to just encode it in the protobuf layer.18:41
racarractually the version of alan_g in my dream last night (100% serious lol) thought it would be cool but I agree.18:41
AlbertAracarr: :)18:41
racarrMaybe ill take a peek at it the next time I get some time for a cleanup branch18:42
anpok_hmm18:56
anpok_those to probing branches..18:56
anpok_*two18:56
anpok_they are a bit inconsistent.. the output dir for the loadable client and server libraries is {client,server}-modules but for the dpkg those paths get changed to {client,server}-platform18:58
anpok_ah ok thats just install vs output..18:59
=== ara is now known as Guest47294
racarrmp list is giant lets top approve https://code.launchpad.net/~albaguirre/mir/pref-orientation-at-create-time/+merge/24460222:28
racarr?22:28
racarrerr grr I forgot22:29
racarrthe dep22:29
racarrhttps://code.launchpad.net/~alan-griffiths/mir/mir-server-version-macros/+merge/244577 may be a TA candidate22:33
AlbertAracarr: yeah just waiting to discuss with daniel22:35
AlbertAon the dep branch22:35
racarrcamako: lol you sure you dont want to block on the cow?!23:23
racarr:p23:23
camakoracarr... It's not a longhorn so I thought about it, but naah :-)23:32
racarrhttps://code.launchpad.net/~mir-team/platform-api/expose-mir-connection/+merge/245054 is a thing23:36
racarrlol im concerned if I submit any more MPs or become involved ina ny more reviews my head may explode23:46
racarrTHERES ONLY ONE WAY TO FIND OU...*POP*23:46
racarrhttps://code.launchpad.net/~mir-team/mir/add-more-event-getters/+merge/243579 this is the branch I'd most like to land23:50
racarrI guess qtubuntu port is done but the dependency chain is23:57
racarradd-more-event-getters -> event-ref/unref + port-examples-off-mir-event -> release mir23:57
racarrpapi/expose-mir-connection23:57
racarrthen qtubuntu can land23:58
racarrseems unlikely to happen by holidays ;(23:58
=== chihchun is now known as chihchun_afk

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