Commit 27447f5
Adsk contrib - Built-in configurations (#1659)
* First version of built-in configs feature
Signed-off-by: Cedrik Fuoco <[email protected]>
* Generating configs header into generated_include folder
Signed-off-by: Cedrik Fuoco <[email protected]>
* Added comments, move some code, added a test for public interface, changed how CG.h get generated and other minors fixes
Signed-off-by: Cedrik Fuoco <[email protected]>
* Adding support for ocio://default and a unit test for it
Signed-off-by: Cedrik Fuoco <[email protected]>
* Renamed methods to get align with BuiltinConfig class name and to remove confusion with Config class.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Refactor the test suite for Built-in config and comments/descriptions changes
Signed-off-by: Cedrik Fuoco <[email protected]>
* Adding guard for setenv, added two tests and other minor changes
Signed-off-by: Cedrik Fuoco <[email protected]>
* Added readme file to help add a new config, minors fixes, changed some built-in config unit tests and created a generic guard for set/unset env.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fix some coding styles and remove try catch that was not really needed.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Updating setenv/unset to the guard pattern in config_tests module.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Python bindings
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fixing styling issues and minor modifications in python unit tests
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fixing problem with test_create_builtin_config
Signed-off-by: Cedrik Fuoco <[email protected]>
* Remove the check for the number of colorspaces in the python tests for now - only checking the name, removed readme and fix issue around config begin null in test by adding a OCIO_REQUIRE_ASSERT.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fixing styling and comments issues and adding back the tests for the number of colorspaces using len().
Signed-off-by: Cedrik Fuoco <[email protected]>
* missing spaces in comments.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Adding display name and getBuiltinConfigUIName.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fix a few issues with the builds - Replacing get_filename_component/NAME_WLE by a regex, replacing assetRaisesRegex with a combination of assertRaises/assertEqual and fixing the link issue with Doxygen in OpenColorIO.h
Signed-off-by: Cedrik Fuoco <[email protected]>
* Adding missing comment and changing "displayName" to "uiName" to remove confusion within ocio
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fixing build issue on Linux and Mac : config string was not null terminated
Signed-off-by: Cedrik Fuoco <[email protected]>
* minor fixes
Signed-off-by: Cedrik Fuoco <[email protected]>
* A more Pythonic interface
Signed-off-by: Cedrik Fuoco <[email protected]>
* Adding more information into the tuple and modified corresponding tests.
Signed-off-by: Cedrik Fuoco <[email protected]>
* returning reference instead of smart pointer as it is not needed.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Removed getNumBuiltinConfig from python binding since we have iterator and modified __contains__ magic method to not throw exception.
Signed-off-by: Cedrik Fuoco <[email protected]>
* Fix wrong type in for loop. (linux and mac issue)
Signed-off-by: Cedrik Fuoco <[email protected]>
Co-authored-by: Doug Walker <[email protected]>1 parent 06601f0 commit 27447f5
File tree
23 files changed
+1662
-89
lines changed- include/OpenColorIO
- src
- OpenColorIO
- builtinconfigs
- configs
- bindings/python
- tests
- cpu
- builtinconfigs
- python
23 files changed
+1662
-89
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
264 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
265 | 274 | | |
266 | 275 | | |
267 | 276 | | |
268 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
269 | 294 | | |
270 | 295 | | |
271 | 296 | | |
| |||
3294 | 3319 | | |
3295 | 3320 | | |
3296 | 3321 | | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
3297 | 3392 | | |
3298 | 3393 | | |
3299 | 3394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
212 | 254 | | |
213 | 255 | | |
214 | 256 | | |
| |||
220 | 262 | | |
221 | 263 | | |
222 | 264 | | |
| 265 | + | |
| 266 | + | |
223 | 267 | | |
224 | 268 | | |
225 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
1100 | 1103 | | |
1101 | 1104 | | |
1102 | 1105 | | |
| 1106 | + | |
| 1107 | + | |
1103 | 1108 | | |
1104 | 1109 | | |
1105 | 1110 | | |
| |||
1117 | 1122 | | |
1118 | 1123 | | |
1119 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
1120 | 1140 | | |
1121 | 1141 | | |
1122 | 1142 | | |
| |||
1134 | 1154 | | |
1135 | 1155 | | |
1136 | 1156 | | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1137 | 1171 | | |
1138 | 1172 | | |
1139 | 1173 | | |
| |||
0 commit comments