Re: plasma::wallpaper and pure opengl?
On Wednesday 18 January 2012, Shaun Reich wrote: > i'm not knowledgeable in the OGL department, or the plasma::wallpaper > area...but I thought it'd be kind of nice to tinker around with making > absurdly useless but awesome wallpapers, and maybe learn a bit of OGL > in the process. imo no sane option besides waiting for qml2 where you'll be able to use shaders directly from qml (not that such a thing is sane, but is cool :p) > is there a good way around that? no -- Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: plasma::wallpaper and pure opengl?
On Wed, Jan 18, 2012 at 6:32 AM, Martin Gräßlin wrote: > On Tuesday 17 January 2012 18:49:12 Shaun Reich wrote: >> i'm not knowledgeable in the OGL department, or the plasma::wallpaper >> area...but I thought it'd be kind of nice to tinker around with making >> absurdly useless but awesome wallpapers, and maybe learn a bit of OGL >> in the process. > there was recently a thread about OGL wallpapers where I stated my opinion on > it. >> >> problem is, isn't there an issue with using opengl on >> plasma::wallpapers? because you end up having to render it to an >> image, then use QPainter to display it, right? > yes >> >> is there a good way around that? > no :-) > > A possible solution might be to take advantage of KWin. Consider Plasma not > rendering a wallpaper at all and KWin knowing about it. In that case we could > have a special effect rendering the wallpaper. We already have functionality > to render the background black if it becomes visible. This would just needed > to be extended. But it would make mouse interaction and stuff like that > impossible. > > Cheers > Martin This may be a bad idea, but would it be possible to have a fully transparent plasma wallpaper, then render something behind that using kwin? The transparent wallpaper could capture mouse and keyboard interaction, but would not be visible. -Todd ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: plasma::wallpaper and pure opengl?
> A possible solution might be to take advantage of KWin. Consider Plasma not > rendering a wallpaper at all and KWin knowing about it. In that case we could > have a special effect rendering the wallpaper. We already have functionality > to render the background black if it becomes visible. This would just needed > to be extended. But it would make mouse interaction and stuff like that > impossible. ah, well that's the issue..i wouldn't want it to make widgets useless, or to not allow mouse interaction with the wallpaper if need be. -- Shaun Reich, KDE Software Developer (kde.org) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: plasma::wallpaper and pure opengl?
On Tuesday 17 January 2012 18:49:12 Shaun Reich wrote: > i'm not knowledgeable in the OGL department, or the plasma::wallpaper > area...but I thought it'd be kind of nice to tinker around with making > absurdly useless but awesome wallpapers, and maybe learn a bit of OGL > in the process. there was recently a thread about OGL wallpapers where I stated my opinion on it. > > problem is, isn't there an issue with using opengl on > plasma::wallpapers? because you end up having to render it to an > image, then use QPainter to display it, right? yes > > is there a good way around that? no :-) A possible solution might be to take advantage of KWin. Consider Plasma not rendering a wallpaper at all and KWin knowing about it. In that case we could have a special effect rendering the wallpaper. We already have functionality to render the background black if it becomes visible. This would just needed to be extended. But it would make mouse interaction and stuff like that impossible. Cheers Martin signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
plasma::wallpaper and pure opengl?
i'm not knowledgeable in the OGL department, or the plasma::wallpaper area...but I thought it'd be kind of nice to tinker around with making absurdly useless but awesome wallpapers, and maybe learn a bit of OGL in the process. problem is, isn't there an issue with using opengl on plasma::wallpapers? because you end up having to render it to an image, then use QPainter to display it, right? is there a good way around that? -- Shaun Reich, KDE Software Developer (kde.org) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel