mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 18:31:09 +00:00
11a0646281
The API was using regions because it always had. But all the code ever did was get the extents of the region. So simplify everything by using rectangles everywhere.
26 lines
1012 B
C
26 lines
1012 B
C
#pragma once
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <gsk/gskrendernode.h>
|
|
|
|
#include "gskvulkanbufferprivate.h"
|
|
#include "gskvulkanprivate.h"
|
|
#include "gskvulkanrenderprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
GskVulkanRenderPass * gsk_vulkan_render_pass_new (void);
|
|
|
|
void gsk_vulkan_render_pass_free (GskVulkanRenderPass *self);
|
|
|
|
void gsk_vulkan_render_pass_add (GskVulkanRenderPass *self,
|
|
GskVulkanRender *render,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
cairo_rectangle_int_t *clip,
|
|
GskRenderNode *node);
|
|
|
|
G_END_DECLS
|
|
|