#include "gl.h"
Go to the source code of this file.
Macros | |
#define | GL_StretchPic(x, y, w, h, s1, t1, s2, t2, color, image) _GL_StretchPic(x,y,w,h,s1,t1,s2,t2,color,(image)->texnum,(image)->flags) |
#define | DIV64 (1.0f / 64.0f) |
Functions | |
static void | _GL_StretchPic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, uint32_t color, int texnum, int flags) |
void | GL_Blend (void) |
void | R_ClearColor_GL (void) |
void | R_SetAlpha_GL (float alpha) |
void | R_SetAlphaScale_GL (float alpha) |
void | R_SetColor_GL (uint32_t color) |
void | R_SetClipRect_GL (const clipRect_t *clip) |
void | R_SetScale_GL (float scale) |
void | R_DrawStretchPic_GL (int x, int y, int w, int h, qhandle_t pic) |
void | R_DrawPic_GL (int x, int y, qhandle_t pic) |
void | R_TileClear_GL (int x, int y, int w, int h, qhandle_t pic) |
void | R_DrawFill8_GL (int x, int y, int w, int h, int c) |
void | R_DrawFill32_GL (int x, int y, int w, int h, uint32_t color) |
static void | draw_char (int x, int y, int flags, int c, image_t *image) |
void | R_DrawChar_GL (int x, int y, int flags, int c, qhandle_t font) |
int | R_DrawString_GL (int x, int y, int flags, size_t maxlen, const char *s, qhandle_t font) |
Variables | |
drawStatic_t | draw |
#define GL_StretchPic | ( | x, | |
y, | |||
w, | |||
h, | |||
s1, | |||
t1, | |||
s2, | |||
t2, | |||
color, | |||
image | |||
) | _GL_StretchPic(x,y,w,h,s1,t1,s2,t2,color,(image)->texnum,(image)->flags) |
|
inlinestatic |
Definition at line 23 of file draw.c.
Referenced by GL_Blend(), R_DrawFill32_GL(), and R_DrawFill8_GL().
Definition at line 242 of file draw.c.
Referenced by R_RegisterFunctionsGL().
void R_SetAlpha_GL | ( | float | alpha | ) |
void R_SetAlphaScale_GL | ( | float | alpha | ) |
Definition at line 104 of file draw.c.
Referenced by R_RegisterFunctionsGL().
void R_SetClipRect_GL | ( | const clipRect_t * | clip | ) |
void R_SetColor_GL | ( | uint32_t | color | ) |
void R_SetScale_GL | ( | float | scale | ) |
drawStatic_t draw |
Definition at line 21 of file draw.c.
Referenced by _GL_StretchPic(), draw_char(), enqueue_stretch_pic(), GL_Setup2D(), R_ClearColor(), R_ClearColor_GL(), R_ClearColor_RTX(), R_DrawFixedData(), R_DrawPic(), R_DrawPic_GL(), R_DrawStretchData(), R_DrawStretchPic(), R_DrawStretchPic_GL(), R_DrawStretchPic_RTX(), R_InitDraw(), R_SetAlpha(), R_SetAlpha_GL(), R_SetAlpha_RTX(), R_SetAlphaScale_RTX(), R_SetClipRect(), R_SetClipRect_GL(), R_SetColor(), R_SetColor_GL(), R_SetColor_RTX(), R_SetScale_GL(), R_SetScale_RTX(), and SCR_DrawLayout().