summaryrefslogtreecommitdiff
path: root/gdk/gdkdebug.h
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Replace GTK_USE_PORTAL env var with GDK_DEBUG flagBenjamin Otte2022-06-241-13/+14
| | | | | | | It's a debug flag, so make it clear that it is one. Related: Clowns on the Arch wiki on https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Consistent_file_dialog
* gdk: hdr => high depthBenjamin Otte2021-10-061-1/+1
| | | | | | | | | | | | The term "hdr" is so overloaded, we shouldn't use them anywhere, except from maybe describing all of this work in blog posts and other marketing materials. So do renames: * hdr => high_depth * request_hdr => prefers_high_depth This more accurately describes what is going on.
* gdk: Add GDK_DEBUG=hdrBenjamin Otte2021-10-061-0/+1
| | | | | | | | Forces request_hdr = TRUE for all requests. Backends should also use this when choosing whether to honor HDR requests for low quality compositors - as long as the compositor pretends to support HDR, shovel HDR at it.
* gdk: Don't include gdkinternals.h in gdk-private.hBenjamin Otte2021-09-241-1/+4
|
* GDK: Add debug option for WGL usageChun-wei Fan2021-07-221-3/+4
| | | | | | This way, one can force using WGL on Windows even if EGL support was enabled. Also update the help text for gl-egl as it will apply for Windows, albeit a bit later.
* x11: Redo choice between EGL and GLXBenjamin Otte2021-07-221-4/+5
| | | | | | | | | | | | | We try EGL first, but are very picky about what we accept. If that fails, we try to go with GLX instead. And if that also fails, we try EGL again, but this time accept anything. The idea here is that EGL is the preferred method going forward, but GLX is the tried and tested method that we know works. So if we detect issues with EGL, we want to avoid using it in favor of GLX. Also add a GDK_DEBUG=gl-egl option to force EGL at all costs and not try GLX.
* x11: Add debug toggle for preferring GLXEmmanuele Bassi2021-05-101-3/+4
| | | | Mostly as a way to compare the EGL and GLX implementations.
* gdk: Slim down gdkinternals.h moreMatthias Clasen2020-08-141-0/+73
Move things to the private headers they belong in.