Blender Git Commit Log
Git Commits -> Revision 2e1498f
Revision 2e1498f by Jeroen Bakker (master) November 17, 2020, 08:33 (GMT) |
Fix T82042: Crash when rendering huge images Crash is related to the definition of the GL_MAX_TEXTURE_SIZE. OpenGL does not clearly defined `GL_MAX_TEXTURE_SIZE` exactly means. Both on AMD and NVIDIA we have issues with huge textures that they don't get created even if they are smaller. (See {D9530} for research). This patch will try to create the texture in a smaller size when the texture creation failed. Final implementation by: Cl�ment Foucault We should create a solution that doesn't need downscaling. For this specific case ARB_sparse_texture might help to create cleaner code, but you still have to commit the whole image what introduces several draw calls. Other improvement is to optimize the scaling; current implementation isn't optimized for performance. Reviewed By: Cl�ment Foucault Differential Revision: https://developer.blender.org/D9524 |
Commit Details:
Full Hash: 2e1498ff16198742ba543004fd9c2c49083a6095
Parent Commit: 75bd286
Lines Changed: +9, -3
1 Modified Path:
/source/blender/imbuf/intern/util_gpu.c (+9, -3) (Diff)