Monday, 2014-11-17

*** falktx has joined #lv200:29
*** falktx has quit IRC00:31
*** falktx has joined #lv200:39
*** NickSB2 has joined #lv201:15
*** NickSB2 has quit IRC03:21
*** edogawa has joined #lv207:52
*** falktx has quit IRC10:04
*** ricardocrudo has joined #lv210:56
*** gianMOD has quit IRC10:56
*** edogawa_ has joined #lv211:13
*** edogawa has quit IRC11:16
*** ricardocrudo has quit IRC11:21
*** ricardocrudo has joined #lv211:25
*** gianMOD has joined #lv211:26
*** ricardocrudo has quit IRC11:31
*** NickSB2 has joined #lv211:48
*** gianMOD has quit IRC12:05
*** rncbc has joined #lv212:39
*** gianMOD has joined #lv212:46
*** rncbc has quit IRC14:21
*** gianMOD has quit IRC15:37
*** gianMOD has joined #lv215:38
*** gianMOD has quit IRC15:42
*** gianMOD has joined #lv215:59
*** ricardocrudo has joined #lv216:04
drobillaHmm.. I wish the log of this place was searchable, Google doesn't seem to manage16:50
*** zth has joined #lv217:19
*** Anchakor_ has quit IRC17:26
*** Anchakor_ has joined #lv217:27
*** edogawa_ is now known as edogawa18:03
*** mlpug has joined #lv219:04
*** rncbc has joined #lv219:59
*** mlpug has quit IRC20:10
*** falktx has joined #lv220:20
*** HarryHaaren has joined #lv220:22
*** zth has quit IRC20:38
*** gianMOD has quit IRC21:25
*** gianMOD has joined #lv221:25
*** gianMOD has quit IRC21:26
*** rncbc has quit IRC21:38
*** rncbc has joined #lv221:39
*** edogawa has quit IRC21:45
*** falktx has quit IRC21:53
*** falktx has joined #lv221:58
*** Anchakor_ has quit IRC22:00
drobillafalktx: What was the name of that GL toolkit you got to work with pugl?22:03
falktxDPF22:03
falktxhttps://github.com/DISTRHO/DPF22:03
drobillafalktx: thanks22:04
drobillafalktx: This is all your code?22:05
drobillafalktx: I thought you adapted some exiting widgetey thing to work with Pugl, but I might have misunderstood22:05
falktxdrobilla: yes, nanovg22:07
falktxdrobilla: the dgl dir has the good stuff22:07
*** Anchakor_ has joined #lv222:07
falktxI created a c++ class based on it https://github.com/DISTRHO/DPF/blob/master/dgl/NanoVG.hpp22:07
drobillafalktx: ah22:08
HarryHaarenhow 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 time22:09
*** NickSB_ has joined #lv222:09
falktxI need to try it again22:10
wrlHarryHaaren: was that paniq's?22:10
wrlpaniq's toolkit's issue is that it redraws everything all the time22:10
*** NickSB_ has quit IRC22:10
*** NickSB has quit IRC22:10
falktxHarryHaaren: the gl3 mode uses more power compared to the gl2 one22:10
HarryHaarenyeah I think so, lritter on #irc i think22:10
wrlvery little caching22:10
wrlyeah22:10
wrlthat's lritter22:10
wrlhis toolkit is what's called an "immediate mode GUI"22:10
wrlor IMGUI22:10
HarryHaarenah 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
wrlyeah22:11
falktxHarryHaaren: btw, drobilla added direct cairo drawing support to pugl. so DPF will have it soon too22:11
wrlNTK and just about every other widget toolkit is called a "retained-mode GUI" or RMGUI22:12
wrlbasically means that you create objects for your widgets and manage them that way22:12
HarryHaarenfalk: 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 code22:12
*** NickSB has joined #lv222:13
falktxHarryHaaren: I already handle sub-widget stuff for opengl, shouldn't be too hard to make it work for cairo as well22:14
falktxjust draw the bottom layer first, then the top ones22:14
wrlyeah22:14
wrlif you can decouple the drawing from the widget behavior22:14
wrlthen you could make some cool stuff happen there22:14
drobillaLinux only ATM22:14
HarryHaarensure, so NTK / etc work in that way too, first draw() call is the bottom layer, subsequent calls draw over.22:15
drobillaI added an event struct to Pugl to support easier implementation of widget toolkit type things22:15
drobillaThough naturally I won't ever be adding an actual widget toolkit to Pugl22:15
HarryHaarensure, but the abstraction should aid others in creating some form of "on-top-of-PUGL-widget-lib"?22:16
drobillaor adapting to existing ones, yes22:16
falktxthe issue with NTK is not being cross-platform22:16
wrldrobilla: what sort of event struct?22:17
drobillawrl: ... one that describes events? :P22:17
wrlhe he ha ha22:17
wrlno i mean like22:17
HarryHaarenNTK isn't cross platform..?22:17
drobillaMuch like the X11 one, or the Gtk one which is nearly identical22:17
wrlhave you replaced the set of callbacks with a generalized "deliver event" one, or?22:17
falktxHarryHaaren: no, did you saw my message on #opensourcemusicians ?22:17
HarryHaarenit is falk? Or at least, male didn't implement XEmbed / embedding on OSX or Win, but it works22:17
HarryHaarenfalktx, nope?22:18
drobillawrl: 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, now22:18
* HarryHaaren gotta go for a drink (to be social) back in a while :) 22:18
wrldrobilla: dope22:18
*** rncbc has quit IRC23:16
*** gianMOD has joined #lv223:19
*** HarryHaaren has quit IRC23:42

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