7#if defined(WITH_OPENCOLORIO)
25class LibOCIODisplay :
public Display {
28 const LibOCIOConfig *config_ =
nullptr;
33 CPUProcessorCache to_scene_linear_cpu_processor_;
34 CPUProcessorCache from_scene_linear_cpu_processor_;
37 LibOCIODisplay(
int index,
const LibOCIOConfig &config);
38 LibOCIODisplay(
const LibOCIODisplay &other) =
delete;
39 LibOCIODisplay(LibOCIODisplay &&other)
noexcept =
default;
41 ~LibOCIODisplay() =
default;
43 LibOCIODisplay &
operator=(
const LibOCIODisplay &other) =
delete;
44 LibOCIODisplay &
operator=(LibOCIODisplay &&other) =
default;
46 StringRefNull name()
const override
51 const View *get_default_view()
const override
55 return get_view_by_index(0);
58 const View *get_view_by_name(StringRefNull name)
const override;
59 int get_num_views()
const override;
60 const View *get_view_by_index(
int index)
const override;
62 const CPUProcessor *get_to_scene_linear_cpu_processor()
const override;
63 const CPUProcessor *get_from_scene_linear_cpu_processor()
const override;
65 MEM_CXX_CLASS_ALLOC_FUNCS(
"LibOCIOConfig");
static void View(GHOST_IWindow *window, bool stereo, int eye=0)
Read Guarded memory(de)allocation.
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)