Rendering a DX12/Metal frame via dawn in electron/chromium

Skip to first unread message


Jul 9, 2019, 4:28:18 PM7/9/19
to Dawn Graphics
Hi All,

    It's very exciting to see where dawn project is heading!  We have a product that is built on top electron and using old gl interop to present a frame.  
Though, we are updating our renderer to DX12 and Metal.  Is it possible to build chromium with dawn for this purpose? Does dawn works together with current chromium gl/angle renderer?
Sorry if the question is off mark, not expert on chromium/electron.  

Much thanks,

Jonathan Layne

Aug 21, 2019, 9:36:04 AM8/21/19
to Dawn Graphics

Corentin Wallez

Aug 22, 2019, 4:06:27 PM8/22/19
to J H, Dawn Graphics
Hey Jay,

I'm not sure how "old gl interop" works in Electron but if it exposes the SharedImage concept, you should be able to use interop irrespective of Dawn as soon as we have finish support for D3D12 for them. Dawn will work with gl/ANGLE interop though it isn't clear how much of it works for now (we are just getting started and don't have massive tests for it yet).

That said why not consider building your engine inside Electron with WebGPU? ;-)



You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit
Reply all
Reply to author
0 new messages