projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add prof sigusr1 feature, tweak amdgup tooltip, fix colorpicker handle_new_color...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
performanceprefs.C
diff --git
a/cinelerra-5.1/cinelerra/performanceprefs.C
b/cinelerra-5.1/cinelerra/performanceprefs.C
index cb19f905672c1664f54e5e52edcbf78b93b2f5f0..687e7e482a4bbe0a4e5f94cb07bc07f70a296086 100644
(file)
--- a/
cinelerra-5.1/cinelerra/performanceprefs.C
+++ b/
cinelerra-5.1/cinelerra/performanceprefs.C
@@
-332,10
+332,19
@@
PrefsUseHWDev::PrefsUseHWDev(PreferencesWindow *pwindow,
void PrefsUseHWDev::create_objects()
{
BC_PopupTextBox::create_objects();
void PrefsUseHWDev::create_objects()
{
BC_PopupTextBox::create_objects();
+ set_tooltip(_("vdpau - Nvidia, Nouveau\n"
+ "vaapi - Broadcom, Intel HD graphics, Amdgpu, Radeon\n"
+ "cuda - Nvidia + Cuda SDK"));
hw_dev_names.append(new BC_ListBoxItem(_("none")));
hw_dev_names.append(new BC_ListBoxItem(_("none")));
+#ifdef HAVE_VAAPI
hw_dev_names.append(new BC_ListBoxItem("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("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]);
}
update_list(&hw_dev_names);
update(&pwindow->thread->preferences->use_hw_dev[0]);
}