Mario Veraart (rioj7++at++fel.tno.nl)
Fri, 10 Jul 1998 17:20:10 +0200 (MET DST)
This sounds like you have a DKO or TKO option in your system to
connect multiple keyboards. Each xdm has one pipe in possession.
You have to switch to single keyboard by changing a configuration file
that starts the xdm on the different pipes.
I can't give you the name of the file but in the docs of the TKO you
can find examples.
You can write the application to open the other window on the other
screen but you will use only one pipe for the rendering. That is at
least what I found when looking at the result frame rate.
Below is a piece of code from a program that remaps the window to a
different screen.
pfPipe* pipe = pfGetPipe(p);
// try to allocate on the different screens
char pipeStr[20];
if (gNumScreensFound>1)
{
sprintf(pipeStr, ":0.%d", gPipeToScreen[p]); // SKO
// select one of the screens of this xdm
pipe->setWSConnectionName(pipeStr);
pipe->setScreen(gPipeToScreen[p]);
}
else
{
sprintf(pipeStr, ":%d.0", gPipeToScreen[p]); // TKO
// get the only screen from this xdm
pipe->setWSConnectionName(pipeStr);
pipe->setScreen(0);
}
pfNotify(PFNFY_ALWAYS, PFNFY_PRINT, "Mapping Pipe %d to
screen \"%s\
"", p, pipeStr);
Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:41 PDT