meta: Add a BlitFramebuffers-based implementation of TexSubImage
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Jan 2015 02:17:04 +0000 (18:17 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Jan 2015 18:36:24 +0000 (10:36 -0800)
commit7f396189f073d626c5f7a2c232dac92b65f5a23f
tree313b3463cd09b4db9a48f4b6d4c04195f470dc70
parente24d17e08cb19bbecadb22ed43b25eeec26cde27
meta: Add a BlitFramebuffers-based implementation of TexSubImage

This meta path, designed for use with PBO's, creates a temporary texture
out of the PBO and uses BlitFramebuffers to do the actual texture upload.

v2 Jason Ekstrand <jason.ekstrand@intel.com>:
 - Add support for handling simple packing options

v3 Jason Ekstrand <jason.ekstrand@intel.com>:
 - Refactor to split out the texture-from-pbo code
 - Rename to _mesa_meta_pbo_TexSubImage

Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/Makefile.sources
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_tex_subimage.c [new file with mode: 0644]