Blender Git Loki

Git Commits -> Revision e3e23f7

Revision e3e23f7 by Sergey Sharybin (master)
January 25, 2016, 13:13 (GMT)
ImBuf: Make luminance calculation inlined

Title actually tells it all, it is rather simple function which totally makes
sense to be inlined.

This gives up to 5% of speedup when updating scopes for a large image.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1310

Commit Details:

Full Hash: e3e23f774697782424647d8a12792dbc768501ad
Parent Commit: 83c9109
Lines Changed: +94, -44

1 Added Path:

/source/blender/imbuf/intern/colormanagement_inline.c (+65, -0) (View)

6 Modified Paths:

/source/blender/blenlib/BLI_compiler_compat.h (+12, -0) (Diff)
/source/blender/blenlib/BLI_utildefines.h (+0, -12) (Diff)
/source/blender/imbuf/CMakeLists.txt (+7, -0) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+6, -2) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+2, -30) (Diff)
/source/blender/imbuf/intern/IMB_colormanagement_intern.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021