docs: Document new environment variables
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Apr 2023 17:52:56 +0000 (13:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 Apr 2023 17:52:56 +0000 (13:52 -0400)
Add GSK_MAX_TEXTURE_SIZE and GDK_DEBUG=gl-fractional
to the docs.

docs/reference/gtk/running.md

index fd2821e3b22178bdfa621c2a282426ca9e32d1d2..de7fb00b703182abd6a4fd547955d03a272fb923 100644 (file)
@@ -211,6 +211,9 @@ A number of options affect behavior instead of logging:
 `gl-disable`
 : Disable OpenGL support
 
+`gl-fractional`
+: Enable fractional scaling for OpenGL. This is experimental
+
 `gl-legacy`
 : Use a legacy OpenGL context
 
@@ -368,6 +371,13 @@ to rememdy this on the GTK side; the best bet before trying the above
 workarounds is to try to update your graphics drivers and Nahimic
 installation.
 
+### `GSK_MAX_TEXTURE_SIZE`
+
+Limit texture size to the minimum of this value and the OpenGL limit
+for texture sizes. This can be used to debug issues with texture slicing
+on systems where the OpenGL texture size limit would otherwise make
+texture slicing difficult to test.
+
 ### `GTK_CSD`
 
 The default value of this environment variable is `1`. If changed