From: Mathias Fröhlich
Instead of each context having its own map instance for
this purpose, use a global static const map.
v2: s,unsigned char,GLubyte,g
s,_VP_MODE_MAX,VP_MODE_MAX,g
Change comment style.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_context.c| 23 ++---
Hi Brian,
On Wednesday, 31 January 2018 17:55:37 CET Brian Paul wrote:
> I wonder if it wouldn't be better to just use a small inline fnction to
> do this mapping. It may be faster to evaluate than to do a memory lookup.
>
> static inline enum vbo_attrib
> vbo_attribute_alias_map(enum vp_mode m
On 01/31/2018 12:55 AM, mathias.froehl...@gmx.net wrote:
From: Mathias Fröhlich
Instead of each context having its own map instance for
this purpose, use a global static const map.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_context.c| 23 ++
src/mesa/vbo/vbo_exec.
From: Mathias Fröhlich
Instead of each context having its own map instance for
this purpose, use a global static const map.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_context.c| 23 ++
src/mesa/vbo/vbo_exec.c | 74 +++
src