From: Jamie A. <jam...@gm...> - 2010-02-10 17:57:14
|
Hello, I am porting an egl/opengl-es2 application to mesa (opengl-es branch -- software rasterizer for now) from the powervr egl/opengl-es2 wrappers on a desktop linux. I've just started, and see that my pbuffer code is blowing up right here (on the exit): EGLint pbufferConfigAttribs[] = { EGL_CONFIG_CAVEAT, EGL_NONE, EGL_BUFFER_SIZE, bufferSize, EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_BIND_TO_TEXTURE_RGB, EGL_TRUE, EGL_NONE }; int iConfigs; if (!eglChooseConfig(EGLX11System::eglDisplay, pbufferConfigAttribs, &EGLX11System::eglPbufferConfig, 1, &iConfigs) ){ TestEGLError("eglChooseConfig"); printf("Error: eglChooseConfig() failed. line:%i\n", __LINE__); exit(1); // exits here } Does anyone know if pbuffers are currently working in mesa? Jamie |