2 Replies Latest reply on Jun 29, 2015 5:07 AM by chm

    Multiple DOPP instances

    jossgray

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

        • Re: Multiple DOPP instances
          jossgray

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

            • Re: Multiple DOPP instances
              chm

              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