GPU: automatically draw images with GLSL shader depending on resolution
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 20 Apr 2019 10:47:06 +0000 (12:47 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 20 Apr 2019 11:32:36 +0000 (13:32 +0200)
commit7cbb8f20a4b479380dac1d2a2f7c7f85ede408be
tree3c5b5a91f2cdc2eb285cfa41886053366337ff11
parented0c9654ddfdcbe19d8094d4b4a43f0f06d9ee5c
GPU: automatically draw images with GLSL shader depending on resolution

This adds a new "Automatic" image display method which uses GLSL shaders for
most images. It only does CPU side color management for higher res images
where sending big float buffers to the GPU is likely to be a bottleneck or
cause memory usage problem.

Automatic is the default now, previously it was 2D Texture.
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenloader/intern/versioning_userdef.c
source/blender/editors/include/BIF_glutil.h
source/blender/editors/render/render_internal.c
source/blender/editors/screen/glutil.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesrna/intern/rna_userdef.c