Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-11-16 11:44:41 +0300
committerJeroen Bakker <jeroen@blender.org>2020-11-17 11:33:47 +0300
commit2e1498ff16198742ba543004fd9c2c49083a6095 (patch)
treee50c81ef564d9e7d91006a0c1417c2b1a29f3cd6 /source/blender/editors/space_graph/graph_select.c
parent75bd286813eb5e3c227696b4cfd5616b17166641 (diff)
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
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
0 files changed, 0 insertions, 0 deletions