Cleanup: remove image->bindcode, always wrap in GPUTexture.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 11 Jun 2018 20:30:59 +0000 (22:30 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 11 Jun 2018 21:24:04 +0000 (23:24 +0200)
commit1dc93f90a003e0b8fa723994101a93dd1a41e0fa
tree843069e944ab2f2e36c534fa0ce0a2d5d0cf8d22
parent1d111cd046b051efe71c6863b1c4a65233c45ac9
Cleanup: remove image->bindcode, always wrap in GPUTexture.

This simplifies code, and will hopefully make UDIM usage of GPUTexture
a little easier.
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/intern/image.c
source/blender/blenloader/intern/readfile.c
source/blender/gpu/GPU_draw.h
source/blender/gpu/GPU_texture.h
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_texture.c
source/blender/makesdna/DNA_image_types.h
source/blender/makesrna/intern/rna_image.c
source/blender/makesrna/intern/rna_image_api.c