mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
WIP: use compute shader instead of graphics shader for better performance (especially on amd)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user