[Mesa-dev] [PATCH] Add missing map range bits to the state tracker.

Brian Paul brian.e.paul at gmail.com
Fri Nov 26 13:06:47 PST 2010


2010/11/25 Mathias Fröhlich <Mathias.Froehlich at gmx.net>:
>
> Hi,
>
> I am not exactly sure about this one.
> But at least the the OpenGL state stracker misses the translation of the
> GL_MAP_INVALIDATE_*_BITs.
> I would guess that the attached patch is an appropriate tranlsation of these
> into the PIPE_TRANSFER_DISCARD flag.
>
> Please review/apply.
>

We don't have a gallium flag that directly corresponds to
GL_MAP_INVALIDATE_BUFFER_BIT but using PIPE_TRANSFER_DISCARD is
acceptable.  I'll commit the patch.  Thanks!

-Brian


More information about the mesa-dev mailing list