Blender Git Commit Log

Git Commits -> Revision df0bce3

Revision df0bce3 by Jeroen Bakker (master)
February 8, 2021, 14:44 (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: df0bce3f7d0a91310ca88814a80e339f3da6c2c9
Parent Commit: bb0b250
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021