mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
a2e46c4d39
It is only used by the nodeprocessor, so put it where it belongs.
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
|
|
#include "gsktypes.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* We only need this for the final VkImageLayout, but don't tell anyone */
|
|
typedef enum
|
|
{
|
|
GSK_RENDER_PASS_OFFSCREEN,
|
|
GSK_RENDER_PASS_PRESENT
|
|
} GskRenderPassType;
|
|
|
|
void gsk_gpu_render_pass_begin_op (GskGpuFrame *frame,
|
|
GskGpuImage *image,
|
|
const cairo_rectangle_int_t *area,
|
|
GskRenderPassType pass_type);
|
|
void gsk_gpu_render_pass_end_op (GskGpuFrame *frame,
|
|
GskGpuImage *image,
|
|
GskRenderPassType pass_type);
|
|
|
|
G_END_DECLS
|
|
|