Commit Graph

14 Commits

Author SHA1 Message Date
35d3b6316b D627: Memory usage optimization for the compositor.
The compostor used a fixed size of 4 floats to hold pixel data. this
patch will select size of a pixel based on its type.
It uses 1 float for Value, 3 float for vector and 4 floats for color
data types.

When benchmarking on shots (opening shot of caminandes) we get a
reduction of memory of 30% and a tiny speedup as less data
transformations needs to take place (but these are negligable.

More information of the patch can be found on
https://developer.blender.org/D627 and
http://wiki.blender.org/index.php/Dev:Ref/Proposals/Compositor2014_p1.1_TD

Developers: jbakker & mdewanchand
Thanks for Sergey for his indept review.
2015-01-19 18:17:50 +01:00
617557b08e Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define 2014-04-01 15:22:28 +11:00
c1c26c36f6 Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
7579a9ec37 code cleanup: double promotions 2012-11-04 10:20:16 +00:00
d724d0adfe code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations 2012-09-16 00:26:36 +00:00
d1db16b5d3 Fix corrupted frames producing by fog glare node
Seems to be simple non-initialized buffer used in math, but additional
check would be welcome here.

At least now result doesn't seems to be corrupted and seems to behaving
the same way as non-tile compositor.
2012-07-24 09:00:58 +00:00
993dfd7d2a add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmax 2012-07-12 08:31:23 +00:00
8b865c01cd style cleanup: comments 2012-06-30 22:49:33 +00:00
813348a4ee code cleanup: replace most fRGB functions with inline vector functions 2012-06-14 19:22:55 +00:00
47950325a4 minor change to r47872, multiply both values as unsigned ints before converting to float. 2012-06-14 10:03:23 +00:00
ee65cd7685 style cleanup 2012-06-14 09:40:36 +00:00
e8d48b187b Compositor Compile Fix (Windows):
* sqrtf only takes floats as arguments.
2012-06-14 08:53:37 +00:00
fac417a3ba Fixed glares 2012-06-14 03:11:36 +00:00
cc82653b72 Matched FogGlow with old implementation 2012-06-14 01:32:45 +00:00