Discussion
Loading...

Discussion

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online  ·  activity timestamp last week

working on my new visual style

#niri

Terminal and adwaita demo with oversaturated background colors
Terminal and adwaita demo with oversaturated background colors
Terminal and adwaita demo with oversaturated background colors
  • Copy link
  • Flag this post
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp last week

working on my new visual style

#niri

Terminal and adwaita demo with oversaturated background colors
Terminal and adwaita demo with oversaturated background colors
Terminal and adwaita demo with oversaturated background colors
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp last week

So yeah, I'm working on blur for niri. I'm doing "xray blur" first where the idea is that you only include background surfaces, so you pretty much never have to redo the blur—next to zero perf impact unless you have a video wallpaper or smth.

Turns out that it's quite tricky to do well, especially with our Overview. I'm like on my third refactor attempt now but I think I've got a good approach.

During this video there's no reblurring whatsoever, all just drawing cached static textures.

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 3 days ago

Added non-xray blur, based on @drakulix's Smithay/COSMIC implementation.

Keep in mind this blur work is still extremely WIP and with many issues (some visible on the video). It's also still not entirely clear to me how to best structure the code around it in niri. We'll see

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 2 days ago

Alright, getting somewhere! I think I've figured out a good code structure for the xray blur. It now correctly works even inside offscreens (opening animation, and when you drag a window targeting the tiling layout), and it should also work properly with the upcoming screen magnifier (that we have in pull requests).

Still not a single blur re-render in this entire video!

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this comment
  • Block
Thib
Thib
@thibaultamartin@mamot.fr replied  ·  activity timestamp 2 days ago

@YaLTeR that is pretty 😍

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct