Re: [csswg-drafts] [css-view-transitions-1] Display live image when element is outside the snapshot containing block in old state (#10587)

> > I'm not quite sure how that'd be implemented, since you'd have to clone layers and keep them in sync.
> 
> In Chromium we have a handle to the live texture which can be bound to multiple layers. So we can have the layer associated with the old pseudo use the live texture handle instead of a cached texture handle which currently happens.
> 
> > Could you clarify how this would be an optimization?
> 
> The desired optimization is to not force rendering and caching of old named elements which are offscreen. Currently as per spec, we have to do this even if the browser's normal rendering flow optimizes out paint/raster/compositing for offscreen content.

I would add that in a large portion of the cases those offscreen elements would remain offscreen also in the new element, so this would optimize them out completely.

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/10587#issuecomment-2239937072 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 19 July 2024 19:03:05 UTC