Re: [Mesa-dev] [PATCH 09/18] mesa: Refactor set_atomic_buffer_binding()

2014-02-13 Thread Francisco Jerez
Fredrik Höglund fred...@kde.org writes: Make set_atomic_buffer_binding() just update the binding, and move the code that does validation, flushes the vertices etc. into a new bind_atomic_buffer() function. If you add two short comments on the difference between set_atomic_buffer_binding() and

[Mesa-dev] [PATCH 09/18] mesa: Refactor set_atomic_buffer_binding()

2014-01-21 Thread Fredrik Höglund
Make set_atomic_buffer_binding() just update the binding, and move the code that does validation, flushes the vertices etc. into a new bind_atomic_buffer() function. --- src/mesa/main/bufferobj.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-)