From a41a32cb9079dc3c78414b7b0cdc68243333020d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Mar 2025 13:27:20 +0100 Subject: WIP: use compute shader instead of graphics shader for better performance (especially on amd) --- 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