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

racarr_ah hmm...it's difficult to write to a buffer you get on the server side via compositor_acquire because you get00:14
racarr_the temporary compositor buffer and can't00:14
racarr_cast to the platform implementation type...00:14
racarr_(its difficult because im using the BufferWriter strategy...now BufferAccessor...) this seems to be an argument for buffer::read :)00:15
RAOFI don't think that you can, in general, read from a Buffer.00:16
RAOFHeh. You live and learn.00:18
RAOFAlso, whoops. 10⁶ ns in 1 ms.00:23
racarr_NO EXPONENTS IN IRC00:25
racarr_*smacks with ruler*00:25
racarr_wheee00:26
racarr_animted cursor :)00:27
RAOFWhoot!00:38
racarr_*sends application to guiness book of world records*00:47
racarr_Most banjos restringed during full mir compile: 1.500:47
racarr_I await my challenger00:57
RAOFI wonder how much people would care if we added a glib dependency in Mir users.01:00
RAOFIt'd be kinda nice to be returning GSource-s rather than needing to re-roll the same thing over again.01:01
racarr_RAOF: I'd +1 that01:04
racarr_but in my mind GLib is effectively libc ;)01:05
RAOFWell, we already have a runtime dependency on glib...01:05
RAOFHm.01:05
RAOFI think I will do that.01:05
dufluRAOF: What's glib being used for now?02:00
RAOFduflu: GLibMainLoop02:01
dufluRAOF: That's old news(?)02:01
RAOFOh, as in - what do *I* want to use it for?02:02
RAOFGSource02:02
dufluI'd forgotten how quickly things land without CI :)03:19
dufluThe good old days of living dangerously03:19
=== chihchun_afk is now known as chihchun
RAOFMan.06:51
RAOF*Again* I confuse nsec with msec.06:51
racarr_y u no std::chrono06:56
racarr_(C API presumably :()06:56
RAOFOh, well. That's EOW for me.07:06
RAOFmircva::InputReceiver is *very nearly* a functioning GSource.07:06
racarr_nifty07:07
RAOFGSource is pretty cool.07:07
RAOFFor the eventloop integration thing I think I'll just export GSources directly via libmirclient-glib.07:08
RAOFBut anyway, EOW.07:08
racarr_bye :) happy weekend07:16
mlankhorstRAOF: can i use it in xmir too?07:21
=== dandrader is now known as dandrader|afk
tsdgeosanpok_: racarr_: ping?12:12
tsdgeosor anyone else, is there a way to get the log of the raw x,y of the touch presses mir gets?12:13
tsdgeosi tried exporting MIR_SERVER_INPUT_REPORT=log12:13
tsdgeosbut the only thing i get is12:13
tsdgeos[1417781333.496738] (II) input: Received event finished seq_id=102 src_fd=8912:13
tsdgeoswhich isn't much interesting12:13
=== dandrader|afk is now known as dandrader
alan_gtsdgeos: is mir_demo_standalone_input_filter of any use (despite its name it is a demo *server* that dumps input events)12:15
tsdgeosalan_g: probably not, i have a situation with autopilot+unity8 in which i think some touch events are being delivered wrong somewhere12:16
tsdgeosbut i need unity8 to run so i can run autopilot so probably mir_demo_standalone_input_filter is not seful12:17
* alan_g doesn't know (but thinks you asked the right people)12:18
anpok_tsdgeos: hm did you export that for usc?12:30
anpok_because unity8 is nested12:30
tsdgeosanpok_: ok, let me see if i restart usc then12:30
anpok_and the input gets fed directly from the nested surface to the qt input dispatcher and I think it wont be logging its contents..12:30
tsdgeosanpok_: where do usc logs end up?12:31
anpok_it ought to end up in /var/log/lightdm/unity-system-compositor.log12:31
tsdgeosanpok_: do i just kill and start it? or is it driven by upstart too?12:32
anpok_hm restart lightdm should do it12:33
tsdgeosoki12:33
anpok_oh InputReport might not be helpful enough12:34
tsdgeosoh :/12:36
alan_ganpok_: @"not helpful" the interface or the default implementation? (I'm looking for motivating examples for allowing customizing the reports and we should try to get the interfaces right)12:37
anpok_alan_g: hm i think the interface here.. it does not get the position12:37
anpok_i believe we log it somewhere else12:37
anpok_through the legacy input report12:38
tsdgeosanpok_: do you know the lower place i could put a printf of the x,y positions?12:38
tsdgeosto see if it's mir or wathever is below?12:38
tsdgeosis that android already?12:38
anpok_we have that.. hmm but where12:38
anpok_tsdgeos: MIR_CLIENT_INPUT_RECEIVER_REPORT=log for unity812:45
tsdgeosok, let's see12:45
anpok_this would be what unity8 receives from usc12:45
anpok_and you can basically do the same for a client of unity8 to see how that event got dispatched to it..12:46
tsdgeosfood first!12:46
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|lunch
alan_galf__: I've been looking at migrating render_surfaces (mostly out of curiosity to see what stops it being a valid example). There's just one nasty: "surface_pf = the_buffer_allocator()->supported_pixel_formats()[0];" as we don't expose the buffer allocator. Can you think of a better way to get a valid pixel format?14:55
=== chihchun is now known as chihchun_afk
alf__alan_g: No. Perhaps this indicates a gap in the new API, since without a pixel format the shell can't create its own surfaces.15:03
alan_gIndeed. But I'm not sure GraphicBufferAllocator is the interface that should be exposed to support this?15:06
alf__alan_g: just the_supported_pixel_formats() ?15:07
alan_gWell, that's all we need for render_surfaces and I can't currently see an interface it belongs on.15:08
alan_gI'm just not sure mir::Server::supported_pixel_formats() is right15:10
=== dandrader|lunch is now known as dandrader
* alan_g wonders if we should "republish" mir/raii.h16:31
=== alan_g is now known as alan_g|EOW
attente_hello, does mir support pointer/keyboard grabbing?20:23
anpokhm a shell could do that on its own already, but no there is no such thing yet in the client api20:27
attente_anpok: is there any plan to add it to the client api?20:46
anpokattente_: no idea when... or how urgent that is.. best is to make a bug report to rise attention21:07
attente_anpok: ok, thanks21:08

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