From b8a521a785e1c40ef247e6536f284afd9e39922a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Mar 2025 15:38:05 +0100 Subject: Reapply "WIP: use compute shader instead of graphics shader for better performance (especially on amd)" This reverts commit f85a7ab2055ddc8e2231a380f0c46e29e42c2072. --- include/image_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/image_writer.h') diff --git a/include/image_writer.h b/include/image_writer.h index 400edd0..65e7497 100644 --- a/include/image_writer.h +++ b/include/image_writer.h @@ -25,7 +25,7 @@ typedef struct { } gsr_image_writer; bool gsr_image_writer_init_opengl(gsr_image_writer *self, gsr_egl *egl, int width, int height); -/* |memory| is taken as a reference */ +/* |memory| is taken as a reference. The data is expected to be in rgba8 format (8 bit rgba) */ bool gsr_image_writer_init_memory(gsr_image_writer *self, const void *memory, int width, int height); void gsr_image_writer_deinit(gsr_image_writer *self); -- cgit v1.2.3-70-g09d2