New feature:
authorTon Roosendaal <ton@blender.org>
Sun, 17 Mar 2013 14:38:58 +0000 (14:38 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 17 Mar 2013 14:38:58 +0000 (14:38 +0000)
commit0a4b030145fdad2b36290454bbd3ba37406d4f9a
tree2d3434c6e2f70a5c30fedeb8b5afdaf733876014
parent50c28740d4a18a77dc71cd31722a0607faad676d
New feature:

Automatic switching for drawing pixel buffers via glDrawPixels or using GPU textures

It works with a User Preference limit, in megapixels, to define whether to use
GPU or direct pixel drawing. Default is now initialized to 10 MP (4k buffers).

Especially for zooming out (draw smaller) texture drawing is much smaller. Also
Nvidia cards typically draw much faster with textures in general.

Added to node backdrop first now, the other editors follow in a next commit.

For coders: added new DNA function to initialize new struct variables, so you
don't have to sub-version files anymore.

   DNA_struct_elem_find(fd->filesdna, "structname", "typename", "varname")

"filesdna" is the sdna description of the current file being versioned.
source/blender/blenkernel/BKE_main.h
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/BIF_glutil.h
source/blender/editors/screen/glutil.c
source/blender/editors/space_node/drawnode.c
source/blender/makesdna/DNA_genfile.h
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesdna/intern/dna_genfile.c
source/blender/makesrna/intern/rna_userdef.c