Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Copy OpenGL texture from one context to another while contexts are in different process.

$
0
0

Hi,

For some weird reason, I need to render a texture (Render to texture) in an openGL application and use that texture as in input to another openGL application. I have been trying to find a solution for that and first thing I found was Nvidia extension wglCopyImage SubDataNV and glxCopyImageSubDataNv. I managed to found an nvidia presentation that desscribe copying image data from srcContext to DestContext,

wglCopyImageSubDataNV(srcCtx, srcTex, GL_TEXTURE_2D,0, 0, 0, 0,
destCtx, destTex, GL_TEXTURE_2D, 0, 0, 0, 0,
width, height, 1); 

However, I am not if there are any ways to make ti work if the …


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>