This requires changing the gradient ops again too, so we can pass GskColorStop2 arrays to them.
27 lines
1.5 KiB
C
27 lines
1.5 KiB
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include "gskrendernodeprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_conic_gradient_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GdkColorState *ccs,
|
|
float opacity,
|
|
const graphene_point_t *offset,
|
|
GdkColorState *ics,
|
|
GskHueInterpolation hue_interp,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *center,
|
|
float angle,
|
|
const GskColorStop2 *stops,
|
|
gsize n_stops);
|
|
|
|
|
|
G_END_DECLS
|
|
|