drobilla | rgareus: Weird | 00:03 |
---|---|---|
drobilla | rgareus: I'd rather not involve GL unless the UI is actually using GL | 00:04 |
drobilla | (you can now build a pugl UI with no libgl and friend dependency whatsoever) | 00:04 |
drobilla | I guess performance may force me to rework my tidy 'cairo or GL' design :/ | 00:07 |
rgareus | drobilla: pugl without gl? isn't that just pu? what am I missing? | 00:19 |
falktx | cairo | 00:19 |
falktx | puca | 00:19 |
rgareus | well, ^^^ it said "pugl cairo" | 00:20 |
*** ricardocrudo has joined #lv2 | 00:24 | |
drobilla | rgareus: Yes, it's something of a misnomer now | 00:30 |
drobilla | It was never actually very dependent on GL. There's about 50 lines of GL specific code in there | 00:31 |
drobilla | rgareus: Writing just cairo to draw stuff is a way lower bar of entry, at the very least | 00:33 |
drobilla | I want UI code to be as simple as possible, with minimal platform details except for actually drawing. Simple enough for example plugins... | 00:34 |
drobilla | Can't beat "here's a cairo_t*, draw stuff" | 00:34 |
drobilla | Re: name, I don't know. I was trying to think of something that would shorten to a prefix, say pr, so pugl would be prut, some toolkit built on it could be prtk, maybe pru would become a think (utilities, like glu), etc. | 00:38 |
drobilla | though if I wrote a toolkit I'd kind of want to escape that whole glCamelCase thing so maybe shouldn't shoot for consistency above that level | 00:38 |
rgareus | yes just going for cairo_t + simple event system sounds great. | 00:42 |
drobilla | Well, for compatibility I'm keeping the glut callbacks too | 00:42 |
drobilla | ... Though I don't particularly want to :) | 00:42 |
falktx | make the callbacks pass a struct | 00:42 |
rgareus | drobilla: what's under the hood, openGL or xlib or whatever is not directly important. though openGL does have a huge advantage when it comes to ABI. | 00:43 |
falktx | so they can be changing without breaking APi compat | 00:43 |
drobilla | falktx: That's what I'm talking about / just did. Then you only need one callback. Namely onEvent | 00:43 |
drobilla | rgareus: That'd be great if you could only depend on libgl, but you can't, so whatever | 00:44 |
rgareus | drobilla: could you keep in mind that this would easily allow 'swallowing' plugins? | 00:44 |
rgareus | drobilla: a host could just as well provide that cairo_t | 00:44 |
drobilla | The glut ones are not a very good design, probably designed to be simple and avoid the need for a bunch of structs | 00:44 |
rgareus | e.g. ardour's mixer-strip. | 00:44 |
drobilla | But removing them would diverge from glut so much I'd just stop using it as a guideline altogether | 00:44 |
drobilla | rgareus: Not really. You can't get events from a cairo_t | 00:45 |
drobilla | Passing a cairo_t is a nice idea that solves about 0.0000001% of the problem :) Drawing is easy | 00:45 |
rgareus | drobilla: well, yeah. but a LV2 variant a ui:CairoUI could define both. | 00:47 |
falktx | do we send atoms to the UI ? | 00:48 |
rgareus | like ui:GtkUI or ui:X11UI | 00:49 |
falktx | brb | 00:49 |
*** falktx has quit IRC | 00:49 | |
*** falktx has joined #lv2 | 00:53 | |
*** ricardocrudo has quit IRC | 01:58 | |
drobilla | rgareus: Then all that event API stuff is imposed on the host:plugin interface. To what benefit? | 02:17 |
drobilla | Worst of all possible places to add API, it adds tight ABI-sensitive coupling between separate projects | 02:22 |
drobilla | Just passing a pointer to whatever platform-dependent "window" thing underlies it all is *way* less volatile | 02:23 |
drobilla | and makes it possible for UIs to do pretty much anything possible, not what the LV2 API thought of | 02:23 |
*** drobilla has quit IRC | 04:09 | |
*** Anchakor_ has joined #lv2 | 06:13 | |
*** ddom has joined #lv2 | 07:58 | |
*** falktx_ has joined #lv2 | 08:00 | |
*** falktx has quit IRC | 08:01 | |
*** edogawa has joined #lv2 | 08:10 | |
*** falktx_ has quit IRC | 09:21 | |
*** falktx_ has joined #lv2 | 09:22 | |
*** ddom_ has joined #lv2 | 10:16 | |
*** ddom has quit IRC | 10:19 | |
*** mlpug has joined #lv2 | 11:17 | |
*** edogawa has quit IRC | 11:52 | |
*** falktx_ has quit IRC | 12:29 | |
*** edogawa has joined #lv2 | 12:37 | |
*** NickSB2 has quit IRC | 13:29 | |
*** ricardocrudo has joined #lv2 | 13:32 | |
*** ddom_ has quit IRC | 14:18 | |
*** ddom_ has joined #lv2 | 14:18 | |
*** mlpug has quit IRC | 14:40 | |
*** ricardocrudo has quit IRC | 15:34 | |
*** drobilla has joined #lv2 | 15:41 | |
*** ricardocrudo has joined #lv2 | 15:57 | |
*** zth has joined #lv2 | 15:57 | |
*** crudo has joined #lv2 | 15:58 | |
*** ricardocrudo has quit IRC | 15:58 | |
*** ricardocrudo has joined #lv2 | 16:00 | |
*** ddom_ has quit IRC | 16:25 | |
*** ricardocrudo has quit IRC | 16:36 | |
*** ricardocrudo has joined #lv2 | 16:36 | |
*** rncbc has joined #lv2 | 18:21 | |
*** zth has quit IRC | 18:22 | |
*** falktx has joined #lv2 | 18:44 | |
*** bgribble has joined #lv2 | 18:49 | |
*** mlpug has joined #lv2 | 18:50 | |
*** bgribble has quit IRC | 19:13 | |
*** NickSB2 has joined #lv2 | 19:38 | |
*** mlpug has quit IRC | 20:00 | |
*** rncbc has quit IRC | 21:48 | |
*** ricardocrudo has quit IRC | 22:40 | |
*** edogawa has quit IRC | 23:13 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!