mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
268ad54c6a
There's multiple uses I want it for: 1. Generating the box-shadow area for blurring 2. Generating masks for rounded-rect masking 3. Optimizing the common use case of rounded-clip + color Only the last one is implemented in this commit.
19 lines
720 B
C
19 lines
720 B
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
#include "gsktypes.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_rounded_color_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
const GskRoundedRect *outline,
|
|
const graphene_point_t *offset,
|
|
const GdkRGBA *color);
|
|
|
|
|
|
G_END_DECLS
|
|
|