Hacker News new | past | comments | ask | show | jobs | submit login

> But what happens if shadows are disabled?

> Something cheeky happens! I actually draw the shadows with 0% alpha channel!

Does that still pay the performance cost to "draw" them, or does it get optimized away?




KDE uses gpu acceleration for its ui. So that should be a negligible impact on performance. I am unsure about if you even have shadows with CPU rendering.


Using software rendering instead of OpenGL disables most if not all effects from what I remember.


iirc software rendering in kwin disables compositing alltogether


If you're using a compositor you're paying the cost. The rounded corners are antialiased, so blending happens regardless.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: