mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
gbm: Make documentation for gbm_bo_map more explicit
Reviewed-by: Simon Ser <contact@emersion.fr> Signed-off-by: stefan11111 <stefan11111@shitposting.expert> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39097>
This commit is contained in:
parent
78e1f53429
commit
ed3e035773
1 changed files with 4 additions and 3 deletions
|
|
@ -603,10 +603,11 @@ gbm_bo_import(struct gbm_device *gbm,
|
|||
* \param height The height of the mapped region for the buffer
|
||||
* \param flags The union of the GBM_BO_TRANSFER_* flags for this buffer
|
||||
* \param stride Ptr for returned stride in bytes of the mapped region
|
||||
* \param map_data Returned opaque ptr for the mapped region
|
||||
* \param map_data Returned opaque ptr for the mapped region that should
|
||||
* be passed to gbm_bo_unmap() when the mapped buffer is no longer needed.
|
||||
* *map_data must be a %NULL pointer.
|
||||
*
|
||||
* \return Address of the mapped buffer that should be unmapped with
|
||||
* gbm_bo_unmap() when no longer needed. On error, %NULL is returned
|
||||
* \return Address of the mapped buffer. On error, %NULL is returned
|
||||
* and errno is set.
|
||||
*
|
||||
* \sa enum gbm_bo_transfer_flags for the list of flags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue