aboutsummaryrefslogtreecommitdiff
path: root/src/render_helpers
AgeCommit message (Collapse)Author
2024-04-18Fix crop + crossfade artifactsIvan Molodetskikh
2024-04-13Unify Animation- and RenderSnapshotIvan Molodetskikh
2024-04-13Implement window resize animationsIvan Molodetskikh
2024-04-13Fix typoIvan Molodetskikh
2024-04-12Add render_to_encompassing_texture()Ivan Molodetskikh
2024-04-10Reimplement window closing anim in an efficient wayIvan Molodetskikh
- 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-09Implement window closing animationsIvan Molodetskikh
2024-04-09Update SmithayIvan Molodetskikh
2024-03-24Implement block-out-from window rule, fix alpha on window screenshotsIvan Molodetskikh
2024-03-08Implement wlr-screencopy v1 (#243)sodiboo
* 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-22Improve shader formattingIvan Molodetskikh
2024-02-22Simplify gradient border shaderIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21Add missing qualified pathIvan Molodetskikh
2024-02-21Use niri_render_elements! for the screenshot UIIvan Molodetskikh
2024-02-18Update for Smithay MultiGpu shadow copiesIvan Molodetskikh
2024-02-07Add a Tracy span to OffscreenRenderElement::newIvan Molodetskikh
2024-02-07Add OffscreenRenderElementIvan Molodetskikh
2024-02-07Clear before rendering to textureIvan Molodetskikh
Otherwise I see artifacts on some GTK dialogs.
2024-02-06Change render functions to accept iteratorsIvan Molodetskikh
2024-02-06Move render functions to render_helpersIvan Molodetskikh
2024-02-06Split render_helpers.rsIvan Molodetskikh