diff options
Diffstat (limited to 'lib/libdrm/xf86drmMode.h')
-rw-r--r-- | lib/libdrm/xf86drmMode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libdrm/xf86drmMode.h b/lib/libdrm/xf86drmMode.h index 4de7bbbe5..1a02fed43 100644 --- a/lib/libdrm/xf86drmMode.h +++ b/lib/libdrm/xf86drmMode.h @@ -369,6 +369,13 @@ extern int drmModeAddFB2(int fd, uint32_t width, uint32_t height, uint32_t pixel_format, uint32_t bo_handles[4], uint32_t pitches[4], uint32_t offsets[4], uint32_t *buf_id, uint32_t flags); + +/* ...with format modifiers */ +int drmModeAddFB2WithModifiers(int fd, uint32_t width, uint32_t height, + uint32_t pixel_format, uint32_t bo_handles[4], + uint32_t pitches[4], uint32_t offsets[4], + uint64_t modifier[4], uint32_t *buf_id, uint32_t flags); + /** * Destroies the given framebuffer. */ |