-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adsk contrib - Update builtin config and add studio builtin config (#…
…1713) * - Modifying the CG builtin config and updating the code accordingly. I named the config without the RC2 in order to minimize the changes once the stable release in available. Signed-off-by: Cedrik Fuoco <[email protected]> * - Adding Studio config Signed-off-by: Cedrik Fuoco <[email protected]> * - Updated config to stable version - Added some variables for string const Signed-off-by: Cedrik Fuoco <[email protected]> * Fixing a unit test since it was using the previous CG config and the config changed. Signed-off-by: Cédrik Fuoco <[email protected]> Signed-off-by: Cedrik Fuoco <[email protected]> Signed-off-by: Cédrik Fuoco <[email protected]> Signed-off-by: Cédrik Fuoco <[email protected]> Co-authored-by: Doug Walker <[email protected]>
- Loading branch information
1 parent
4f4e522
commit cac1ba5
Showing
17 changed files
with
1,683 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// Copyright Contributors to the OpenColorIO Project. | ||
|
||
// The file extension cpp (instead of an header .h) was used here to highlight the fact that | ||
// this file should not be included more then ONCE in OCIO. | ||
|
||
constexpr char STUDIO_CONFIG_V100_ACES_V13_OCIO_V21[] = { | ||
@studio-config-v1.0.0_aces-v1.3_ocio-v2.1@ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// Copyright Contributors to the OpenColorIO Project. | ||
|
||
#include <OpenColorIO/OpenColorIO.h> | ||
#include "builtinconfigs/BuiltinConfigRegistry.h" | ||
#include "builtinconfigs/StudioConfig.h" | ||
|
||
#include "Studio.cpp" | ||
|
||
namespace OCIO_NAMESPACE | ||
{ | ||
// Create the built-in configs for all versions of the OCIO Studio config for ACES. | ||
// For backwards compatibility, previous versions are kept in the registry but the | ||
// isRecommended flag should be set to false. | ||
|
||
namespace STUDIOCONFIG | ||
{ | ||
void Register(BuiltinConfigRegistryImpl & registry) noexcept | ||
{ | ||
registry.addBuiltin( | ||
"studio-config-v1.0.0_aces-v1.3_ocio-v2.1", | ||
"Academy Color Encoding System - Studio Config [COLORSPACES v1.0.0] [ACES v1.3] [OCIO v2.1]", | ||
STUDIO_CONFIG_V100_ACES_V13_OCIO_V21, | ||
true | ||
); | ||
} | ||
|
||
} // namespace STUDIOCONFIG | ||
} // namespace OCIO_NAMESPACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// Copyright Contributors to the OpenColorIO Project. | ||
|
||
|
||
#ifndef INCLUDED_OCIO_STUDIOCONFIG_H | ||
#define INCLUDED_OCIO_STUDIOCONFIG_H | ||
|
||
|
||
#include <OpenColorIO/OpenColorIO.h> | ||
#include "builtinconfigs/BuiltinConfigRegistry.h" | ||
|
||
namespace OCIO_NAMESPACE | ||
{ | ||
|
||
class BuiltinConfigRegistryImpl; | ||
|
||
namespace STUDIOCONFIG | ||
{ | ||
void Register(BuiltinConfigRegistryImpl & registry) noexcept; | ||
} // namespace STUDIOCONFIG | ||
|
||
} // namespace OCIO_NAMESPACE | ||
|
||
#endif // INCLUDED_OCIO_STUDIOCONFIG_H |
Oops, something went wrong.