meta: Put _mesa_meta_in_progress in the header file
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Nov 2014 14:14:14 +0000 (14:14 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 00:55:53 +0000 (16:55 -0800)
commit3f1f1d0df460b719f7569b679083a07b9fb8e706
tree17f8d3b1aaa7a0c3d94d24b41917d24eda7ce6e9
parent3167a80bb1119616b70fbbcf2661d3fb511a6034
meta: Put _mesa_meta_in_progress in the header file

...so that it can be inlined in the two places that call it.

On Bay Trail-D using Fedora 20 compile flags (-m64 -O2 -mtune=generic
for 64-bit and -m32 -march=i686 -mtune=atom for 32-bit), affects
Gl32Batch7:

32-bit: No difference proven at 95.0% confidence (n=120)
64-bit: Difference at 95.0% confidence 1.24042% +/- 0.382277% (n=40)

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h