59 const char *libunity_names[] = {
60 "libunity.so.4",
"libunity.so.6",
"libunity.so.9",
"libunity.so",
nullptr};
61 for (
int i = 0; libunity_names[i]; i++) {
73 "unity_launcher_entry_get_for_desktop_id");
75 fprintf(stderr,
"failed to load libunity: %s\n", dlerror());
79 "unity_launcher_entry_set_progress");
81 fprintf(stderr,
"failed to load libunity: %s\n", dlerror());
87 fprintf(stderr,
"failed to load libunity: %s\n", dlerror());
92 fprintf(stderr,
"failed to load libunity: %s\n", dlerror());
114 return (handle !=
nullptr);
typedef double(DMatrix)[4][4]
static unity_event_loop_t unity_event_loop
void(*)(void *, double) unity_set_progress_t
static bool libunity_available
int(*)(void *, int) unity_event_loop_t
void(*)(void *, int) unity_set_progress_visible_t
static unity_set_progress_visible_t unity_set_progress_visible
static bool libunity_initialized
void *(*)(const char *) unity_get_entry_t
static unity_set_progress_t unity_set_progress
static unity_get_entry_t unity_get_entry
static void * libunity_handle
GHOST_TaskBarX11(const char *name)
void set_progress(double progress)
void set_progress_enabled(bool enabled)
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int