[info-performer] Performer problem

Date view Thread view Subject view Author view

From: Tiziano Diamanti (t.diamanti++at++cineca.it)
Date: 06/22/2005 04:56:50


Hi,
I have the following problem using Performer.
I use wxWidgets (GTK) for GUI. Now the OpenGL Context
is created by wxWidgets and passed to Performer:

pfPWinType(pwindow, PFPWIN_TYPE_X);
pfPWinConfigFunc(pwindow, ConfigureWindow);
pfConfigPWin(pwindow);
pfPWinSize(pwindow, winx, winy);

where ConfigureWindow is:
void ConfigureWindow(pfPipeWindow *pw)
{
//pfPWinGLCxt(pw, (__GLXcontextRec*)visual_info.GLContext);
pfPWinFBConfig(pw, visual_info.VisualInfo);
pfPWinWSDrawable(pw, visual_info.Connection, (long unsigned
int)visual_info.Win);
pfPWinWSWindow(pw, visual_info.Connection, (long unsigned
int)visual_info.Win);
loadXFont();
pfOpenPWin(pw);
}

This code works if I don't split DRAW and CULL process otherwise
ConfigureWindow is not called.

Thank you

-- 
Tiziano Diamanti
HPC and Visualization
Cineca
Italy

Tel. +39-051-6171717


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 22 2005 - 04:56:57 PDT