mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 06:40:08 +00:00
44fe51247c
Pass the ccs, opacity and GdkColor to the op to let it make decisions about color conversion. Update the callers.
29 lines
1.8 KiB
C
29 lines
1.8 KiB
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_blur_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GdkColorState *ccs,
|
|
float opacity,
|
|
const graphene_point_t *offset,
|
|
const GskGpuShaderImage *image,
|
|
const graphene_vec2_t *blur_direction);
|
|
|
|
void gsk_gpu_blur_shadow_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GdkColorState *ccs,
|
|
float opacity,
|
|
const graphene_point_t *offset,
|
|
const GskGpuShaderImage *image,
|
|
const graphene_vec2_t *blur_direction,
|
|
const GdkColor *shadow_color);
|
|
|
|
|
|
G_END_DECLS
|
|
|