Hi all.--
I'm new to nacl and currently trying to figure out if I can implement my use-case as a plugin, or if need to go a different way (i.e. do a CEF-like wrapper around chromium).
What I'm trying to do:
There is an application that renders 3D contents onto a texture.
The application itself won't compile on nacl (a lot of system dependencies).
So what I would like to do is to share the render target texture of that application to a nacl plugin, which composes / renders it inside chrome.
I'm starting with windows, but it should work on linux platforms as well.
I can use DXGI / NV_DX_interop. Means I have an EGLImage on the nacl plugin, which I would like to render.
What I do miss however is eglCreatePbufferFromClientBuffer or anything similar on the nacl api.
Using glTexImage2D is no option. The application can update the texture up to 60 time per second, and it can be HD (even 4K) size.
So it is crucial to not do any lock/copy/unlock operations on the pixel buffer, but do zero-copy until the texture is actually rendered inside chrome.
Is it possible on a nacl plugin?
I need a way to create a GL texture from a shared texture. eglCreatePbufferFromClientBuffer does exactly that, but I can't use on nacl.
Is there any other way?
Many thanks.
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.