forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 64a935192143286d59b94de00ba4726dadf0fd79Filtered to src/layout/tile.rsClear filter

2024-08-22

Implement resize transactionsIvan Molodetskikh · 7bfdf87Browse files

2024-08-20

2024-07-16

Implement gradient color interpolation option (#548)Ivan Molodetskikh · Unverified3ace976
Implement gradient color interpolation option (#548)

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

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-05-15

2024-05-14

2024-05-12

2024-05-04

Extract rules outIvan Molodetskikh · 79093baBrowse files
Split update_render_elements() from advance_animations()Ivan Molodetskikh · 73cc007
Split update_render_elements() from advance_animations()

advance_animations() is called from places like input, whereas
update_render_elements() is strictly for rendering.

2024-05-03

shader_element: Make shader optionalIvan Molodetskikh · 5c32031
shader_element: Make shader optional

The element is long-lived, but the shader itself isn't.

2024-05-02

2024-05-01

2024-04-29

2024-04-28

2024-04-24

2024-04-21

2024-04-19

Separate tile X and Y movement animationsIvan Molodetskikh · 2c8d103
Separate tile X and Y movement animations

Helps with the jank caused by lack of transactions when consuming to the
left/right. Resize triggers a few frames later and restarts the
movement. Now it only restarts the vertical and not the horizontal
movement.

2024-04-17

Preserve tile move config on animation restartsIvan Molodetskikh · 47f6c85
Preserve tile move config on animation restarts

This fixes a problem where consume-into-column would use resize
animation config instead of the window-movement config in most cases
(since a resize comes very shortly after the move starts).

A similar change to the column movement anim is more detrimental than
it's worth.

2024-04-16

2024-04-15

2024-04-13

2024-04-10

Fix building on stableIvan Molodetskikh · 6cd3f96Browse files
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-04-08

Implement window open shift in terms of window-movementIvan Molodetskikh · 4856522
Implement window open shift in terms of window-movement

This removes the quite unobvious visual size, and fixes jerking when
opening multiple windows in quick succession.

2024-03-24

2024-03-19

2024-03-05