Files
gtk/gdk/gdkdmabuftextureprivate.h
Matthias Clasen b9a4d8b54d dmatexturebuilder: Support multiple planes
So far, this is just the API, the code that
creates textures doesn't use more than one
plane yet.
2023-10-05 17:54:25 -04:00

25 lines
1.1 KiB
C

#pragma once
#include "gdkdmabuftexture.h"
#include "gdkdmabuftexturebuilder.h"
#include "gdktextureprivate.h"
G_BEGIN_DECLS
GdkTexture * gdk_dmabuf_texture_new_from_builder (GdkDmabufTextureBuilder *builder,
GDestroyNotify destroy,
gpointer data);
unsigned int gdk_dmabuf_texture_get_fourcc (GdkDmabufTexture *texture);
guint64 gdk_dmabuf_texture_get_modifier (GdkDmabufTexture *texture);
int gdk_dmabuf_texture_get_fd (GdkDmabufTexture *texture,
int plane);
unsigned int gdk_dmabuf_texture_get_offset (GdkDmabufTexture *texture,
int plane);
unsigned int gdk_dmabuf_texture_get_stride (GdkDmabufTexture *texture,
int plane);
G_END_DECLS