gtk/gsk/gpu/gskgpuprintprivate.h
Benjamin Otte 6e4a526ddf gpu: Add a blend mode shader
I'm a bit unsure about using the zero rect in the fallback situtation
where one image doesn't exist, but it seems to work.

This removes the last pattern-only rendernode and with that the last
fallback usage with disabled ubershader.
2024-01-07 07:22:53 +01:00

36 lines
2.8 KiB
C

#pragma once
#include "gskgputypesprivate.h"
#include "gskroundedrect.h"
#include <cairo.h>
#include <graphene.h>
void gsk_gpu_print_indent (GString *string,
guint indent);
void gsk_gpu_print_op (GString *string,
guint indent,
const char *op_name);
void gsk_gpu_print_newline (GString *string);
void gsk_gpu_print_string (GString *string,
const char *s);
void gsk_gpu_print_enum (GString *string,
GType type,
int value);
void gsk_gpu_print_rect (GString *string,
const float rect[4]);
void gsk_gpu_print_int_rect (GString *string,
const cairo_rectangle_int_t *rect);
void gsk_gpu_print_rounded_rect (GString *string,
const float rect[12]);
void gsk_gpu_print_rgba (GString *string,
const float rgba[4]);
void gsk_gpu_print_image (GString *string,
GskGpuImage *image);
void gsk_gpu_print_image_descriptor (GString *string,
GskGpuDescriptors *desc,
guint32 descriptor);