<para>
If set, selects the GSK renderer to use. The following renderers can
- be selected, provided they are included in the GSK libraries you are using:
+ be selected, provided they are included in the GTK library you are using
+ and the GDK backend supports them:
<variablelist>
<varlistentry>
- <term>vulkan</term>
- <listitem><para>Selects the Vulkan renderer</para></listitem>
+ <term>help</term>
+ <listitem><para>Prints information about available options</para></listitem>
</varlistentry>
<varlistentry>
- <term>gl</term>
- <listitem><para>Selects the Vulkan renderer</para></listitem>
+ <term>broadway</term>
+ <listitem><para>Selects the Broadway-backend specific renderer</para></listitem>
</varlistentry>
<varlistentry>
<term>cairo</term>
- <listitem><para>Selects the cairo renderer</para></listitem>
+ <listitem><para>Selects the fallback Cairo renderer</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>gl</term>
+ <listitem><para>Selects the default OpenGL renderer</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>vulkan</term>
+ <listitem><para>Selects the Vulkan renderer</para></listitem>
</varlistentry>
</variablelist>
{
if (renderer_name == NULL)
return G_TYPE_INVALID;
+#ifdef GDK_WINDOWING_BROADWAY
+ else if (g_ascii_strcasecmp (renderer_name, "broadway") == 0)
+ return GSK_TYPE_BROADWAY_RENDERER;
+#endif
else if (g_ascii_strcasecmp (renderer_name, "cairo") == 0)
return GSK_TYPE_CAIRO_RENDERER;
else if (g_ascii_strcasecmp (renderer_name, "opengl") == 0
else if (g_ascii_strcasecmp (renderer_name, "help") == 0)
{
g_print ("Supported arguments for GSK_RENDERER environment variable:\n");
+#ifdef GDK_WINDOWING_BROADWAY
+ g_print ("broadway - Use the Broadway specific renderer\n");
+#else
+ g_print ("broadway - disabled during GTK build\n");
+#endif
g_print (" cairo - Use the Cairo fallback renderer\n");
g_print (" opengl - Use the default OpenGL renderer\n");
#ifdef GDK_RENDERING_VULKAN
g_print (" vulkan - Use the Vulkan renderer\n");
+#else
+ g_print (" vulkan - Disabled during GTK build\n");
#endif
g_print (" help - Print this help\n\n");
g_print ("Other arguments will cause a warning and be ignored.\n");