Blender Git Commit Log

Git Commits -> Revision 0a4b030

Revision 0a4b030 by Ton Roosendaal (master)
March 17, 2013, 14:38 (GMT)
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.



Commit Details:

Full Hash: 0a4b030145fdad2b36290454bbd3ba37406d4f9a
SVN Revision: 55354
Parent Commit: 50c2874
Lines Changed: +89, -62

9 Modified Paths:

/source/blender/blenkernel/BKE_main.h (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+33, -7) (Diff)
/source/blender/editors/include/BIF_glutil.h (+9, -1) (Diff)
/source/blender/editors/screen/glutil.c (+16, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -53) (Diff)
/source/blender/makesdna/DNA_genfile.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -1) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+16, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021