diff options
author | Keith Packard | 2007-12-16 22:16:50 -0600 |
---|---|---|
committer | Keith Packard | 2007-12-21 14:16:29 -0600 |
commit | d1187641d64f442968a3b9ea6a19de6cdd45acd4 (patch) | |
tree | d90398789d325eb265a5680f83dabfc898210e04 /libdrm/xf86mm.h | |
parent | 37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5 (diff) | |
download | libdrm-d1187641d64f442968a3b9ea6a19de6cdd45acd4.tar.gz libdrm-d1187641d64f442968a3b9ea6a19de6cdd45acd4.tar.xz libdrm-d1187641d64f442968a3b9ea6a19de6cdd45acd4.zip |
Rename inappropriately named 'mask' fields to 'proposed_flags' instead.
Flags pending validation were stored in a misleadingly named field, 'mask'.
As 'mask' is already used to indicate pieces of a flags field which are
changing, it seems better to use a name reflecting the actual purpose of
this field. I chose 'proposed_flags' as they may not actually end up in
'flags', and in an case will be modified when they are moved over.
This affects the API, but not ABI of the user-mode interface.
Diffstat (limited to 'libdrm/xf86mm.h')
-rw-r--r-- | libdrm/xf86mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h index d3df8497..c80288a7 100644 --- a/libdrm/xf86mm.h +++ b/libdrm/xf86mm.h | |||
@@ -110,7 +110,7 @@ typedef struct _drmBO | |||
110 | unsigned handle; | 110 | unsigned handle; |
111 | uint64_t mapHandle; | 111 | uint64_t mapHandle; |
112 | uint64_t flags; | 112 | uint64_t flags; |
113 | uint64_t mask; | 113 | uint64_t proposedFlags; |
114 | unsigned mapFlags; | 114 | unsigned mapFlags; |
115 | unsigned long size; | 115 | unsigned long size; |
116 | unsigned long offset; | 116 | unsigned long offset; |