forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 4e3661b33e0df73fbff64c11fdd6cc2eae071dc4Filtered to src/render_helpers/offscreen.rsClear filter

2026-02-02

2026-03-14

2026-02-18

offscreen: Add error messageIvan Molodetskikh · 525b337Browse files

2025-08-19

Update Smithay and fix two unused upscale() callsIvan Molodetskikh · f9ea905
Update Smithay and fix two unused upscale() calls

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-11

Fix new lifetime warningsIvan Molodetskikh · 0044578Browse files

2025-04-17

Bump Smithay and othersChristian Meissl · cb857e3
Bump Smithay and others

Presentation subsurface fix, popup unconstrain resize fix, cursor shape fix, refactors.

2025-04-16

Back out "chore: update smithay"Ivan Molodetskikh · f1cca1a
Back out "chore: update smithay"

This backs out commit 763cd564e32932e5f05b983c93328300f396216b.

There are graphical glitches and a panic.

2025-04-15

chore: update smithaySimonas Kazlauskas · 763cd56Browse files

2025-03-01

Keep track of RenderElementStates in offscreensIvan Molodetskikh · b351f6f
Keep track of RenderElementStates in offscreens

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.
Offscreen semitransparent tilesIvan Molodetskikh · 4f5c8e7
Offscreen semitransparent tiles

Now that offscreen does damage tracking, we can reasonably do this. Note this
only affects full-tile opacity, not window opacity.
offscreen: Track and return damageIvan Molodetskikh · 7b033aa
offscreen: Track and return damage

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.
offscreen: Take damage into account when renderingIvan Molodetskikh · efd8372
offscreen: Take damage into account when rendering

Does not yet signal the damage outside, but does skip rerendering if there was
no damage.

2025-02-27

Cache texture in OpenAnimationIvan Molodetskikh · 74a30be
Cache texture in OpenAnimation

Don't recreate it unless the size changes. This lays the groundwork for also
tracking damage in the future.

2025-03-09

2024-06-12

Update SmithayIvan Molodetskikh · 9ae98e0Browse files

2024-06-01

Implement our own TextureBuffer/RenderElementIvan Molodetskikh · 3c63be6
Implement our own TextureBuffer/RenderElement

Supports fractional texture scale + has some getters.

2024-05-16

Update Smithay and other depsIvan Molodetskikh · ae63773Browse files

2024-04-09

Update SmithayIvan Molodetskikh · 7e0d3d3Browse files

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-18

2024-02-07