aboutsummaryrefslogtreecommitdiff
path: root/include/color_conversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/color_conversion.h')
-rw-r--r--include/color_conversion.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h
index 07b29f6..8bfe599 100644
--- a/include/color_conversion.h
+++ b/include/color_conversion.h
@@ -20,6 +20,11 @@ typedef enum {
} gsr_destination_color;
typedef struct {
+ int offset;
+ int rotation;
+} gsr_color_uniforms;
+
+typedef struct {
gsr_egl *egl;
gsr_source_color source_color;
@@ -33,7 +38,7 @@ typedef struct {
typedef struct {
gsr_color_conversion_params params;
- int rotation_uniforms[2];
+ gsr_color_uniforms uniforms[2];
gsr_shader shaders[2];
unsigned int framebuffers[2];