| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use the new sysprof collector api to do tracing.
|
|
|
|
| |
Clean up references to no-longer-existing APIs.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Include docstrings and format the list of supported
values better.
Also, add the same warning we have for GTK_DEBUG when
the environment variable is ignored.
|
|
|
|
|
| |
Thread support is gone, and we don't have that
section in the docs anymore.
|
|
|
|
|
|
|
|
|
| |
This adds a GDK_DEBUG=default-settings flag which disables reads
from xsettings and Xft resources, and enables this for the testsuite.
This is one less way to get different testresults depending on the
environment. In particular, it was failing the css tests for me
due to getting the wrong font size because i have a different dpi.
|
|
|
|
|
| |
We are still not providing samples unless debugging is enabled.
That needs a bit more work.
|
|
|
|
|
|
|
|
|
|
| |
This uses the new sysprof-3 ABI to implement the capture writer. It also
uses the statically linked libsysprof-capture-3.a that is provided with
Sysprof for the capture writing to ensure that we do not leak any symbols
nor depend on any additional libraries.
The GTK_TRACE_FD can be used to pass a FD for tracing into Gtk. Sysprof
uses this when the Gtk instrument is selected for recording.
|
|
|
|
|
|
|
|
|
| |
If SYSPROF_TRACE_FD is set in the environment,
interpret it as an fd to write profiling data
to.
If GTK_TRACE is set, write profiling data
to a file with name gtk.$PID.syscap.
|
|
|
|
| |
This avoids a potential performance cost in the non-debug case.
|
|
|
|
|
|
| |
This is named gdkconstructor.h to avoid any possible conflicts. This fixes
the current usages of G_HAS_CONSTRUCTORS, as that header is not installed
by glib.
|
|
|
|
| |
Remove the + from GTK+ in the GDK docs.
|
|
|
|
|
| |
There were some internal uses of GdkEventFunc. Thankfully,
they were unused, so lets just drop them.
|
|
|
|
|
| |
We use pango_find_base_dir() in a few places, and
this api has been deprecated.
|
|
|
|
|
| |
We want to use it there too, in the future.
Update all callers.
|
|
|
|
|
| |
No need to use the runtime dir and allocate a string.
We can just check in /.
|
|\
| |
| |
| | |
# Conflicts:
# gdk/gdk.c
|
| |
| |
| |
| | |
This will be used in more places in the future.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to what has been done recently for DESKTOP_AUTOSTART_ID [1],
we need to get rid of this call to g_unsetenv() in the displays'
backends for X11 and Wayland, so that it's guarantee to happen any
thread is created, while still being accessible when needed.
Let's stash the value of this environment variable when loading the
GDK library, and provide a private method so that it can be retrieved
from the displays' backend when implementing gdk_display_make_default().
[1] https://gitlab.gnome.org/GNOME/gtk/commit/22269902
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/979
|
|
|
|
|
| |
This is the default now - at least until cairo rendering gets split
into backends.
|
|
|
|
|
|
| |
Now that we don't use them anywhere, it's time for them to go.
https://bugzilla.gnome.org/show_bug.cgi?id=793124
|
|
|
|
|
|
| |
It is not very useful. The cairo-image option on the
other hand is has been useful in tracking down problems
in the past, so we'll keep it.
|
|
|
|
| |
This doesn't seem very useful.
|
|
|
|
|
|
| |
Drop GDK_GL, GDK_VULKAN and GDK_RENDERING_MODE.
Merge the useful bits into GDK_DEBUG.
Drop unused debug flags (CURSOR).
|
|
|
|
| |
And document the existing ones.
|
|
|
|
| |
The multihead, xim and xinerama keys do nothing anymore.
|
|
|
|
| |
This does nothing but download the targets and debug-print them.
|
|
|
|
| |
It is empty now.
|
|
|
|
| |
These are no longer used.
|
|
|
|
|
| |
Together with the corresponding getter.
This is x11-specific functionality.
|
|
|
|
| |
Move gdk_disable_multidevice to gdkdisplaymanager.[hc].
|
|
|
|
| |
Since we're no longer allowing arguments, this is always NULL now.
|
|
|
|
| |
Because it has been removed: See commit 7e8eb3ddcd29ce9eecb14a56dbfeb0caf64dc772
|
|
|
|
|
| |
gdk_init is not calling g_set_prgname anymore, so just return a dummy
string from gdk_get_program_class if it has not been set before.
|
|
|
|
| |
Supporting separately initialized gdk is just not worth it.
|
| |
|
|
|
|
|
|
| |
We can't really support these on e.g. wayland anyway, and we're trying
to get rid of subwindow at totally in the long term, so lets drop this.
It allows us to drop a lot of complexity.
|
|
|
|
|
|
|
|
| |
Also add 2 flags:
GDK_VULKAN="disable" will disable Vulkan usage.
GDK_VULKAN="validate" will enable VK_LAYER_LUNARG_standard_validation.
|
|
|
|
|
|
|
| |
Adds the gdk_display_ref_vulkan() and gdk_display_unref_vulkan()
functions which setup/tear down VUlkan support for the display.
Nothing is using those functions yet.
|
| |
|
|
|
|
| |
gdk_pre_parse_libgtk_only
|
| |
|
| |
|
|
|
|
| |
We do not want it on windows
|
|
|
|
| |
There is no need to specify a display on windows.
|
|
|
|
|
|
| |
Like GTK does it.
https://bugzilla.gnome.org/show_bug.cgi?id=765576
|
|
|
|
| |
Allows forcing the selection of a GLES context.
|
|
|
|
|
| |
Having the shaders inlined as C strings makes them harder to edit and
maintain.
|
| |
|