diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:38:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:38:05 +0100 |
commit | b8a521a785e1c40ef247e6536f284afd9e39922a (patch) | |
tree | 5776bf16deb9f4e18cf744d474e0d1f0dc19c081 /include/image_writer.h | |
parent | f85a7ab2055ddc8e2231a380f0c46e29e42c2072 (diff) |
Reapply "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"
This reverts commit f85a7ab2055ddc8e2231a380f0c46e29e42c2072.
Diffstat (limited to 'include/image_writer.h')
-rw-r--r-- | include/image_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |