meta: Move bind_fbo_image() code back to meta.c, to reuse it elsewhere.
authorEric Anholt <eric@anholt.net>
Mon, 17 Mar 2014 23:26:42 +0000 (16:26 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Apr 2014 21:34:22 +0000 (14:34 -0700)
commitcd808ac848227b850a80c1adbb43ce57ca7d673a
treeec6dc850e427bf7a4984edefe0e6df362b39e4f8
parent4cc42805e72d7edba0599f4d45099b4ed97ec185
meta: Move bind_fbo_image() code back to meta.c, to reuse it elsewhere.

I need to do the same code again for CopyTexSubImage().

v2: Drop incorrect, not-terribly-useful comment (review by Ken)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_generate_mipmap.c