meta: Convert _mesa_meta_bind_fbo_image to take a gl_framebuffer instead of a GL...
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 13 Nov 2015 01:05:27 +0000 (17:05 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 1 Mar 2016 19:07:19 +0000 (11:07 -0800)
commitf69c743069b65fa58196875a0c5a74e4160acc86
tree407d76b654bef1b988e365ed1d0696d8f3fc019c
parentac222626adfc7a03bf537deba66bad5e57b2c91d
meta: Convert _mesa_meta_bind_fbo_image to take a gl_framebuffer instead of a GL API handle

Also change the name of the function to
_mesa_meta_framebuffer_texture_image.  The function is basically a
wrapper around _mesa_framebuffer_texture (which is used to implement
glFramebufferTexture1D and friends), so it makes sense for it's name to
be similar to that.

The next patch will clean _mesa_meta_framebuffer_texture_image up
considerably.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_copy_image.c
src/mesa/drivers/common/meta_generate_mipmap.c
src/mesa/drivers/common/meta_tex_subimage.c