From e84ebfbf293e9617501831a8344ba8a990238867 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 2 Apr 2023 13:52:56 -0400 Subject: docs: Document new environment variables Add GSK_MAX_TEXTURE_SIZE and GDK_DEBUG=gl-fractional to the docs. --- docs/reference/gtk/running.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.1