wayland/dma-buf: Fix offset, stride types
These parameters are uint32_t in the Wayland protocol so make them uint32_t here as well. https://gitlab.gnome.org/GNOME/mutter/merge_requests/615
This commit is contained in:
parent
9cd3b07472
commit
1d144486d1
@ -3,7 +3,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016 Red Hat Inc.
|
* Copyright (C) 2016 Red Hat Inc.
|
||||||
* Copyright (C) 2017 Intel Corporation
|
* Copyright (C) 2017 Intel Corporation
|
||||||
* Copyright (C) 2018 DisplayLink (UK) Ltd.
|
* Copyright (C) 2018,2019 DisplayLink (UK) Ltd.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
@ -59,8 +59,8 @@ struct _MetaWaylandDmaBufBuffer
|
|||||||
uint64_t drm_modifier;
|
uint64_t drm_modifier;
|
||||||
bool is_y_inverted;
|
bool is_y_inverted;
|
||||||
int fds[META_WAYLAND_DMA_BUF_MAX_FDS];
|
int fds[META_WAYLAND_DMA_BUF_MAX_FDS];
|
||||||
int offsets[META_WAYLAND_DMA_BUF_MAX_FDS];
|
uint32_t offsets[META_WAYLAND_DMA_BUF_MAX_FDS];
|
||||||
unsigned int strides[META_WAYLAND_DMA_BUF_MAX_FDS];
|
uint32_t strides[META_WAYLAND_DMA_BUF_MAX_FDS];
|
||||||
};
|
};
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaWaylandDmaBufBuffer, meta_wayland_dma_buf_buffer, G_TYPE_OBJECT);
|
G_DEFINE_TYPE (MetaWaylandDmaBufBuffer, meta_wayland_dma_buf_buffer, G_TYPE_OBJECT);
|
||||||
|
Loading…
Reference in New Issue
Block a user