mesa: Turn need_rgb_to_luminance_conversion() in to a global function
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 1 May 2015 07:05:18 +0000 (00:05 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 15 Jun 2015 16:07:28 +0000 (09:07 -0700)
commitba2b1f8668811eade97a4f134f6df900ff36c8aa
treecffec0996c9e9253d24204de180a6fd454211a36
parent0b13adcd0802d1ad60f625e7e557d2090a7c143e
mesa: Turn need_rgb_to_luminance_conversion() in to a global function

This will be used by _mesa_meta_pbo_GetTexSubImage() in a later patch.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/readpix.c
src/mesa/main/readpix.h