/srv/irclogs.ubuntu.com/2014/10/16/#ubuntu-mir.txt

=== olli_ is now known as olli
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho
alan_galf__: duflu anpok_ is BufferInitializer a feature we intend to support? https://code.launchpad.net/~alan-griffiths/mir/render-examples-using-a-simpler-server-setup/+merge/238469/comments/58565609:11
alan_gWe don't - for example - have an acceptance test09:11
duflualan_g: From memory I wanted to kill it. There's no realistic use case outside the examples09:14
anpok_hmm you get the buffer09:15
anpok_but you have no other context09:15
alan_gduflu: I suspected as much. There's no security concern requiring steps to initialize a buffer before handing it out?09:16
duflualan_g: I think we could replace it more elegantly using software buffers where the examples use it09:16
duflualan_g: If so then that might be a GBM/Mesa bug. Not sure if we have a requirement to clear new buffers09:17
alan_g"the examples" == render_surfaces?09:17
duflualan_g: Yeah whatever it was. There may only be one09:17
anpok_hm i doubt mesa or drm driver will clear it09:17
dufluI'm not sure that's relevant... if we don't already clear buffers in the server lib09:18
alf__duflu: alan_g: anpok: Yeah, there is no guarantee that we get a cleared buffer09:20
anpok_but should we use that interface to implement clearing then?09:20
alan_gBut if the only conceivable requirement is to clear it we don't need a customization point09:21
anpok_yes09:21
alf__alan_g: anpok_: BufferInitializer was mostly a convinience, we could probably implement the same functionality differently in render_surfaces, e.g., wrap the display and the buffer allocator, but I am not sure if that's much better in terms of hiding/exposing API.09:27
alf__anpok_: alan_g: ... (which I guess is the driving concern here)09:28
seb128did Mir changed in a way that made the GTK backend stop working? does anyone know if that's a known issue?09:29
seb128starting e.g gedit used to work and now hit "Gdk:ERROR:/build/buildd/gtk+3.0-3.12.2/./gdk/mir/gdkmireventsource.c:417:gdk_mir_event_source_queue_event: code should not be reached"09:30
seb128I guess that's more one for robert_ancell but he's not around anymore for today09:30
alan_gseb128: it isn't known to me anyway09:31
seb128was there any recent change in Mir that could lead to such issues?09:31
seb128we need some automated tests to make sure Mir updates don't make GTK stop working09:31
alan_gOr at least to tell us about it09:32
seb128yeah09:32
* alan_g wonders where the gtk code is09:33
seb128alan_g, you don't want to know ;-)09:33
seb128alan_g, http://bazaar.launchpad.net/~ubuntu-desktop/gtk/ubuntugtk3/view/head:/debian/patches/mir-backend.patch09:33
alf__alan_g: seb128: Yeah, probably apt-get source is the best way to get it :)09:34
seb128alan_g, I think the vcs is https://git.gnome.org/browse/gtk+/log/?h=wip/mir09:34
seb128alf__, ^09:34
* alan_g doesn't want to know09:34
alf__seb128: A quick look indicates that we probably added some mir event that the code is not handling09:36
seb128ok09:36
seb128I'm going to let robert_ancell know, thanks09:37
alf__seb128: btw, I think the event switch statement in question is too strict, it should ignore unexpected events (and perhaps log a warning) instead of aborting09:37
alf__seb128: np09:38
alan_g+109:38
* alan_g thinks a compile time warning would be better than a run time error.09:39
alan_g(Not that C makes it easy.)09:40
seb128alan_g, alf__: thanks09:43
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== alan_g is now known as alan_g|lunch
alf__anpok: Hi! In test_asio_main_loop why do we need "evaluate_clock_alarm" in AdvanceableClock ?12:38
alf__anpok: Is it to guarantee that all time dependent actions for which the timeout has been reached will have been triggered?12:47
=== alan_g|lunch is now known as alan_g
=== tvoss is now known as tvoss|food
alan_galf__: @"green background" that's been gone a while - but I didn't notice when it happened14:34
anpokalf__: thats to make the code that handles timers look for the current time again14:45
anpokalf__: the code advances time and believes that if a new alarm is created the system will look for current time and calculate diffs..14:46
anpokalf__: thats the poor mans solution that does not involve duplicating asios timer functionality14:47
=== mhall119 is now known as mhall119|vacatio
alan_gcamako: kdub_ anpok - anyone want to express an opinion? https://code.launchpad.net/~alan-griffiths/mir/basic_server-using-a-simpler-server-setup/+merge/23818415:47
kdub_alan_g, +1 from me, i don't mind taking things one step at a time16:54
alan_gkdub_: thanks (I think that discussion was off the point of the MP anyway)16:55
=== alan_g is now known as alan_g|EOD

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