Example #1
0
static DWORD WINAPI GLimp_RenderThreadWrapper( LPVOID ) {
	glimpRenderThread();

	// unbind the context before we die
	wglMakeCurrent( maindc, NULL );

	return 0;
}
Example #2
0
void* GLimp_RenderThreadWrapper( void *stub ) {
	glimpRenderThread();

#if 0
	// unbind the context before we die
	qglXMakeCurrent(dpy, None, NULL);
#endif
}
Example #3
0
static void* GLimp_RenderThreadWrapper( void* arg ) {
	common->Printf( "Render thread starting\n" );

	glimpRenderThread();

	glXMakeCurrent( dpy, None, NULL );

	common->Printf( "Render thread terminating\n" );

	return arg;
}
Example #4
0
/*
===============
GLimp_RenderThreadWrapper
===============
*/
static int GLimp_RenderThreadWrapper( void *arg )
{
	Com_Printf( "Render thread starting\n" );

	glimpRenderThread();

	GLimp_SetCurrentContext(NULL);

	Com_Printf( "Render thread terminating\n" );

	return 0;
}
Example #5
0
/*
===============
GLimp_RenderThreadWrapper
===============
*/
static int GLimp_RenderThreadWrapper( void *arg )
{
	// These printfs cause race conditions which mess up the console output
	//Com_Printf( "Render thread starting\n" );

	glimpRenderThread();

	GLimp_SetCurrentContext(qfalse);

	//Com_Printf( "Render thread terminating\n" );

	return 0;
}
Example #6
0
/*
===============
GLimp_RenderThreadWrapper
===============
*/
int GLimp_RenderThreadWrapper(void *arg)
{
	Com_Printf("SMP: Render thread starting.\n");
	glimpRenderThread();

	SDL_LockMutex(smpMutex);
	{
		smpData = NULL;
		renderThread = NULL;
		SDL_CondSignal(renderCompletedEvent);
	}
	SDL_UnlockMutex(smpMutex);

	Com_Printf("SMP: Render thread ended.\n");
	return 0;
}
Example #7
0
void *GLimp_RenderThreadWrapper( void *stub ) {
	glimpRenderThread();
	return NULL;
}
Example #8
0
static void GLimp_RenderThreadWrapper()
{
	glimpRenderThread();
	// unbind the context before we die
	qwglMakeCurrent( glw_state.hDC, NULL );
}