diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-15 16:08:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-15 16:56:47 +0300 |
commit | 6fb874369c31649de7232235b0114344bfdb8e92 (patch) | |
tree | 9530c3c1af9a54477eccb138725a23521a0bdc0d /source/blender | |
parent | 1af547a22399d2d98034fdbce31846e00574ca97 (diff) |
OpenCOlorIO: Add explicit linearSRGB -> sRGB lookup table
Previously converting from linear space to SRGB was doing rather
slow inverted 1D lookup. Adding explicit inverse LUT gives 20%
speedup of OpenGL render.
Next question is: why do we even bother with sRGB conversion here,
OpenGL is already in the proper space so in theory we can avoid
quite some color space conversions. In any case, having this case
optimized in nice anyway.
Diffstat (limited to 'source/blender')
0 files changed, 0 insertions, 0 deletions