Commits
Commits on
9ff2f83db00aebffb2b7b7fefd23bfd7585926c3Filtered to src/render_helpers/mod.rsClear filter2025-03-16
Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh · 287480b
Keep buffer size when switching dynamic cast to Nothing Otherwise, we won't actually clear it because it'll become Pending.
2025-03-09
2025-02-27
2025-01-15
2025-01-04
2025-01-03
2024-08-20
2024-07-30
2024-06-17
Refactor layout to fractional-logicalIvan Molodetskikh · 1dae45c
Refactor layout to fractional-logical Lets borders, gaps, and everything else stay pixel-perfect even with fractional scale. Allows setting fractional border widths, gaps, struts. See the new wiki .md for more details.
2024-06-12
2024-06-09
2024-06-01
Implement our own TextureBuffer/RenderElementIvan Molodetskikh · 3c63be6
Implement our own TextureBuffer/RenderElement Supports fractional texture scale + has some getters.
2024-05-04
2024-05-02
2024-05-01
2024-04-21
2024-04-13
2024-04-12
2024-04-10
Reimplement window closing anim in an efficient wayIvan Molodetskikh · 1888696
Reimplement window closing anim in an efficient way - Keep a root surface cache to be accessible in surface destroyed() - Only snapshot during / right before closing, rather than every frame - Store textures rather than elements to handle scale and alpha properly
2024-04-09
2024-03-24
2024-03-08
Implement wlr-screencopy v1 (#243)sodiboo · Unverifiedca22e70
Implement wlr-screencopy v1 (#243) * Implement wlr-screencopy * Finish the implementation Lots of changes, mainly to fix transform handling. Turns out, grim expects transformed buffers and untransforms them by itself using info from wl_output. This means that render helpers needed to learn how to actually render transformed buffers. Also, it meant that y_invert is no longer needed. Next, moved the rendering to the Screencopy frame handler. Turns out, copy() is more or less expected to return immediately, whereas copy_with_damage() is expected to wait until the next VBlank. At least that's the intent I parse reading the protocol. Finally, brought the version from 3 down to 1, because copy_with_damage() will need bigger changes. Grim still works, others not really, mainly because they bind v3 unnecessarily, even if they don't use the damage request. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-02-21
2024-02-07
Clear before rendering to textureIvan Molodetskikh · 3360517
Clear before rendering to texture Otherwise I see artifacts on some GTK dialogs.