Go to the source code of this file.
|
void | Draw_InitLocal (void) |
|
void | Draw_Char (int x, int y, int num) |
|
image_t * | Draw_FindPic (char *name) |
|
void | Draw_GetPicSize (int *w, int *h, char *pic) |
|
void | Draw_StretchPic (int x, int y, int w, int h, char *pic) |
|
void | Draw_Pic (int x, int y, char *pic) |
|
void | Draw_TileClear (int x, int y, int w, int h, char *pic) |
|
void | Draw_Fill (int x, int y, int w, int h, int c) |
|
void | Draw_FadeScreen (void) |
|
void | Draw_StretchRaw (int x, int y, int w, int h, int cols, int rows, byte *data) |
|
◆ Draw_Char()
Definition at line 51 of file vk_draw.c.
54 float frow, fcol, size;
58 if ((num & 127) == 32)
75 fcol, frow, size, size };
Referenced by GetRefAPI().
◆ Draw_FadeScreen()
◆ Draw_Fill()
Definition at line 200 of file vk_draw.c.
208 if ((
unsigned)c > 255)
215 color.v[0] / 255.f, color.v[1] / 255.f, color.v[2] / 255.f, 1.f };
Referenced by GetRefAPI().
◆ Draw_FindPic()
image_t* Draw_FindPic |
( |
char * |
name | ) |
|
◆ Draw_GetPicSize()
void Draw_GetPicSize |
( |
int * |
w, |
|
|
int * |
h, |
|
|
char * |
pic |
|
) |
| |
◆ Draw_InitLocal()
◆ Draw_Pic()
◆ Draw_StretchPic()
◆ Draw_StretchRaw()
Definition at line 245 of file vk_draw.c.
247 unsigned image32[256 * 256];
262 hscale = rows / 256.0;
265 t = rows * hscale / 256;
269 for (
i = 0;
i < trows;
i++)
271 row = (
int)(
i*hscale);
274 source = data + cols * row;
275 dest = &image32[
i * 256];
276 fracstep = cols * 0x10000 / 256;
277 frac = fracstep >> 1;
278 for (
j = 0;
j < 256;
j++)
◆ Draw_TileClear()
Definition at line 174 of file vk_draw.c.
187 (float)
x / 64.0, (
float)
y / 64.0,
188 (float)
w / 64.0, (
float)h / 64.0 };
Referenced by GetRefAPI().
◆ draw_chars
◆ r_rawpalette
unsigned r_rawpalette[256] |
◆ vk_rawTexture
#define QVk_DebugSetObjectName(a, b, c)
image_t * Draw_FindPic(char *name)
CONST PIXELFORMATDESCRIPTOR int
void QVk_DrawColorRect(float *ubo, VkDeviceSize uboSize, qvkrenderpasstype_t rpType)
VkDeviceMemory deviceMemory
Handle to Vulkan memory object.
cvar_t *(* Cvar_Get)(char *name, char *value, int flags)
qvksampler_t vk_current_sampler
unsigned r_rawpalette[256]
VkDescriptorSet descriptorSet
void(* Con_Printf)(int print_level, char *str,...)
VmaAllocationInfo allocInfo
void QVk_CreateTexture(qvktexture_t *texture, const unsigned char *data, uint32_t width, uint32_t height, qvksampler_t samplerType)
void(* Sys_Error)(int err_level, char *str,...)
image_t * Vk_FindImage(char *name, imagetype_t type, qvksampler_t *samplerType)
void QVk_UpdateTextureData(qvktexture_t *texture, const unsigned char *data, uint32_t offset_x, uint32_t offset_y, uint32_t width, uint32_t height)
unsigned d_8to24table[256]
void Draw_StretchPic(int x, int y, int w, int h, char *pic)
void QVk_DrawTexRect(float *ubo, VkDeviceSize uboSize, qvktexture_t *texture)
qvktexture_t vk_rawTexture
GLdouble GLdouble GLdouble w
#define QVVKTEXTURE_CLEAR(i)
void Com_sprintf(char *dest, int size, char *fmt,...)