summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-04-02 13:52:56 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-04-02 13:52:56 -0400
commite84ebfbf293e9617501831a8344ba8a990238867 (patch)
treee5c718477e881674b75b88ce9d3c4e7b6648239b
parent80ccfd2138a002714add7432d4998dcafd8f01d5 (diff)
downloadgtk+-e84ebfbf293e9617501831a8344ba8a990238867.tar.gz
docs: Document new environment variables
Add GSK_MAX_TEXTURE_SIZE and GDK_DEBUG=gl-fractional to the docs.
-rw-r--r--docs/reference/gtk/running.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/reference/gtk/running.md b/docs/reference/gtk/running.md
index fd2821e3b2..de7fb00b70 100644
--- a/docs/reference/gtk/running.md
+++ b/docs/reference/gtk/running.md
@@ -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