OSR with shared textures - D3D11 only?

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

OSR with shared textures - D3D11 only?

Postby x1ma » Sun Mar 03, 2019 7:15 am

I saw the recent commits about enabling OSR with shared textures - is this D3D11 only yet? Are there plans to get this working on at least macOS?
x1ma
Newbie
 
Posts: 3
Joined: Sun Oct 21, 2018 9:27 am

Re: OSR with shared textures - D3D11 only?

Postby magreenblatt » Sun Mar 03, 2019 11:09 am

There are no detailed plans to support other platforms currently. It you would like this functionality please help to develop it.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: OSR with shared textures - D3D11 only?

Postby rjxray » Tue Mar 19, 2019 5:15 am

I've managed to make it work on Windows with the WGL_NV_DX_interop extensions - sharing textures between d3d11 and openGl.
I'm doing it in the off screen renderer.
It works with every graphics card I've found, surprisingly including intel on chip graphics
My code is quite application and openFrameworks specific and is certainly not suitable for merging to CEF.
But for what is worth I've attached the off screen renderer code - comments would be very welcome!

There is also a basic example of how to share textures at https://github.com/rjx-ray/ofDxSharedTextureExample
Attachments
src.zip
(12.77 KiB) Downloaded 736 times
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 13 guests