mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
7cf7870254
Instead of creating the op manually, just pass in the renderpass and have the op created from there. This way ops aren't really initialized anymore, they are more appended to the queue, so instead of foo_op_init() we can just call the function foo_op().
13 lines
307 B
C
13 lines
307 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_scissor_op (GskVulkanRenderPass *render_pass,
|
|
const cairo_rectangle_int_t *rect);
|
|
|
|
|
|
G_END_DECLS
|
|
|