diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-29 17:08:32 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-09-10 13:16:10 -0400 |
commit | 4e7a8707cce75b4cdc046581ec0c1cc7c0c26e02 (patch) | |
tree | 34d086a258df5567d832e28d4622e19ec3517354 /include/util/time.h | |
parent | 105fdecd0cd893c4ae1e21f78c67404f70859af8 (diff) |
buffer: add data_ptr access flags
This allows callers to specify the operations they'll perform on
the returned data pointer. The motivations for this are:
- The upcoming Linux MAP_NOSIGBUS flag may only be usable on
read-only mappings.
- gbm_bo_map with GBM_BO_TRANSFER_READ hurts performance.
Diffstat (limited to 'include/util/time.h')
0 files changed, 0 insertions, 0 deletions