2018-12-29 02:54:17 +01:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2017-01-22 13:40:32 +01:00
|
|
|
* Copyright (C) 2016-2017 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2017 - Daniel De Matteis
|
2016-02-16 20:24:00 +01:00
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <retro_miscellaneous.h>
|
|
|
|
|
2016-09-08 06:02:41 +02:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "../../config.h"
|
|
|
|
#endif
|
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
#include "../gfx_display.h"
|
2016-09-08 06:02:41 +02:00
|
|
|
|
2020-02-16 15:26:58 +01:00
|
|
|
#include "../font_driver.h"
|
2019-06-17 15:10:22 +02:00
|
|
|
#include "../../retroarch.h"
|
2020-02-16 15:26:58 +01:00
|
|
|
#include "../common/vulkan_common.h"
|
2016-02-16 20:24:00 +01:00
|
|
|
|
2016-05-08 15:21:53 +02:00
|
|
|
/* Will do Y-flip later, but try to make it similar to GL. */
|
2016-02-16 20:24:00 +01:00
|
|
|
static const float vk_vertexes[] = {
|
|
|
|
0, 0,
|
|
|
|
1, 0,
|
2016-05-08 15:21:53 +02:00
|
|
|
0, 1,
|
2016-02-16 20:24:00 +01:00
|
|
|
1, 1
|
|
|
|
};
|
|
|
|
|
|
|
|
static const float vk_tex_coords[] = {
|
|
|
|
0, 1,
|
2016-05-08 15:21:53 +02:00
|
|
|
1, 1,
|
|
|
|
0, 0,
|
|
|
|
1, 0
|
2016-02-16 20:24:00 +01:00
|
|
|
};
|
|
|
|
|
2017-02-20 20:51:24 +01:00
|
|
|
static const float vk_colors[] = {
|
|
|
|
1.0f, 1.0f, 1.0f, 1.0f,
|
|
|
|
1.0f, 1.0f, 1.0f, 1.0f,
|
|
|
|
1.0f, 1.0f, 1.0f, 1.0f,
|
|
|
|
1.0f, 1.0f, 1.0f, 1.0f,
|
|
|
|
};
|
|
|
|
|
2020-03-08 19:59:03 +01:00
|
|
|
static void *gfx_display_vk_get_default_mvp(void *data)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
2020-03-08 19:59:03 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2016-02-16 20:24:00 +01:00
|
|
|
if (!vk)
|
|
|
|
return NULL;
|
|
|
|
return &vk->mvp_no_rot;
|
|
|
|
}
|
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
static const float *gfx_display_vk_get_default_vertices(void)
|
2016-04-15 04:43:48 +02:00
|
|
|
{
|
|
|
|
return &vk_vertexes[0];
|
|
|
|
}
|
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
static const float *gfx_display_vk_get_default_tex_coords(void)
|
2016-04-15 04:43:48 +02:00
|
|
|
{
|
|
|
|
return &vk_tex_coords[0];
|
|
|
|
}
|
|
|
|
|
2017-01-22 22:18:00 +01:00
|
|
|
#ifdef HAVE_SHADERPIPELINE
|
2016-05-08 11:11:28 +02:00
|
|
|
static unsigned to_menu_pipeline(
|
2020-02-16 15:10:07 +01:00
|
|
|
enum gfx_display_prim_type type, unsigned pipeline)
|
2016-05-08 11:11:28 +02:00
|
|
|
{
|
|
|
|
switch (pipeline)
|
|
|
|
{
|
|
|
|
case VIDEO_SHADER_MENU:
|
2020-02-16 15:10:07 +01:00
|
|
|
return 4 + (type == GFX_DISPLAY_PRIM_TRIANGLESTRIP);
|
2016-12-06 00:34:38 +01:00
|
|
|
case VIDEO_SHADER_MENU_2:
|
2020-02-16 15:10:07 +01:00
|
|
|
return 6 + (type == GFX_DISPLAY_PRIM_TRIANGLESTRIP);
|
2017-02-20 20:51:24 +01:00
|
|
|
case VIDEO_SHADER_MENU_3:
|
2020-02-16 15:10:07 +01:00
|
|
|
return 8 + (type == GFX_DISPLAY_PRIM_TRIANGLESTRIP);
|
2017-02-20 21:51:58 +01:00
|
|
|
case VIDEO_SHADER_MENU_4:
|
2020-02-16 15:10:07 +01:00
|
|
|
return 10 + (type == GFX_DISPLAY_PRIM_TRIANGLESTRIP);
|
2017-02-20 22:59:05 -06:00
|
|
|
case VIDEO_SHADER_MENU_5:
|
2020-02-16 15:10:07 +01:00
|
|
|
return 12 + (type == GFX_DISPLAY_PRIM_TRIANGLESTRIP);
|
2016-05-08 11:11:28 +02:00
|
|
|
default:
|
2020-09-24 06:37:25 +02:00
|
|
|
break;
|
2016-05-08 11:11:28 +02:00
|
|
|
}
|
2020-09-24 06:37:25 +02:00
|
|
|
return 0;
|
2016-05-08 11:11:28 +02:00
|
|
|
}
|
|
|
|
|
2021-04-08 00:38:24 +02:00
|
|
|
static void gfx_display_vk_draw_pipeline(
|
|
|
|
gfx_display_ctx_draw_t *draw,
|
|
|
|
gfx_display_t *p_disp,
|
2020-03-08 22:05:51 +01:00
|
|
|
void *data, unsigned video_width, unsigned video_height)
|
2016-04-25 13:56:12 +02:00
|
|
|
{
|
2017-02-20 22:59:05 -06:00
|
|
|
static uint8_t ubo_scratch_data[768];
|
2017-02-20 20:51:24 +01:00
|
|
|
static struct video_coords blank_coords;
|
2021-04-08 00:38:24 +02:00
|
|
|
static float t = 0.0f;
|
2018-05-13 14:15:04 +02:00
|
|
|
float output_size[2];
|
2021-04-08 00:38:24 +02:00
|
|
|
float yflip = 1.0f;
|
2019-04-08 15:22:21 +02:00
|
|
|
video_coord_array_t *ca = NULL;
|
2020-03-08 22:05:51 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2016-04-25 13:56:12 +02:00
|
|
|
|
|
|
|
if (!vk || !draw)
|
|
|
|
return;
|
|
|
|
|
2017-02-20 20:51:24 +01:00
|
|
|
draw->x = 0;
|
|
|
|
draw->y = 0;
|
|
|
|
draw->matrix_data = NULL;
|
|
|
|
|
2017-03-05 19:28:34 +01:00
|
|
|
output_size[0] = (float)vk->context->swapchain_width;
|
|
|
|
output_size[1] = (float)vk->context->swapchain_height;
|
2017-02-20 20:51:24 +01:00
|
|
|
|
2020-08-14 15:58:43 +02:00
|
|
|
switch (draw->pipeline_id)
|
2017-02-20 20:51:24 +01:00
|
|
|
{
|
|
|
|
/* Ribbon */
|
|
|
|
default:
|
|
|
|
case VIDEO_SHADER_MENU:
|
|
|
|
case VIDEO_SHADER_MENU_2:
|
2020-09-25 10:31:07 +02:00
|
|
|
ca = &p_disp->dispca;
|
2017-02-20 20:51:24 +01:00
|
|
|
draw->coords = (struct video_coords*)&ca->coords;
|
2020-08-14 15:58:43 +02:00
|
|
|
draw->backend_data = ubo_scratch_data;
|
|
|
|
draw->backend_data_size = 2 * sizeof(float);
|
2017-02-20 20:51:24 +01:00
|
|
|
|
|
|
|
/* Match UBO layout in shader. */
|
|
|
|
memcpy(ubo_scratch_data, &t, sizeof(t));
|
2019-03-02 11:53:14 +01:00
|
|
|
memcpy(ubo_scratch_data + sizeof(float), &yflip, sizeof(yflip));
|
2017-02-20 20:51:24 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
/* Snow simple */
|
|
|
|
case VIDEO_SHADER_MENU_3:
|
2017-02-20 21:51:58 +01:00
|
|
|
case VIDEO_SHADER_MENU_4:
|
2017-02-20 22:59:05 -06:00
|
|
|
case VIDEO_SHADER_MENU_5:
|
2020-08-14 15:58:43 +02:00
|
|
|
draw->backend_data = ubo_scratch_data;
|
|
|
|
draw->backend_data_size = sizeof(math_matrix_4x4)
|
2019-04-08 15:22:21 +02:00
|
|
|
+ 4 * sizeof(float);
|
2017-02-20 20:51:24 +01:00
|
|
|
|
|
|
|
/* Match UBO layout in shader. */
|
2018-02-16 19:42:13 +01:00
|
|
|
memcpy(ubo_scratch_data,
|
2020-09-11 14:21:09 +02:00
|
|
|
&vk->mvp_no_rot,
|
2018-02-16 19:42:13 +01:00
|
|
|
sizeof(math_matrix_4x4));
|
|
|
|
memcpy(ubo_scratch_data + sizeof(math_matrix_4x4),
|
|
|
|
output_size,
|
|
|
|
sizeof(output_size));
|
2019-03-02 11:53:14 +01:00
|
|
|
|
|
|
|
/* Shader uses FragCoord, need to fix up. */
|
2020-08-14 15:58:43 +02:00
|
|
|
if (draw->pipeline_id == VIDEO_SHADER_MENU_5)
|
2019-03-02 11:53:14 +01:00
|
|
|
yflip = -1.0f;
|
|
|
|
|
2019-04-08 15:22:21 +02:00
|
|
|
memcpy(ubo_scratch_data + sizeof(math_matrix_4x4)
|
|
|
|
+ 2 * sizeof(float), &t, sizeof(t));
|
|
|
|
memcpy(ubo_scratch_data + sizeof(math_matrix_4x4)
|
|
|
|
+ 3 * sizeof(float), &yflip, sizeof(yflip));
|
|
|
|
draw->coords = &blank_coords;
|
2017-02-20 20:51:24 +01:00
|
|
|
blank_coords.vertices = 4;
|
2020-02-16 15:10:07 +01:00
|
|
|
draw->prim_type = GFX_DISPLAY_PRIM_TRIANGLESTRIP;
|
2017-02-20 20:51:24 +01:00
|
|
|
break;
|
|
|
|
}
|
2016-04-25 13:56:12 +02:00
|
|
|
|
2016-05-08 11:11:28 +02:00
|
|
|
t += 0.01;
|
2016-04-25 13:56:12 +02:00
|
|
|
}
|
2020-09-26 23:51:59 +02:00
|
|
|
#endif
|
2016-04-25 13:56:12 +02:00
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
static void gfx_display_vk_draw(gfx_display_ctx_draw_t *draw,
|
2020-03-08 22:05:51 +01:00
|
|
|
void *data, unsigned video_width, unsigned video_height)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
|
|
|
unsigned i;
|
2016-02-21 09:57:24 +01:00
|
|
|
struct vk_buffer_range range;
|
|
|
|
struct vk_texture *texture = NULL;
|
|
|
|
const float *vertex = NULL;
|
|
|
|
const float *tex_coord = NULL;
|
|
|
|
const float *color = NULL;
|
|
|
|
struct vk_vertex *pv = NULL;
|
2020-03-08 22:05:51 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2016-04-15 04:48:07 +02:00
|
|
|
|
|
|
|
if (!vk || !draw)
|
2016-02-16 20:24:00 +01:00
|
|
|
return;
|
|
|
|
|
2020-09-11 13:19:07 +02:00
|
|
|
texture = (struct vk_texture*)draw->texture;
|
|
|
|
vertex = draw->coords->vertex;
|
|
|
|
tex_coord = draw->coords->tex_coord;
|
|
|
|
color = draw->coords->color;
|
2016-02-16 20:24:00 +01:00
|
|
|
|
|
|
|
if (!vertex)
|
2020-09-11 13:19:07 +02:00
|
|
|
vertex = &vk_vertexes[0];
|
2016-02-16 20:24:00 +01:00
|
|
|
if (!tex_coord)
|
2020-09-11 13:19:07 +02:00
|
|
|
tex_coord = &vk_tex_coords[0];
|
2016-04-15 04:43:48 +02:00
|
|
|
if (!draw->coords->lut_tex_coord)
|
2020-09-11 13:19:07 +02:00
|
|
|
draw->coords->lut_tex_coord = &vk_tex_coords[0];
|
2016-02-16 20:24:00 +01:00
|
|
|
if (!texture)
|
2020-09-11 13:19:07 +02:00
|
|
|
texture = &vk->display.blank_texture;
|
2017-02-20 20:51:24 +01:00
|
|
|
if (!color)
|
2020-09-11 13:19:07 +02:00
|
|
|
color = &vk_colors[0];
|
2016-02-16 20:24:00 +01:00
|
|
|
|
2020-10-03 18:37:53 +02:00
|
|
|
vk->vk_vp.x = draw->x;
|
|
|
|
vk->vk_vp.y = vk->context->swapchain_height - draw->y - draw->height;
|
|
|
|
vk->vk_vp.width = draw->width;
|
|
|
|
vk->vk_vp.height = draw->height;
|
|
|
|
vk->vk_vp.minDepth = 0.0f;
|
|
|
|
vk->vk_vp.maxDepth = 1.0f;
|
2018-02-16 19:42:13 +01:00
|
|
|
|
2020-10-03 18:37:53 +02:00
|
|
|
vk->tracker.dirty |= VULKAN_DIRTY_DYNAMIC_BIT;
|
2016-02-16 20:24:00 +01:00
|
|
|
|
|
|
|
/* Bake interleaved VBO. Kinda ugly, we should probably try to move to
|
|
|
|
* an interleaved model to begin with ... */
|
|
|
|
if (!vulkan_buffer_chain_alloc(vk->context, &vk->chain->vbo,
|
2020-09-24 06:37:25 +02:00
|
|
|
draw->coords->vertices * sizeof(struct vk_vertex), &range))
|
2016-02-16 20:24:00 +01:00
|
|
|
return;
|
|
|
|
|
|
|
|
pv = (struct vk_vertex*)range.data;
|
|
|
|
for (i = 0; i < draw->coords->vertices; i++, pv++)
|
|
|
|
{
|
2016-02-29 19:26:57 +01:00
|
|
|
pv->x = *vertex++;
|
2017-09-09 01:30:47 +02:00
|
|
|
/* Y-flip. Vulkan is top-left clip space */
|
2017-12-11 23:55:31 -08:00
|
|
|
pv->y = 1.0f - (*vertex++);
|
2016-02-29 19:26:57 +01:00
|
|
|
pv->tex_x = *tex_coord++;
|
|
|
|
pv->tex_y = *tex_coord++;
|
2016-02-16 20:24:00 +01:00
|
|
|
pv->color.r = *color++;
|
|
|
|
pv->color.g = *color++;
|
|
|
|
pv->color.b = *color++;
|
|
|
|
pv->color.a = *color++;
|
|
|
|
}
|
|
|
|
|
2020-08-14 15:58:43 +02:00
|
|
|
switch (draw->pipeline_id)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
2016-06-07 00:00:28 +02:00
|
|
|
#ifdef HAVE_SHADERPIPELINE
|
2016-05-08 11:11:28 +02:00
|
|
|
case VIDEO_SHADER_MENU:
|
2016-12-06 00:34:38 +01:00
|
|
|
case VIDEO_SHADER_MENU_2:
|
2016-12-12 15:02:43 +01:00
|
|
|
case VIDEO_SHADER_MENU_3:
|
2017-02-20 21:51:58 +01:00
|
|
|
case VIDEO_SHADER_MENU_4:
|
2017-02-20 22:59:05 -06:00
|
|
|
case VIDEO_SHADER_MENU_5:
|
2020-09-24 06:37:25 +02:00
|
|
|
{
|
|
|
|
struct vk_draw_triangles call;
|
2017-09-09 01:30:47 +02:00
|
|
|
|
2020-09-24 06:37:25 +02:00
|
|
|
call.pipeline = vk->display.pipelines[
|
2020-08-14 15:58:43 +02:00
|
|
|
to_menu_pipeline(draw->prim_type, draw->pipeline_id)];
|
2020-09-24 06:37:25 +02:00
|
|
|
call.texture = NULL;
|
|
|
|
call.sampler = VK_NULL_HANDLE;
|
|
|
|
call.uniform = draw->backend_data;
|
|
|
|
call.uniform_size = draw->backend_data_size;
|
|
|
|
call.vbo = ⦥
|
|
|
|
call.vertices = draw->coords->vertices;
|
|
|
|
|
|
|
|
vulkan_draw_triangles(vk, &call);
|
|
|
|
}
|
2017-02-20 20:51:24 +01:00
|
|
|
break;
|
2016-06-07 00:00:28 +02:00
|
|
|
#endif
|
2016-05-08 11:11:28 +02:00
|
|
|
|
|
|
|
default:
|
2020-09-24 06:37:25 +02:00
|
|
|
{
|
|
|
|
struct vk_draw_triangles call;
|
|
|
|
unsigned
|
|
|
|
disp_pipeline = ((draw->prim_type ==
|
|
|
|
GFX_DISPLAY_PRIM_TRIANGLESTRIP) << 1) |
|
|
|
|
(vk->display.blend << 0);
|
|
|
|
call.pipeline = vk->display.pipelines[disp_pipeline];
|
|
|
|
call.texture = texture;
|
|
|
|
call.sampler = texture->mipmap ?
|
|
|
|
vk->samplers.mipmap_linear :
|
|
|
|
(texture->default_smooth ? vk->samplers.linear
|
|
|
|
: vk->samplers.nearest);
|
|
|
|
call.uniform = draw->matrix_data
|
|
|
|
? draw->matrix_data : &vk->mvp_no_rot;
|
|
|
|
call.uniform_size = sizeof(math_matrix_4x4);
|
|
|
|
call.vbo = ⦥
|
|
|
|
call.vertices = draw->coords->vertices;
|
|
|
|
|
|
|
|
vulkan_draw_triangles(vk, &call);
|
|
|
|
}
|
2016-05-08 11:11:28 +02:00
|
|
|
break;
|
2016-02-16 20:24:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-08 21:02:03 +01:00
|
|
|
static void gfx_display_vk_blend_begin(void *data)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
2020-03-08 21:02:03 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2018-02-16 17:19:55 +01:00
|
|
|
|
|
|
|
if (vk)
|
|
|
|
vk->display.blend = true;
|
2016-02-16 20:24:00 +01:00
|
|
|
}
|
|
|
|
|
2020-03-08 21:02:03 +01:00
|
|
|
static void gfx_display_vk_blend_end(void *data)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
2020-03-08 21:02:03 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2018-02-16 17:19:55 +01:00
|
|
|
|
|
|
|
if (vk)
|
|
|
|
vk->display.blend = false;
|
2016-02-16 20:24:00 +01:00
|
|
|
}
|
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
static bool gfx_display_vk_font_init_first(
|
2016-02-16 20:24:00 +01:00
|
|
|
void **font_handle, void *video_data, const char *font_path,
|
2019-01-11 01:35:18 +01:00
|
|
|
float menu_font_size, bool is_threaded)
|
2016-02-16 20:24:00 +01:00
|
|
|
{
|
2016-10-18 20:07:00 -03:00
|
|
|
font_data_t **handle = (font_data_t**)font_handle;
|
|
|
|
*handle = font_driver_init_first(video_data,
|
2019-01-11 01:35:18 +01:00
|
|
|
font_path, menu_font_size, true,
|
2017-04-29 16:52:52 +02:00
|
|
|
is_threaded,
|
|
|
|
FONT_DRIVER_RENDER_VULKAN_API);
|
2016-10-18 20:07:00 -03:00
|
|
|
|
2017-12-06 19:51:07 +01:00
|
|
|
if (*handle)
|
|
|
|
return true;
|
|
|
|
|
|
|
|
return false;
|
2016-02-16 20:24:00 +01:00
|
|
|
}
|
|
|
|
|
2020-03-08 21:46:52 +01:00
|
|
|
static void gfx_display_vk_scissor_begin(
|
|
|
|
void *data,
|
|
|
|
unsigned video_width,
|
|
|
|
unsigned video_height,
|
2018-09-28 22:00:47 +02:00
|
|
|
int x, int y, unsigned width, unsigned height)
|
|
|
|
{
|
2020-03-08 21:46:52 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2018-09-28 22:00:47 +02:00
|
|
|
|
2019-01-10 22:24:43 +01:00
|
|
|
vk->tracker.use_scissor = true;
|
|
|
|
vk->tracker.scissor.offset.x = x;
|
|
|
|
vk->tracker.scissor.offset.y = y;
|
|
|
|
vk->tracker.scissor.extent.width = width;
|
2018-11-08 21:44:44 +01:00
|
|
|
vk->tracker.scissor.extent.height = height;
|
2019-01-10 22:24:43 +01:00
|
|
|
vk->tracker.dirty |= VULKAN_DIRTY_DYNAMIC_BIT;
|
2018-09-28 22:00:47 +02:00
|
|
|
}
|
|
|
|
|
2020-03-08 21:46:52 +01:00
|
|
|
static void gfx_display_vk_scissor_end(void *data,
|
|
|
|
unsigned video_width,
|
|
|
|
unsigned video_height)
|
2018-09-28 22:00:47 +02:00
|
|
|
{
|
2020-03-08 21:46:52 +01:00
|
|
|
vk_t *vk = (vk_t*)data;
|
2019-04-08 15:22:21 +02:00
|
|
|
|
2019-01-10 22:24:43 +01:00
|
|
|
vk->tracker.use_scissor = false;
|
|
|
|
vk->tracker.dirty |= VULKAN_DIRTY_DYNAMIC_BIT;
|
2018-09-28 22:00:47 +02:00
|
|
|
}
|
|
|
|
|
2020-02-16 15:10:07 +01:00
|
|
|
gfx_display_ctx_driver_t gfx_display_ctx_vulkan = {
|
|
|
|
gfx_display_vk_draw,
|
2020-09-26 23:51:59 +02:00
|
|
|
#ifdef HAVE_SHADERPIPELINE
|
2020-02-16 15:10:07 +01:00
|
|
|
gfx_display_vk_draw_pipeline,
|
2020-09-26 23:51:59 +02:00
|
|
|
#else
|
|
|
|
NULL, /* draw_pipeline */
|
|
|
|
#endif
|
2020-02-16 15:10:07 +01:00
|
|
|
gfx_display_vk_blend_begin,
|
|
|
|
gfx_display_vk_blend_end,
|
|
|
|
gfx_display_vk_get_default_mvp,
|
|
|
|
gfx_display_vk_get_default_vertices,
|
|
|
|
gfx_display_vk_get_default_tex_coords,
|
|
|
|
gfx_display_vk_font_init_first,
|
|
|
|
GFX_VIDEO_DRIVER_VULKAN,
|
2018-10-09 01:05:46 +02:00
|
|
|
"vulkan",
|
2018-09-20 14:48:07 +02:00
|
|
|
false,
|
2020-02-16 15:10:07 +01:00
|
|
|
gfx_display_vk_scissor_begin,
|
|
|
|
gfx_display_vk_scissor_end
|
2016-02-16 20:24:00 +01:00
|
|
|
};
|