[Mesa-dev] [PATCH] intel: Add 'mode' param to intel_region_map

Eric Anholt 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
about it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111017/1e19d6e8/attachment.pgp>


More information about the mesa-dev mailing list