mesa: Add helper functions for looking up multiple buffers
authorFredrik Höglund <fredrik@kde.org>
Fri, 15 Nov 2013 18:47:20 +0000 (19:47 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 00:53:26 +0000 (02:53 +0200)
commit28d7335810c2419fa6931260c30717dcf618109a
treec4ccfefe848d3084180116140c494d9cee4ac6dd
parent19f7eeb6fb7a690c6c2fd43259813070a1e5ee2d
mesa: Add helper functions for looking up multiple buffers

v2: Document the difference between _mesa_lookup_bufferobj() and
    _mesa_multi_bind_lookup_bufferobj().
v3: Don't create the buffer objects when they don't exist.

Reviewed-by: Brian Paul <brianp@vmware.com> (v2)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v2)
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h