Revert "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"

This reverts commit a41a32cb90.
This commit is contained in:
dec05eba
2025-03-29 15:37:53 +01:00
parent a41a32cb90
commit f85a7ab205
18 changed files with 746 additions and 331 deletions

View File

@@ -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) {