2023-09-18 05:51:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
|
|
|
|
#include <graphene.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
void gsk_gpu_blur_op (GskGpuFrame *frame,
|
2023-12-31 05:44:16 +00:00
|
|
|
GskGpuShaderClip clip,
|
|
|
|
GskGpuDescriptors *desc,
|
|
|
|
guint32 descriptor,
|
|
|
|
const graphene_rect_t *rect,
|
|
|
|
const graphene_point_t *offset,
|
|
|
|
const graphene_rect_t *tex_rect,
|
|
|
|
const graphene_vec2_t *blur_direction);
|
|
|
|
|
|
|
|
void gsk_gpu_blur_shadow_op (GskGpuFrame *frame,
|
2023-09-18 05:51:14 +00:00
|
|
|
GskGpuShaderClip clip,
|
2023-10-03 19:04:21 +00:00
|
|
|
GskGpuDescriptors *desc,
|
|
|
|
guint32 descriptor,
|
2023-09-18 05:51:14 +00:00
|
|
|
const graphene_rect_t *rect,
|
|
|
|
const graphene_point_t *offset,
|
|
|
|
const graphene_rect_t *tex_rect,
|
|
|
|
const graphene_vec2_t *blur_direction,
|
2023-12-31 05:44:16 +00:00
|
|
|
const GdkRGBA *shadow_color);
|
2023-09-18 05:51:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|