W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

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

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 Jul 2019 00:53:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-513047627-1563497589-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC