diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:34:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:34:29 +0100 |
commit | b0de8588f2f4a5204e9bc22218eed884fa741153 (patch) | |
tree | 6089c4688e9e65ce1f0d1ac3ee9709a020e0d942 /include/utils.h | |
parent | f63409bdd758b80f3a4e414fd5cb5526e384c93a (diff) |
Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time
Diffstat (limited to 'include/utils.h')
-rw-r--r-- | include/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index 22bc4cf..fd340e8 100644 --- a/include/utils.h +++ b/include/utils.h @@ -69,4 +69,6 @@ bool vaapi_copy_egl_image_to_video_surface(gsr_egl *egl, EGLImage image, vec2i s vec2i scale_keep_aspect_ratio(vec2i from, vec2i to); +unsigned int gl_create_texture(gsr_egl *egl, int width, int height, int internal_format, unsigned int format, int filter); + #endif /* GSR_UTILS_H */ |