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

102 views
Skip to first unread message

J H

unread,
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,
Jay

Jonathan Layne

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

Corentin Wallez

unread,
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? ;-)

Cheers,

Corentin

--
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 dawn-graphic...@googlegroups.com.
To post to this group, send email to dawn-g...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/913e92a4-fe8c-4808-a843-ee16146257dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages