[webkit-reviews] review granted: [Bug 236899] [WebGPU] Tracer bullet part 6: Give a RunLoop to Instance : [Attachment 452663] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 21 09:26:49 PST 2022


Dean Jackson <dino at apple.com> has granted Myles C. Maxfield
<mmaxfield at apple.com>'s request for review:
Bug 236899: [WebGPU] Tracer bullet part 6: Give a RunLoop to Instance
https://bugs.webkit.org/show_bug.cgi?id=236899

Attachment 452663: Patch

https://bugs.webkit.org/attachment.cgi?id=452663&action=review




--- Comment #2 from Dean Jackson <dino at apple.com> ---
Comment on attachment 452663
  --> https://bugs.webkit.org/attachment.cgi?id=452663
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=452663&action=review

> Source/WebGPU/ChangeLog:10
> +	   The shared header has a function, wgpuInstanceProcessEvents(), which
is supposed
> +	   to synchronously call all outstanding callbacks. A natural way to do
this is to
> +	   hook this up to [NSRunLoop runMode:beforeDate:].

What's the layering between WebGPU and Foundation? How would a non-Apple port
do this?


More information about the webkit-reviews mailing list