Re: [Mesa-dev] [PATCH 3/3] mesa: use internal function when deleting buffers

2017-04-05 Thread Brian Paul
For the series, Reviewed-by: Brian Paul BTW, it looks like we need to add bunch of other buffer types in _mesa_update_default_objects_buffer_objects(). -Brian On 04/04/2017 07:41 PM, Timothy Arceri wrote: This avoids validation and looking up the buffer for a second time. --- src/mesa/ma

Re: [Mesa-dev] [PATCH 3/3] mesa: use internal function when deleting buffers

2017-04-05 Thread Nicolai Hähnle
On 05.04.2017 03:41, Timothy Arceri wrote: This avoids validation and looking up the buffer for a second time. s/buffer/buffer target/? The buffer itself isn't looked up. Apart from this, the series is Reviewed-by: Nicolai Hähnle --- src/mesa/main/bufferobj.c | 32 --

[Mesa-dev] [PATCH 3/3] mesa: use internal function when deleting buffers

2017-04-04 Thread Timothy Arceri
This avoids validation and looking up the buffer for a second time. --- src/mesa/main/bufferobj.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 9669f8a..d9aee58 100644 --- a/src/mes