10-26-2014 01:47 PM
10-27-2014 04:17 PM
10-27-2014 08:17 PM
10-27-2014 09:35 PM
"jherico" wrote:
CMake for the win.
10-27-2014 10:19 PM
bool SDKWindow::getVisualFromDrawable(GLXDrawable drawable, XVisualInfo* vinfoOut)
{
_XDisplay* display = glXGetCurrentDisplay();
unsigned int value;
glXQueryDrawable(display, drawable, GLX_FBCONFIG_ID, &value);
const int attribs[] = {GLX_FBCONFIG_ID, (int)value, None};
int screen;
glXQueryContext(display, glXGetCurrentContext(), GLX_SCREEN, &screen);
int numEls;
GLXFBConfig * config = glXChooseFBConfig(display, screen, attribs, &numEls);
if (numEls)
{
XVisualInfo* chosen = glXGetVisualFromFBConfig(display, *config);
*vinfoOut = *chosen;
XFree(config);
return true;
}
return false;
}
10-28-2014 02:07 PM
10-28-2014 04:51 PM
10-28-2014 05:04 PM
"nuclear" wrote:
Other instances of state creep i've found in the previous SDK version was leaving VBOs/IBOs bound, making straight-up client-side vertex array programs fail. Haven't tested if this problem persists in this version of the SDK as well.
10-28-2014 05:31 PM
"jherico" wrote:"nuclear" wrote:
Other instances of state creep i've found in the previous SDK version was leaving VBOs/IBOs bound, making straight-up client-side vertex array programs fail. Haven't tested if this problem persists in this version of the SDK as well.
Presumably this is why they're using a new shared context within the distortion renderer. Are you seeing state that's moving across that context boundary?
10-29-2014 03:58 AM