Re: [csswg-drafts] [resize-observer] device-pixel-border-box size (#3554)

> If ResizeObserver is called after RAF, then there's a frame of latency in the WebGL case we've discussed. Is this intentional?

There is not an extra frame of latency. It’s true that if a WebGL app updates its canvas rendering state
in a rAF callback, and then a ResizeObserver for in the same frame causes the canvas to resize, the WebGL app may need to update its state right then and there, but it can do it. And it will be displayed to the screen in the same frame as the rAF callback.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3554#issuecomment-513047627 using your GitHub account

Received on Friday, 19 July 2019 00:53:11 UTC