Commit 6c15d45
Add view helper functions to Config class (#2083)
* Add view helper functions to Config class
Signed-off-by: annie <[email protected]>
* add view helper functions to Config class and unit tests
Signed-off-by: annie <[email protected]>
* add view helper functions as python bindings
Signed-off-by: annie <[email protected]>
* add unit tests for view helper py bindings
Signed-off-by: annie <[email protected]>
* update with style changes and comments
Signed-off-by: annie <[email protected]>
* comprehensive unit tests for ViewsAreEqual and displayHasView
Signed-off-by: annie <[email protected]>
* improved in-line comments for unit tests
Signed-off-by: annie <[email protected]>
* test suite for comparing virtual displays, fix to getVirtualDisplayViewTransformName when shared
Signed-off-by: annie <[email protected]>
* update briefs for ViewsAreEqual + VirtualViewsAreEqual, remove redunant lines in tests, add virtualViewIsShared checks to getVirtualView-related functions
Signed-off-by: annie <[email protected]>
* move virtual_display_exceptions test from tests/cpu/Config_tests.cpp to tests/cpu/Display_tests.cpp
Signed-off-by: annie <[email protected]>
* move display_view_order test from tests/cpu/Config_tests.cpp to tests/cpu/Display_tests.cpp
Signed-off-by: annie <[email protected]>
* add usage of viewIsShared to compare_displays test
Signed-off-by: annie <[email protected]>
* add test of clearSharedViews to basic test module in tests/cpu/Display_tests.cpp
Signed-off-by: annie <[email protected]>
* change configs for compare_virtual_displays in tests/cpu/Config_tests.cpp to use looks, rules, and description
Signed-off-by: annie <[email protected]>
* improve test cases for python config tests
Signed-off-by: annie <[email protected]>
* restore old tests to Config_tests.cpp and move new tests compare_displays, compare_virtual_displays to Display_tests.cpp
Signed-off-by: annie <[email protected]>
* add null/empty view name handling to viewIsShared and virtualViewIsShared
Signed-off-by: annie <[email protected]>
---------
Signed-off-by: annie <[email protected]>
Co-authored-by: Doug Walker <[email protected]>1 parent ac94d7b commit 6c15d45
File tree
6 files changed
+892
-7
lines changed- include/OpenColorIO
- src
- OpenColorIO
- bindings/python
- tests
- cpu
- python
6 files changed
+892
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
855 | 859 | | |
856 | 860 | | |
857 | 861 | | |
858 | 862 | | |
859 | 863 | | |
860 | 864 | | |
861 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
862 | 869 | | |
863 | 870 | | |
864 | 871 | | |
| |||
883 | 890 | | |
884 | 891 | | |
885 | 892 | | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
886 | 910 | | |
887 | 911 | | |
888 | 912 | | |
| |||
900 | 924 | | |
901 | 925 | | |
902 | 926 | | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
903 | 938 | | |
904 | 939 | | |
905 | 940 | | |
| |||
963 | 998 | | |
964 | 999 | | |
965 | 1000 | | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
966 | 1013 | | |
967 | 1014 | | |
968 | 1015 | | |
| |||
977 | 1024 | | |
978 | 1025 | | |
979 | 1026 | | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
980 | 1044 | | |
981 | 1045 | | |
982 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3305 | 3305 | | |
3306 | 3306 | | |
3307 | 3307 | | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
3308 | 3324 | | |
3309 | 3325 | | |
3310 | 3326 | | |
| |||
3358 | 3374 | | |
3359 | 3375 | | |
3360 | 3376 | | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
3361 | 3390 | | |
3362 | 3391 | | |
3363 | 3392 | | |
| |||
3487 | 3516 | | |
3488 | 3517 | | |
3489 | 3518 | | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
3490 | 3556 | | |
3491 | 3557 | | |
3492 | 3558 | | |
| |||
3525 | 3591 | | |
3526 | 3592 | | |
3527 | 3593 | | |
| 3594 | + | |
| 3595 | + | |
| 3596 | + | |
| 3597 | + | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
3528 | 3609 | | |
3529 | 3610 | | |
3530 | 3611 | | |
| |||
3695 | 3776 | | |
3696 | 3777 | | |
3697 | 3778 | | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
3698 | 3803 | | |
3699 | 3804 | | |
3700 | 3805 | | |
| |||
3795 | 3900 | | |
3796 | 3901 | | |
3797 | 3902 | | |
| 3903 | + | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
| 3908 | + | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
| 3925 | + | |
| 3926 | + | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
3798 | 3931 | | |
3799 | 3932 | | |
3800 | 3933 | | |
3801 | 3934 | | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
3802 | 3941 | | |
3803 | 3942 | | |
3804 | 3943 | | |
| |||
3812 | 3951 | | |
3813 | 3952 | | |
3814 | 3953 | | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
3815 | 3960 | | |
3816 | 3961 | | |
3817 | 3962 | | |
| |||
3825 | 3970 | | |
3826 | 3971 | | |
3827 | 3972 | | |
| 3973 | + | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
| 3978 | + | |
3828 | 3979 | | |
3829 | 3980 | | |
3830 | 3981 | | |
| |||
3838 | 3989 | | |
3839 | 3990 | | |
3840 | 3991 | | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
3841 | 3998 | | |
3842 | 3999 | | |
3843 | 4000 | | |
| |||
3851 | 4008 | | |
3852 | 4009 | | |
3853 | 4010 | | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
3854 | 4017 | | |
3855 | 4018 | | |
3856 | 4019 | | |
| |||
0 commit comments