cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

jossgray
Adept II

Multiple DOPP instances

Is it possible to have multiple applications, that use DOPP, which target different desktops?

0 Likes
1 Solution

Hi,

having two processes will not work but you could have one process that captures and presents two desktops. You can use the wglDesktopTarget call set the desktop you want to process. E.g.:

wglDesktopTargetAMD(1);

Render Desktop1 to FBO

wglPresentTextureToVideoAMD(...)

glFinish();

wglDesktopTargetAMD(2);

Render Desktop2 to FBO

wglPresentTextureToVideoAMD(...)

glFinish();

When doing this you need to make sure that wglDesktopTargetAMD does not get called while the rendering or present of the previous desktop has not yet finished.

Chris

View solution in original post

0 Likes
2 Replies
jossgray
Adept II

For example, in extended desktop mode, have 2 processes, one captures and presents desktop 1, and the other desktop 2

0 Likes

Hi,

having two processes will not work but you could have one process that captures and presents two desktops. You can use the wglDesktopTarget call set the desktop you want to process. E.g.:

wglDesktopTargetAMD(1);

Render Desktop1 to FBO

wglPresentTextureToVideoAMD(...)

glFinish();

wglDesktopTargetAMD(2);

Render Desktop2 to FBO

wglPresentTextureToVideoAMD(...)

glFinish();

When doing this you need to make sure that wglDesktopTargetAMD does not get called while the rendering or present of the previous desktop has not yet finished.

Chris

0 Likes