aboutsummaryrefslogtreecommitdiff
path: root/src/render_helpers
AgeCommit message (Collapse)Author
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
2024-05-15Change resize shader geo size to logical pixelsIvan Molodetskikh
Consistent with the others.
2024-05-15Implement custom shader for window-openIvan Molodetskikh
2024-05-12Implement custom shader for window-close animIvan Molodetskikh
2024-05-04Extract RenderTarget::should_block_out()Ivan Molodetskikh
2024-05-04shader_element: Store and set location separatelyIvan Molodetskikh