Commit ebb5c3c0 authored by Jehan's avatar Jehan

app: move OpenCL settings into the Playground.

After discussions on IRC, it was decided that our current level of
support of OpenCL was not good enough. As a normal settings, people just
see it as a normal acceleration checkbox, even despite the warning text
and emoticone saying the opposite (i.e. it may even slow things down in
some cases).
Basically this feature needs more love to be back into mainstream
Preferences.

(cherry picked from commit 0f806d0e)
parent a0c1a2cc
......@@ -1201,20 +1201,6 @@ prefs_dialog_new (Gimp *gimp,
GTK_TABLE (table), 5, size_group);
#endif /* ENABLE_MP */
/* Hardware Acceleration */
vbox2 = prefs_frame_new (_("Hardware Acceleration"), GTK_CONTAINER (vbox),
FALSE);
prefs_check_button_add (object, "use-opencl",
_("Use O_penCL"),
GTK_BOX (vbox2));
hbox = prefs_hint_box_new (GIMP_ICON_DIALOG_WARNING,
_("OpenCL drivers and support are experimental, "
"expect slowdowns and possible crashes "
"(please report)."));
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
/* Internet access */
#ifdef CHECK_UPDATE
vbox2 = prefs_frame_new (_("Network access"), GTK_CONTAINER (vbox),
......@@ -1641,8 +1627,23 @@ prefs_dialog_new (Gimp *gimp,
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
/* Hardware Acceleration */
vbox2 = prefs_frame_new (_("Hardware Acceleration"), GTK_CONTAINER (vbox),
FALSE);
hbox = prefs_hint_box_new (GIMP_ICON_DIALOG_WARNING,
_("OpenCL drivers and support are experimental, "
"expect slowdowns and possible crashes "
"(please report)."));
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
prefs_check_button_add (object, "use-opencl",
_("Use O_penCL"),
GTK_BOX (vbox2));
/* Very unstable tools */
vbox2 = prefs_frame_new (_("Insane Options"),
GTK_CONTAINER (vbox), TRUE);
GTK_CONTAINER (vbox), FALSE);
button = prefs_check_button_add (object, "playground-npd-tool",
_("_N-Point Deformation tool"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment