summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-04-02 18:43:55 +0000
committerMatthias Clasen <mclasen@redhat.com>2023-04-02 18:43:55 +0000
commitf7554f3a9789a80e35550b8e062489db920b9781 (patch)
tree7a40cf38a962868a6a7fe14a550be5a669a968a5
parentdef6a78c8825088e7993a47752bc8c49304c8bd9 (diff)
parent9b2a49b7b57cc42a611a0de84206712ff3efd005 (diff)
downloadgtk+-f7554f3a9789a80e35550b8e062489db920b9781.tar.gz
Merge branch 'docs-updates' into 'main'
docs: Document new environment variables See merge request GNOME/gtk!5777
-rw-r--r--NEWS4
-rw-r--r--docs/reference/gtk/running.md10
2 files changed, 13 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f198ae469a..043d136d14 100644
--- a/NEWS
+++ b/NEWS
@@ -14,7 +14,8 @@ Overview of Changes in 4.11.1, xx-xx-xxxx
- Make list grid and column views inert when not rendering
* Drag-and-Drop:
- - Support resizing drag surfaces
+ - Support resizing drag surfaces, using the new
+ GdkDragSurface::compute-size signal
* Theme:
- Port .boxed-list style from Adwaita
@@ -55,6 +56,7 @@ Overview of Changes in 4.11.1, xx-xx-xxxx
* Deprecations:
- gtk_widget_translate_coordinates
+ - gdk_surface_create_similar_surface
* Documentation:
- Add a section on coordinate systems
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