hard edges rework, add hard edge in gwdw, config.ac nv/cuda tweaks, message log warn...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / performanceprefs.C
index cb19f905672c1664f54e5e52edcbf78b93b2f5f0..c00ca7324229154137a65d500027cc5744e04a42 100644 (file)
@@ -332,10 +332,19 @@ PrefsUseHWDev::PrefsUseHWDev(PreferencesWindow *pwindow,
 void PrefsUseHWDev::create_objects()
 {
        BC_PopupTextBox::create_objects();
+       set_tooltip(_("vdpau - Nvidia, Nouveau, Amdgpu\n"
+               "vaapi - Broadcom, Intel HD graphics, Radeon\n"
+               "cuda  - Nvidia + Cuda SDK"));
        hw_dev_names.append(new BC_ListBoxItem(_("none")));
+#ifdef HAVE_VAAPI
        hw_dev_names.append(new BC_ListBoxItem("vaapi"));
+#endif
+#ifdef HAVE_VDPAU
        hw_dev_names.append(new BC_ListBoxItem("vdpau"));
-       hw_dev_names.append(new BC_ListBoxItem(""));
+#endif
+#ifdef HAVE_NV
+       hw_dev_names.append(new BC_ListBoxItem("cuda"));
+#endif
        update_list(&hw_dev_names);
        update(&pwindow->thread->preferences->use_hw_dev[0]);
 }