Hi everyone,

I'm new to the gnome shell development world and did not manage to find a
solution to my problem over the week-end, hence this e-mail.

I'm trying to add an effect to the global.stage actor, but I noticed that
doing so would freeze the rendering. (a still image stays displayed on the
screen)

Is this behaviour coming from the fact that suddenly the stage actor isn't
transparent any more? If so, is there any chance of finding a proper
solution?

I managed to work around that freeze by looking at this snippet.
<https://stackoverflow.com/questions/33873236/cluttershadereffect-with-gnome-extension>
I believe the trick is to force the frame to be fully re-rendered when this
is executed:

this._actor.scale_y = 1.0;

But I do understand this is a bit dirty and not suitable for distribution.

The goal of my side project is to implement a F.lux or redshift like
extension, and follows this conversation
<https://github.com/jonls/redshift/issues/55#issuecomment-162855200>. I'm
currently focusing on making the Colorize effect work before potentially
writing my own shader. If that's of any help, I pushed my code to github
here: https://github.com/alexduf/doppler

Thanks in advance for your help!

Alex
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to