mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 20:30:11 +00:00
d11886e7ac
Have one variation for colorizing to a shadow color and another variation that just blurs.
31 lines
2.0 KiB
C
31 lines
2.0 KiB
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_blur_op (GskGpuFrame *frame,
|
|
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,
|
|
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,
|
|
const GdkRGBA *shadow_color);
|
|
|
|
|
|
G_END_DECLS
|
|
|