mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
f3ffa99f6a
Pass the ccs, opacity and GdkColors to the op to let it make decisions about color conversion. Also, reorder the offset to follow the same order as the color ops. Update the callers.
24 lines
1.2 KiB
C
24 lines
1.2 KiB
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
#include "gsktypes.h"
|
|
#include "gdkcolorprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_border_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GdkColorState *ccs,
|
|
float opacity,
|
|
const graphene_point_t *offset,
|
|
const GskRoundedRect *outline,
|
|
const graphene_point_t *inside_offset,
|
|
const float widths[4],
|
|
const GdkColor colors[4]);
|
|
|
|
|
|
G_END_DECLS
|
|
|