Changes to image draw method options
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Apr 2013 15:50:12 +0000 (15:50 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Apr 2013 15:50:12 +0000 (15:50 +0000)
commitcabe929b2a3d6ec34abff49e07961cc1ceb39a15
tree698058c4ce93fd02af051da87c2c2d408e569ac8
parent511e3466da62389ac318d631ddce45a87e5f2408
Changes to image draw method options

It's now default to 2D textures, and no AUTO mode at this
moment, since detecting which method is the best not so
simple.

Image drawing could manually be switched to GLSL for tests
and feedback, but for default GLSL is not so much great.

Reason of this is huge images, where operations like panning
becomes dead slow comparing GLSL vs. 2D texture.
source/blender/editors/interface/resources.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