r_thread.c File Reference

#include "r_local.h"
#include "../../ports/system.h"
#include <unistd.h>
#include <SDL_thread.h>
Include dependency graph for r_thread.c:

Go to the source code of this file.

Defines

#define THREAD_SLEEP_INTERVAL   100

Functions

int R_RunThread (void *p)
void R_ShutdownThreads (void)
void R_InitThreads (void)

Variables

renderer_threadstate_t r_threadstate

Detailed Description

Definition in file r_thread.c.


Define Documentation

#define THREAD_SLEEP_INTERVAL   100

Definition at line 34 of file r_thread.c.

Referenced by R_RunThread().


Function Documentation

void R_InitThreads ( void   ) 
See also:
R_ShutdownThreads

Definition at line 77 of file r_thread.c.

References R_RunThread(), and renderer_threadstate_s::thread.

Referenced by R_BeginFrame().

int R_RunThread ( void *  p  ) 
void R_ShutdownThreads ( void   ) 
See also:
R_InitThreads

Definition at line 66 of file r_thread.c.

References renderer_threadstate_s::thread.

Referenced by R_BeginFrame(), and R_Shutdown().


Variable Documentation

Definition at line 32 of file r_thread.c.

Referenced by CL_ViewRender(), R_RenderFrame(), and SCR_TimeRefresh_f().


Generated by  doxygen 1.6.2