Document the GSK_RENDERER environment variable
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 May 2018 02:06:35 +0000 (22:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 7 May 2018 11:47:18 +0000 (07:47 -0400)
Just the usual pre-release doc fixups.

docs/reference/gtk/running.sgml

index e10028226fa32020b15d2d1972679d691befbc31..fdf2da81d9490ac80d98a91755ffca92e6483683 100644 (file)
@@ -162,10 +162,10 @@ additional environment variables.
     Linux and Unix, and the ';' character on Windows.
   </para>
   <warning>
-    Note that this environment variable is read by GTK+ 2.x too, which
-    makes it unsuitable for setting it system-wide (or session-wide),
-    since doing so will cause either GTK+ 2.x applications or GTK+ 3
-    applications to see incompatible modules.
+    Note that this environment variable is read by GTK+ 2.x and GTK+ 3.x too,
+    which makes it unsuitable for setting it system-wide (or session-wide),
+    since doing so will cause applications using different GTK+ versions
+    to see incompatible modules.
   </warning>
 </formalpara>
 
@@ -453,6 +453,33 @@ nevertheless.
   </para>
 </formalpara>
 
+<formalpara>
+  <title><envar>GSK_RENDERER</envar></title>
+
+  <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:
+    <variablelist>
+
+      <varlistentry>
+        <term>vulkan</term>
+        <listitem><para>Selects the Vulkan renderer</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>gl</term>
+        <listitem><para>Selects the Vulkan renderer</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>cairo</term>
+        <listitem><para>Selects the cairo renderer</para></listitem>
+      </varlistentry>
+
+    </variablelist>
+  </para>
+</formalpara>
+
 <formalpara>
   <title><envar>GTK_CSD</envar></title>