mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
2aba50efa0
This is a massive refactoring because it collects all the renderops of all renderpasses into one long array in the Render object. Lots of code in there is still flaky and needs cleanup. That will follow in further commits. Other than that it does work fine though.
27 lines
1.8 KiB
C
27 lines
1.8 KiB
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_color_matrix_op (GskVulkanRender *render,
|
|
const char *clip_type,
|
|
GskVulkanImage *image,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect,
|
|
const graphene_matrix_t *color_matrix,
|
|
const graphene_vec4_t *color_offset);
|
|
|
|
void gsk_vulkan_color_matrix_op_opacity (GskVulkanRender *render,
|
|
const char *clip_type,
|
|
GskVulkanImage *image,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect,
|
|
float opacity);
|
|
|
|
|
|
G_END_DECLS
|
|
|