diff options
Diffstat (limited to 'gsk/gl/opbuffer.h')
-rw-r--r-- | gsk/gl/opbuffer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gsk/gl/opbuffer.h b/gsk/gl/opbuffer.h index a2236dd7a1..08f48b7c5f 100644 --- a/gsk/gl/opbuffer.h +++ b/gsk/gl/opbuffer.h @@ -41,6 +41,7 @@ typedef enum OP_CHANGE_BLEND = 27, OP_CHANGE_GL_SHADER_ARGS = 28, OP_CHANGE_EXTRA_SOURCE_TEXTURE = 29, + OP_CHANGE_CONIC_GRADIENT = 30, OP_LAST } OpKind; @@ -158,6 +159,14 @@ typedef struct typedef struct { + ColorStopUniformValue color_stops; + IntUniformValue n_color_stops; + float center[2]; + float rotation; +} OpConicGradient; + +typedef struct +{ const graphene_matrix_t *matrix; Vec4UniformValue offset; } OpColorMatrix; |