2023-10-09 20:11:04 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-10-09 20:19:59 +00:00
|
|
|
#include "gdkdmabuftexture.h"
|
|
|
|
|
2023-10-09 20:11:04 +00:00
|
|
|
#include "gdkdmabuftexturebuilder.h"
|
2023-10-15 03:21:23 +00:00
|
|
|
#include "gdkdmabufprivate.h"
|
2023-10-09 20:11:04 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2023-10-15 03:21:23 +00:00
|
|
|
const GdkDmabuf * gdk_dmabuf_texture_builder_get_dmabuf (GdkDmabufTextureBuilder *builder);
|
2023-10-09 20:11:04 +00:00
|
|
|
|
2023-10-09 20:19:59 +00:00
|
|
|
GdkTexture * gdk_dmabuf_texture_new_from_builder (GdkDmabufTextureBuilder *builder,
|
|
|
|
GDestroyNotify destroy,
|
2023-10-14 19:57:15 +00:00
|
|
|
gpointer data,
|
|
|
|
GError **error);
|
2023-10-09 20:19:59 +00:00
|
|
|
|
2023-10-17 02:18:59 +00:00
|
|
|
GdkDisplay * gdk_dmabuf_texture_get_display (GdkDmabufTexture *self);
|
2023-10-15 03:21:23 +00:00
|
|
|
const GdkDmabuf * gdk_dmabuf_texture_get_dmabuf (GdkDmabufTexture *self);
|
2023-10-09 20:19:59 +00:00
|
|
|
|
2023-10-09 20:11:04 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|