From: Yves Strube (czys++at++ocag.ch)
Date: 10/11/2001 02:10:01
Hi,
is there any possibility to create a pfPipeWindow in Performer without
showing it? I know that there is the pfWindow::openNewNoPort() function.
But this does not really help since I want to create the render window
(and not any window) and show it later (I perform texture downloads and
this requires the render window to exist I think). At the moment I open
the window with pfWindow::open() and use X functions to unmap it
immediately:
m_pPipeWin->open()
Display* xdisplay = pfGetCurWSConnection();
Window xwin = m_pPipeWin->getWSWindow();
XUnmapWindow(xdisplay, xwin);
XSync (xdisplay, True);
The effect is that the window appears and disappears immediately. Then I
can perform texture downloads etc. and map the window if I need it. It
works but I would be glad if I had a possibility to avoid the flashing
window...
Thanks for any comments,
Yves
--Oerlikon-Contraves AG Yves Strube, S-EMI Birchstr. 155 Email: czys++at++ocag.ch CH-8050 Zurich Phone: +41 1 316 2675 Switzerland Fax: +41 1 316 2032
This archive was generated by hypermail 2b29 : Thu Oct 11 2001 - 02:15:04 PDT