Sharing ptr from glMapBuffer with another app

Hi all,

i would be interested if it is possible to share the memory allocated by glMapBuffer(…) with another application.

Idea is, since this is - in a few lucky cases - VRAM memory, on could avoid a costly extra copy from ‘regular’ shared memory to texture / vertex etc memory using own glTexSubImageXY.

In short, is it possible to declare memory allocated elsewhere ( gl driver ) later as ‘shared’?

Best,
Hendrik

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.