Files
figcraft/docs
bflatastic a76aba9278 M8: a layer with effects drags smoothly: its own effects move in the drag sprite, and glass or a background blur is rendered again for where it is on a thread of its own (#2853)
A dragged layer with any effect on it used to give up the drag sprite, so every pointer
move asked the canvas for a new render (about 20 ms each for a 600 x 360 glass pane over
stripes in a debug build here; 48 ms per move in the release glass bench at 200 %), and the
layer stuttered behind the pointer.

- The sprite now takes layers with effects of their own (drop and inner shadows, blurs,
  noise, texture, glass): render_area draws them as the page does.
- A background blur or glass in the sprite reads what lies under it where the layer is now:
  figcraft_render::render_area_moved draws the layers where they started but reads their
  backdrop at the drag's shift. A thread of the sprite's own renders it for the latest shift
  and hands the image back; the sprite keeps moving with the outline every frame and shows
  the newest render. The canvas renders nothing until the drop.
- The glass shading loop runs its rows in parallel outside a parallel render (exports and
  the sprite), as blurs already do; bands of a canvas render stay on their own thread.
2026-12-01 17:15:47 +07:00
..
2026-12-01 08:53:17 +07:00