aboutsummaryrefslogtreecommitdiff
path: root/src/render_helpers
AgeCommit message (Collapse)Author
2025-08-19Update Smithay and fix two unused upscale() callsIvan Molodetskikh
Uh oh. I can't come up with an easy way to test these, so let's just hope that before they were broken and now they work fine?..
2025-08-11Fix new lifetime warningsIvan Molodetskikh
2025-07-13Fix new Clippy warningsIvan Molodetskikh
2025-06-18Fix typos (#1822)Baily
* Fix: Correct typo in xwayland module and update documentation This commit includes several improvements: 1. **Code Fix (clippy):** - I corrected a typo in `src/utils/xwayland/mod.rs` from `OFlags::WRONGLY` to `OFlags::WRONLY`. This was identified by `clippy` during the build process. 2. **Documentation Updates:** - **README.md**: - I clarified the sentence about finding help in the Matrix channel to be more inviting for new users. - I corrected a future date typo in the Media section for an interview (June 2025 to June 2024). - **wiki/Getting-Started.md**: - I changed the Russian month "мая" to "May" in an example output for better international readability. - I improved keybinding notation for monitor focus/move keys (e.g., Mod+Shift+H / J / K / L) to avoid ambiguity. - I updated `apt-get` to `apt` in Ubuntu dependency installation commands for modern practice. No new typos were found by `typos-cli` in this pass. * Revert README&GS.md to previous version * Apply rustfmt --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-16Deal with new Clippy warningsIvan Molodetskikh
2025-04-29Bump Smithay and othersChristian Meissl
Presentation subsurface fix, popup unconstrain resize fix, cursor shape fix, refactors.
2025-04-28Replace Smithay's SolidColor elements with oursIvan Molodetskikh
Must've forgotten about these back when I replaced others.
2025-04-25Add with_alpha() to shader and shadow elementIvan Molodetskikh
2025-04-16Back out "chore: update smithay"Ivan Molodetskikh
This backs out commit 763cd564e32932e5f05b983c93328300f396216b. There are graphical glitches and a panic.
2025-04-15chore: update smithaySimonas Kazlauskas
2025-03-16Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh
Otherwise, we won't actually clear it because it'll become Pending.
2025-03-10Keep track of RenderElementStates in offscreensIvan Molodetskikh
This both avoids sending frame callbacks to surfaces invisible on the offscreen (fixing Firefox with subsurface compositing in the process), and fixes searching for split popups during the resize animation.
2025-03-10Offscreen semitransparent tilesIvan Molodetskikh
Now that offscreen does damage tracking, we can reasonably do this. Note this only affects full-tile opacity, not window opacity.
2025-03-10render_helpers/resize: Fix logic to allow for partially-filled textureIvan Molodetskikh
"texture geo" defines offset and src size, rather than the full texture size.
2025-03-10offscreen: Don't recreate if size decreasedIvan Molodetskikh
2025-03-10offscreen: Track and return damageIvan Molodetskikh
This is the second part of the damage equation: now the offscreen element itself reports correct damage, so partial redraws to the texture don't cause full redraws of the texture element itself.
2025-03-10offscreen: Take damage into account when renderingIvan Molodetskikh
Does not yet signal the damage outside, but does skip rerendering if there was no damage.
2025-03-10Cache texture in OpenAnimationIvan Molodetskikh
Don't recreate it unless the size changes. This lays the groundwork for also tracking damage in the future.
2025-03-10Update Smithay (Framebuffer type)Ivan Molodetskikh
2025-02-27Extract encompassing_geo()Ivan Molodetskikh
2025-02-27render_helpers: Use upscale(-1)Ivan Molodetskikh
2025-02-14Update Smithay (idle-notify 2)Ivan Molodetskikh
2025-02-10Add alpha parameter to shadersIvan Molodetskikh
Lets us add extra opacity.
2025-02-10shader: Return real alpha from alpha()Ivan Molodetskikh
2025-01-17Implement window shadowsIvan Molodetskikh
2025-01-14clipped_surface: Store complete uniforms in the structIvan Molodetskikh
This mistake shall never happen again.
2025-01-14Add missing clipped surface uniformIvan Molodetskikh
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2025-01-03Render layer-shell pop-ups on topIvan Molodetskikh
2024-11-29Fix new warningsIvan Molodetskikh
2024-10-24ShaderRenderElement use borrowed Uniforms to minimize copy (#756)gmorer
2024-10-05remove redundant pointer casts in shader codesodiboo
2024-10-05use CStr literals over calling CStr::from_bytes_with_nulsodiboo
2024-08-23Fix screen transition across scale/transform changesIvan Molodetskikh
2024-08-22Update Smithay (apply state in post commit)Ivan Molodetskikh
2024-08-08fix: change precision to highpMichael Yang
2024-08-08feat: update screencopy to version 3Michael Yang
2024-07-16Implement gradient color interpolation option (#548)Ivan Molodetskikh
* Added the better color averaging code (tested & functional) * rustfmt * Make Color f32 0..1, clarify premul/unpremul * Fix imports and test name * Premultiply gradient colors matching CSS * Fix indentation * fixup * Add gradient image --------- Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com>
2024-07-13border: Fix reversed gradient at angle = 90Ivan Molodetskikh
2024-07-08solid_color: Fix alpha handlingIvan Molodetskikh
It wasn't getting redrawn on alpha changes.
2024-07-08screenshot-ui: Pre-compute PrimaryGpuTextureIvan Molodetskikh
2024-07-08bump smithayChristian Meissl
2024-06-28Fix blocked-out + popups and rounded corners window screencastsIvan Molodetskikh
2024-06-18Fix blurry rounded corners on high scalesIvan Molodetskikh
2024-06-18Refactor layout to fractional-logicalIvan Molodetskikh
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-17Update SmithayIvan Molodetskikh
2024-06-10Add SolidColor{Buffer,RenderElement}Ivan Molodetskikh
2024-06-10Add MemoryBufferIvan Molodetskikh
2024-06-10Implement our own TextureBuffer/RenderElementIvan Molodetskikh
Supports fractional texture scale + has some getters.
2024-05-16Update Smithay and other depsIvan Molodetskikh