[PATCH 6/7] glamor: Mark a bunch of single-file data static.

2015-06-30 Thread Eric Anholt
This gives the compiler a chance to optimize when the data is never changed -- for example, with pict_format_combine_tab, the compiler ends up inlining the 24 bytes of data into just 10 more bytes of code. Signed-off-by: Eric Anholt --- glamor/glamor_core.c| 2 +- glamor/glamor_program.c | 8

Re: [PATCH 6/7] glamor: Mark a bunch of single-file data static.

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt wrote: > This gives the compiler a chance to optimize when the data is never > changed -- for example, with pict_format_combine_tab, the compiler > ends up inlining the 24 bytes of data into just 10 more bytes of code. > > Signed-off-by: Eric Anholt R