mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
cfe0da1eed
We want to differentiate between CLEAR, DONT_CARE and LOAD in the future, and the current boolean doesn't allow that. Also implement support for the the different ops in the Vulkan renderpass code.
23 lines
1.1 KiB
C
23 lines
1.1 KiB
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
|
|
#include "gsktypes.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_render_pass_begin_op (GskGpuFrame *frame,
|
|
GskGpuImage *image,
|
|
const cairo_rectangle_int_t *area,
|
|
GskGpuLoadOp load_op,
|
|
float clear_color[4],
|
|
GskRenderPassType pass_type);
|
|
void gsk_gpu_render_pass_end_op (GskGpuFrame *frame,
|
|
GskGpuImage *image,
|
|
GskRenderPassType pass_type);
|
|
|
|
G_END_DECLS
|
|
|