Re: [Mesa-dev] [PATCH 37/41] glapi: glX_proto_send.py: simplify XCB string conversion

2016-04-19 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 03/31/2016 05:04 PM, Dylan Baker wrote: > This makes the function a little simpler by using a special case for the > initial "ARB", and just walking the str as a sequence rather than > indexing into it. > > It also uses a list to join rather than overw

[Mesa-dev] [PATCH 37/41] glapi: glX_proto_send.py: simplify XCB string conversion

2016-03-31 Thread Dylan Baker
This makes the function a little simpler by using a special case for the initial "ARB", and just walking the str as a sequence rather than indexing into it. It also uses a list to join rather than overwritting a str over and over again. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_prot