D22153: blur: Disable sRGB when the framebuffer is linear

Fredrik Höglund <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
fredrik added inline comments.

INLINE COMMENTS

> zzag wrote in blur.cpp:133
> Do we need to check whether the default framebuffer object is bound?

Yes, that's probably a good idea.

> zzag wrote in blur.cpp:656
> Do we have to worry about the looking glass effect and all other effects that render the scene to a texture?

Yes, those effects will need to use an sRGB texture as well.

That being said, it looks to me like the blur effect is just broken in general when it's not rendering to the default framebuffer.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D22153

To: fredrik, #kwin
Cc: zzag, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.