From ebc8c69bacb7c8aa7fd1ccebddc281760a11b88e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 27 Sep 2024 03:03:09 +0200 Subject: Add vulkan video encoding option (-k h264_vulkan). WIP, not fully hardware accelerated yet --- include/egl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/egl.h') diff --git a/include/egl.h b/include/egl.h index 3fdbf48..82014b9 100644 --- a/include/egl.h +++ b/include/egl.h @@ -313,6 +313,9 @@ struct gsr_egl { void (*glUniform2f)(int location, float v0, float v1); void (*glDebugMessageCallback)(GLDEBUGPROC callback, const void *userParam); void (*glScissor)(int x, int y, int width, int height); + void (*glReadPixels)(int x, int y, int width, int height, unsigned int format, unsigned int type, void *pixels); + void* (*glMapBuffer)(unsigned int target, unsigned int access); + unsigned char (*glUnmapBuffer)(unsigned int target); }; bool gsr_egl_load(gsr_egl *self, Display *dpy, bool wayland, bool is_monitor_capture); -- cgit v1.2.3