Blender Git Commit Log

Git Commits -> Revision 88b7292

Revision 88b7292 by Sergey Sharybin (master)
May 5, 2016, 17:46 (GMT)
Optimize linear<->sRGB conversion for SSE2 processors

Using SSE2 intrinsics when available for this kind of conversions.

It's not totally accurate, but accurate enough for the purposes where
we're using direct colorspace conversion by-passing OCIO.

Partially based on code from Cycles, partially based on other online
articles:

https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent

Makes projection painting on hi-res float textures smoother.

This commit also enables global SSE2 in Blender. It shouldn't
bring any regressions in supported hardware (we require SSE2 since
2.64 now), but should keep an eye on because compilers might have
some bugs with that (unlikely, but possible).

Commit Details:

Full Hash: 88b72925d0ef59dc0d67df05f4ad74742175653c
Parent Commit: bb6fbc6
Lines Changed: +171, -22

4 Modified Paths:

/CMakeLists.txt (+11, -11) (Diff)
/source/blender/blenlib/intern/math_base_inline.c (+98, -0) (Diff)
/source/blender/blenlib/intern/math_color_inline.c (+62, -6) (Diff)
/source/blender/compositor/CMakeLists.txt (+0, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021