Add vulkan video encoding option (-k h264_vulkan). WIP, not fully hardware accelerated yet

This commit is contained in:
dec05eba
2024-09-27 03:03:09 +02:00
parent 412cf0dbae
commit ebc8c69bac
14 changed files with 435 additions and 38 deletions

View File

@@ -499,6 +499,9 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
{ (void**)&self->glUniform2f, "glUniform2f" },
{ (void**)&self->glDebugMessageCallback, "glDebugMessageCallback" },
{ (void**)&self->glScissor, "glScissor" },
{ (void**)&self->glReadPixels, "glReadPixels" },
{ (void**)&self->glMapBuffer, "glMapBuffer" },
{ (void**)&self->glUnmapBuffer, "glUnmapBuffer" },
{ NULL, NULL }
};