Go to the source code of this file.
Functions | |
qboolean | R_Init (void) |
qboolean | R_SetMode (void) |
void | R_Shutdown (void) |
void | R_BeginFrame (void) |
void | R_EndFrame (void) |
void | R_RenderFrame (void) |
Definition in file r_main.h.
void R_BeginFrame | ( | void | ) |
Definition at line 202 of file r_main.c.
References Com_IsRenderModified(), Com_Printf(), Com_SetRenderModified(), Cvar_PendingCvars(), CVAR_R_CONTEXT, CVAR_R_PROGRAMS, Cvar_SetValue(), cvar_s::integer, rconfig_t::maxAnisotropic, cvar_s::modified, Q_strcasecmp, qfalse, R_CheckError, R_Clear(), R_InitThreads(), R_RestartPrograms_f(), R_SetMode(), R_Setup2D(), R_ShutdownThreads(), R_TextureAlphaMode(), R_TextureMode(), R_TextureSolidMode(), cvar_s::string, vid_fullscreen, vid_mode, VID_Restart_f(), and vid_strech.
Referenced by SCR_DrawPrecacheScreen(), SCR_TimeRefresh_f(), and SCR_UpdateScreen().
void R_EndFrame | ( | void | ) |
Definition at line 358 of file r_main.c.
References cvar_s::integer, cvar_s::modified, qfalse, R_ClearScene(), cvar_s::value, vid_gamma, and vid_ignoregamma.
Referenced by SCR_DrawPrecacheScreen(), SCR_TimeRefresh_f(), and SCR_UpdateScreen().
qboolean R_Init | ( | void | ) |
Definition at line 977 of file r_main.c.
References Cvar_ClearVars(), CVAR_R_MASK, rconfig_t::extensionsString, rconfig_t::gl_alpha_format, rconfig_t::gl_filter_max, rconfig_t::gl_filter_min, rconfig_t::gl_solid_format, rconfig_t::maxTextureSize, qfalse, qtrue, R_CheckError, R_DrawInitLocal(), R_EnforceVersion(), R_FontInit(), R_InitExtensions(), R_InitFBObjects(), R_InitImages(), R_InitMiscTexture(), R_InitPrograms(), R_RegisterImageVars(), R_RegisterSystemVars(), R_SetDefaultState(), R_SphereInit(), R_Strings_f(), R_VerifyDriver(), rconfig_t::rendererString, Rimp_Init(), rconfig_t::vendorString, and rconfig_t::versionString.
Referenced by VID_Init(), and VID_Restart_f().
void R_RenderFrame | ( | void | ) |
Definition at line 278 of file r_main.c.
References cvar_s::integer, qfalse, qtrue, R_CheckError, R_DrawAlphaTestSurfaces(), R_DrawBlendSurfaces(), R_DrawBlendWarpSurfaces(), R_DrawBloom(), R_DrawBspNormals(), R_DrawCoronas(), R_DrawEntities(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_DrawOpaqueSurfaces(), R_DrawOpaqueWarpSurfaces(), R_DrawParticles(), R_EnableBlend(), R_EnableFog(), R_EnableLights(), R_GetLevelSurfaceLists(), r_mapTiles, r_numMapTiles, R_ResetArrayState(), R_Setup2D(), R_Setup3D(), R_SetupFrustum(), r_threadstate, RDF_NOWORLDMODEL, rendererData_t::rendererFlags, renderer_threadstate_s::state, Sys_Sleep(), THREAD_CLIENT, and THREAD_RENDERER.
Referenced by CL_SequenceRender(), CL_ViewRender(), and SCR_TimeRefresh_f().
qboolean R_SetMode | ( | void | ) |
Definition at line 544 of file r_main.c.
References Com_Printf(), Cvar_SetValue(), viddef_t::fullscreen, vidmode_s::height, viddef_t::height, cvar_s::integer, viddef_t::mode, qfalse, qtrue, R_InitFBObjects(), R_InitGraphics(), R_ShutdownFBObjects(), R_UpdateVidDef(), viddef_t::strech, UI_InvalidateStack(), vid_fullscreen, VID_GetModeInfo(), vid_mode, vid_strech, viddef, vidmode_s::width, and viddef_t::width.
Referenced by R_BeginFrame(), and Rimp_Init().
void R_Shutdown | ( | void | ) |
Definition at line 1030 of file r_main.c.
References Cmd_RemoveCommand(), cmdList_s::name, qtrue, R_FontShutdown(), R_ShutdownFBObjects(), R_ShutdownImages(), R_ShutdownModels(), R_ShutdownPrograms(), R_ShutdownThreads(), and Rimp_Shutdown().
Referenced by CL_Shutdown(), and VID_Restart_f().