projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/cinelerra-5.1/cinelerra/performanceprefs.C
b/cinelerra-5.1/cinelerra/performanceprefs.C
index cb19f905672c1664f54e5e52edcbf78b93b2f5f0..c00ca7324229154137a65d500027cc5744e04a42 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, Amdgpu\n"
+ "vaapi - Broadcom, Intel HD graphics, 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]);
}