mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
db2029d931
This op queues a download of an image. The image will only be available once the commands finished executing, so it requires waiting for the render to finish, which makes the API a bit awkward. Included is also a download_png_op() useful for debugging.
19 lines
976 B
C
19 lines
976 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_download_op (GskVulkanRender *render,
|
|
GskVulkanImage *image,
|
|
GskVulkanDownloadFunc func,
|
|
gpointer user_data);
|
|
|
|
void gsk_vulkan_download_png_op (GskVulkanRender *render,
|
|
GskVulkanImage *image,
|
|
const char *filename_format,
|
|
...) G_GNUC_PRINTF(3, 4);
|
|
|
|
G_END_DECLS
|
|
|