mesa: Add QueryBuffer to context
authorRafal Mielniczuk <rafal.mielniczuk2@gmail.com>
Thu, 27 Mar 2014 20:59:04 +0000 (21:59 +0100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 5 Feb 2016 02:21:30 +0000 (21:21 -0500)
commit2d0ec0c272d7b05c782802d32ff1993e8532307f
treed995ff3ca04d0f5629c94c0dee6c67c10a3b4703
parentc5bab061dadea5627e8535a651ac5318bde9dad1
mesa: Add QueryBuffer to context

Add QueryBuffer and initialise it to NullBufferObj on start

Signed-off-by: Rafal Mielniczuk <rafal.mielniczuk2@gmail.com>
[imirkin: also release QueryBuffer on free]
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/bufferobj.c
src/mesa/main/mtypes.h