Blender Git Loki

Git Commits -> Revision e749643

Revision e749643 by Clément Foucault (master)
July 29, 2020, 13:03 (GMT)
GPU: Refactor gpu_texture_image to not use GL calls

This is also a bit of code cleanup, reorganisation.

Tried to be DRYed but avoid too much code change to (hopefully) minimize
breakage.

- GPU: remove TEXTARGET_CUBE_MAP, this is no longer used in the codebase.
- GPUTexture: Move compressed texture upload to gpu_texture.cc
- GPUTexture: Add per texture Anisotropic filtering switch

Commit Details:

Full Hash: e749643793809248dfc6ffd078be04aec3eeab82
Parent Commit: e4ee9de
Lines Changed: +597, -1059

11 Modified Paths:

/source/blender/gpu/GPU_draw.h (+0, -10) (Diff)
/source/blender/gpu/GPU_texture.h (+12, -4) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+83, -126) (Diff)
/source/blender/gpu/intern/gpu_texture_image.cc (+490, -907) (Diff)
/source/blender/gpu/intern/gpu_texture_smoke.cc (+0, -1) (Diff)
/source/blender/makesdna/DNA_image_types.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_movieclip_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+2, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021