Blender Git Loki

Git Commits -> Revision 549d9f8

Revision 549d9f8 by Jeroen Bakker (master)
February 9, 2021, 07:12 (GMT)
Fix T81206: Do not limit gl texture size in image editor

This patch will show textures in the image editor with the maximum
available resolution determined by the GPU Hardware/Driver.
Currently the size is limited by the user preference texture size limit.

An image user can set the `IMA_SHOW_MAX_RESOLUTION` flag to request
gpu textures in the max supported resolution. When this flag isn't
set the gpu texture is limited by the user preference setting.

When the gl resolution limit is disabled the GPU texture is always
created for the max supported resolution.

Reviewed By: Cl�ment Foucault

Maniphest Tasks: T81206

Differential Revision: https://developer.blender.org/D9160

Commit Details:

Full Hash: 549d9f87276a20036372317b1f988c4d0ef8c40c
Parent Commit: eab9165
Lines Changed: +59, -20

9 Modified Paths:

/source/blender/blenkernel/intern/image_gpu.c (+26, -12) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+14, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/gpu/GPU_capabilities.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_capabilities.cc (+3, -2) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+2, -1) (Diff)
/source/blender/imbuf/intern/util_gpu.c (+4, -2) (Diff)
/source/blender/makesdna/DNA_image_types.h (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021