diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-29 13:27:20 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-29 13:29:10 +0100 |
commit | a41a32cb9079dc3c78414b7b0cdc68243333020d (patch) | |
tree | 5776bf16deb9f4e18cf744d474e0d1f0dc19c081 /src/encoder/video/software.c | |
parent | 634a563bc0e7d23040e70f90e7ccc498aa7db41e (diff) |
WIP: use compute shader instead of graphics shader for better performance (especially on amd)
Diffstat (limited to 'src/encoder/video/software.c')
-rw-r--r-- | src/encoder/video/software.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoder/video/software.c b/src/encoder/video/software.c index 3649ff1..627cdea 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) { |