Files
OpenColorIO/tests/cpu/UnitTestOptimFlags.h
Bernard LefebvreandPatrick Hodoul e38fec8dc3 Adsk Contrib - Improve op finalization (#986)
* Review ops finalization.
- ops are only finalized once.
- clarify LUT inversion
- move direction to MatrixOpData and RangeOpData
- change how FixedFunction surround inverse is saved

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix build after merge from main.
- adjust gpu test set-up.
- expose new api function to python.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>
2020-04-22 08:48:12 -04:00

18 lines
360 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenColorIO Project.
#include <string>
class OCIOOptimizationFlagsEnvGuard
{
public:
OCIOOptimizationFlagsEnvGuard() = delete;
OCIOOptimizationFlagsEnvGuard(const char * value);
~OCIOOptimizationFlagsEnvGuard();
private:
std::string m_optimizationFlagEnv{ "" };
};