[Mesa-dev] [PATCH 1/2] mesa: use GL_MAP_INVALIDATE_RANGE_BIT in glTexImage paths

Eric Anholt eric at anholt.net
Wed Jan 18 10:00:13 PST 2012


On Tue, 17 Jan 2012 08:19:44 -0700, Brian Paul <brianp at vmware.com> wrote:
> Update the dd.h docs to indicate that GL_MAP_INVALIDATE_RANGE_BIT
> can be used with GL_MAP_WRITE_BIT when mapping renderbuffers and
> texture images.
> 
> Pass the flag when mapping texture images for glTexImage, glTexSubImage,
> etc.  It's up to drivers whether to actually make use of the flag.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20120118/e6212b73/attachment.pgp>


More information about the mesa-dev mailing list