*** falktx has joined #lv2 | 00:29 | |
*** falktx has quit IRC | 00:31 | |
*** falktx has joined #lv2 | 00:39 | |
*** NickSB2 has joined #lv2 | 01:15 | |
*** NickSB2 has quit IRC | 03:21 | |
*** edogawa has joined #lv2 | 07:52 | |
*** falktx has quit IRC | 10:04 | |
*** ricardocrudo has joined #lv2 | 10:56 | |
*** gianMOD has quit IRC | 10:56 | |
*** edogawa_ has joined #lv2 | 11:13 | |
*** edogawa has quit IRC | 11:16 | |
*** ricardocrudo has quit IRC | 11:21 | |
*** ricardocrudo has joined #lv2 | 11:25 | |
*** gianMOD has joined #lv2 | 11:26 | |
*** ricardocrudo has quit IRC | 11:31 | |
*** NickSB2 has joined #lv2 | 11:48 | |
*** gianMOD has quit IRC | 12:05 | |
*** rncbc has joined #lv2 | 12:39 | |
*** gianMOD has joined #lv2 | 12:46 | |
*** rncbc has quit IRC | 14:21 | |
*** gianMOD has quit IRC | 15:37 | |
*** gianMOD has joined #lv2 | 15:38 | |
*** gianMOD has quit IRC | 15:42 | |
*** gianMOD has joined #lv2 | 15:59 | |
*** ricardocrudo has joined #lv2 | 16:04 | |
drobilla | Hmm.. I wish the log of this place was searchable, Google doesn't seem to manage | 16:50 |
---|---|---|
*** zth has joined #lv2 | 17:19 | |
*** Anchakor_ has quit IRC | 17:26 | |
*** Anchakor_ has joined #lv2 | 17:27 | |
*** edogawa_ is now known as edogawa | 18:03 | |
*** mlpug has joined #lv2 | 19:04 | |
*** rncbc has joined #lv2 | 19:59 | |
*** mlpug has quit IRC | 20:10 | |
*** falktx has joined #lv2 | 20:20 | |
*** HarryHaaren has joined #lv2 | 20:22 | |
*** zth has quit IRC | 20:38 | |
*** gianMOD has quit IRC | 21:25 | |
*** gianMOD has joined #lv2 | 21:25 | |
*** gianMOD has quit IRC | 21:26 | |
*** rncbc has quit IRC | 21:38 | |
*** rncbc has joined #lv2 | 21:39 | |
*** edogawa has quit IRC | 21:45 | |
*** falktx has quit IRC | 21:53 | |
*** falktx has joined #lv2 | 21:58 | |
*** Anchakor_ has quit IRC | 22:00 | |
drobilla | falktx: What was the name of that GL toolkit you got to work with pugl? | 22:03 |
falktx | DPF | 22:03 |
falktx | https://github.com/DISTRHO/DPF | 22:03 |
drobilla | falktx: thanks | 22:04 |
drobilla | falktx: This is all your code? | 22:05 |
drobilla | falktx: I thought you adapted some exiting widgetey thing to work with Pugl, but I might have misunderstood | 22:05 |
falktx | drobilla: yes, nanovg | 22:07 |
falktx | drobilla: the dgl dir has the good stuff | 22:07 |
*** Anchakor_ has joined #lv2 | 22:07 | |
falktx | I created a c++ class based on it https://github.com/DISTRHO/DPF/blob/master/dgl/NanoVG.hpp | 22:07 |
drobilla | falktx: ah | 22:08 |
HarryHaaren | how does that fare in terms of CPU usage now? I used one set of "Blender" type widgets with it, and CPU usage was like 30% all the time | 22:09 |
*** NickSB_ has joined #lv2 | 22:09 | |
falktx | I need to try it again | 22:10 |
wrl | HarryHaaren: was that paniq's? | 22:10 |
wrl | paniq's toolkit's issue is that it redraws everything all the time | 22:10 |
*** NickSB_ has quit IRC | 22:10 | |
*** NickSB has quit IRC | 22:10 | |
falktx | HarryHaaren: the gl3 mode uses more power compared to the gl2 one | 22:10 |
HarryHaaren | yeah I think so, lritter on #irc i think | 22:10 |
wrl | very little caching | 22:10 |
wrl | yeah | 22:10 |
wrl | that's lritter | 22:10 |
wrl | his toolkit is what's called an "immediate mode GUI" | 22:10 |
wrl | or IMGUI | 22:10 |
HarryHaaren | ah right. I love the Blender UI, i was actually pretty excited to use that, until I realized that it doesn't scale. NTK uses orders-of-magnitude less CPU, so that made that choice for me. | 22:11 |
wrl | yeah | 22:11 |
falktx | HarryHaaren: btw, drobilla added direct cairo drawing support to pugl. so DPF will have it soon too | 22:11 |
wrl | NTK and just about every other widget toolkit is called a "retained-mode GUI" or RMGUI | 22:12 |
wrl | basically means that you create objects for your widgets and manage them that way | 22:12 |
HarryHaaren | falk: yeah I remember testing it: there's no widget system yet though right? That means either A) IMGUI mode, or B) writing a load of widget-location-redraw type code | 22:12 |
*** NickSB has joined #lv2 | 22:13 | |
falktx | HarryHaaren: I already handle sub-widget stuff for opengl, shouldn't be too hard to make it work for cairo as well | 22:14 |
falktx | just draw the bottom layer first, then the top ones | 22:14 |
wrl | yeah | 22:14 |
wrl | if you can decouple the drawing from the widget behavior | 22:14 |
wrl | then you could make some cool stuff happen there | 22:14 |
drobilla | Linux only ATM | 22:14 |
HarryHaaren | sure, so NTK / etc work in that way too, first draw() call is the bottom layer, subsequent calls draw over. | 22:15 |
drobilla | I added an event struct to Pugl to support easier implementation of widget toolkit type things | 22:15 |
drobilla | Though naturally I won't ever be adding an actual widget toolkit to Pugl | 22:15 |
HarryHaaren | sure, but the abstraction should aid others in creating some form of "on-top-of-PUGL-widget-lib"? | 22:16 |
drobilla | or adapting to existing ones, yes | 22:16 |
falktx | the issue with NTK is not being cross-platform | 22:16 |
wrl | drobilla: what sort of event struct? | 22:17 |
drobilla | wrl: ... one that describes events? :P | 22:17 |
wrl | he he ha ha | 22:17 |
wrl | no i mean like | 22:17 |
HarryHaaren | NTK isn't cross platform..? | 22:17 |
drobilla | Much like the X11 one, or the Gtk one which is nearly identical | 22:17 |
wrl | have you replaced the set of callbacks with a generalized "deliver event" one, or? | 22:17 |
falktx | HarryHaaren: no, did you saw my message on #opensourcemusicians ? | 22:17 |
HarryHaaren | it is falk? Or at least, male didn't implement XEmbed / embedding on OSX or Win, but it works | 22:17 |
HarryHaaren | falktx, nope? | 22:18 |
drobilla | wrl: I didn't remove them outright to preserve compatibility (which is increasingly becoming questionable anyway, as we diverge ever further from GLUT), but they are implemented in terms of such a general one, now | 22:18 |
* HarryHaaren gotta go for a drink (to be social) back in a while :) | 22:18 | |
wrl | drobilla: dope | 22:18 |
*** rncbc has quit IRC | 23:16 | |
*** gianMOD has joined #lv2 | 23:19 | |
*** HarryHaaren has quit IRC | 23:42 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!