[Mesa-dev] [PATCH] intel: Add 'mode' param to intel_region_map
eric at anholt.net
Mon Oct 17 08:48:03 PDT 2011
On Mon, 17 Oct 2011 07:40:57 -0700, Chad Versace <chad at chad-versace.us> wrote:
> The 'mode' param is a bitset of GL_MAP_READ_BIT, GL_MAP_WRITE_BIT.
> A future commit will perform buffer resolves in intel_region_map(). So,
> even though the access mode is irrelevant to the GTT, the extra
> information allows us to intelligently avoid unneccessary buffer resolves.
The bitfields in here aren't necessarily the minimums, but given that I
plan on replacing the two spans calls to it soon now, I'm not worried
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev