From f85a7ab2055ddc8e2231a380f0c46e29e42c2072 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Mar 2025 15:37:53 +0100 Subject: Revert "WIP: use compute shader instead of graphics shader for better performance (especially on amd)" This reverts commit a41a32cb9079dc3c78414b7b0cdc68243333020d. --- src/encoder/video/software.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/encoder/video/software.c') diff --git a/src/encoder/video/software.c b/src/encoder/video/software.c index 627cdea..3649ff1 100644 --- a/src/encoder/video/software.c +++ b/src/encoder/video/software.c @@ -83,8 +83,8 @@ static void gsr_video_encoder_software_copy_textures_to_frame(gsr_video_encoder self->params.egl->glBindTexture(GL_TEXTURE_2D, 0); // cap_kms->kms.base.egl->eglSwapBuffers(cap_kms->kms.base.egl->egl_display, cap_kms->kms.base.egl->egl_surface); - //self->params.egl->glFlush(); - //self->params.egl->glFinish(); + self->params.egl->glFlush(); + self->params.egl->glFinish(); } static void gsr_video_encoder_software_get_textures(gsr_video_encoder *encoder, unsigned int *textures, int *num_textures, gsr_destination_color *destination_color) { -- cgit v1.2.3-70-g09d2