mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
gdk: Add GDK_DEBUG=linear for experimental linear rendering
This is a temporary solution to allow testing how well linear rendering already works while refactoring code. This will be removed once linear rendering is the default.
This commit is contained in:
parent
2f4e19d514
commit
01ca59ea91
@ -120,6 +120,7 @@ static const GdkDebugKey gdk_debug_keys[] = {
|
|||||||
{ "dmabuf", GDK_DEBUG_DMABUF, "Information about dmabuf buffers" },
|
{ "dmabuf", GDK_DEBUG_DMABUF, "Information about dmabuf buffers" },
|
||||||
{ "offload", GDK_DEBUG_OFFLOAD, "Information about subsurfaces and graphics offload" },
|
{ "offload", GDK_DEBUG_OFFLOAD, "Information about subsurfaces and graphics offload" },
|
||||||
|
|
||||||
|
{ "linear", GDK_DEBUG_LINEAR, "Enable linear rendering" },
|
||||||
{ "portals", GDK_DEBUG_PORTALS, "Force use of portals" },
|
{ "portals", GDK_DEBUG_PORTALS, "Force use of portals" },
|
||||||
{ "no-portals", GDK_DEBUG_NO_PORTALS, "Disable use of portals" },
|
{ "no-portals", GDK_DEBUG_NO_PORTALS, "Disable use of portals" },
|
||||||
{ "force-offload", GDK_DEBUG_FORCE_OFFLOAD, "Force graphics offload for all textures" },
|
{ "force-offload", GDK_DEBUG_FORCE_OFFLOAD, "Force graphics offload for all textures" },
|
||||||
|
@ -40,6 +40,7 @@ typedef enum {
|
|||||||
GDK_DEBUG_OFFLOAD = 1 << 12,
|
GDK_DEBUG_OFFLOAD = 1 << 12,
|
||||||
|
|
||||||
/* flags below are influencing behavior */
|
/* flags below are influencing behavior */
|
||||||
|
GDK_DEBUG_LINEAR = 1 << 13,
|
||||||
GDK_DEBUG_PORTALS = 1 << 14,
|
GDK_DEBUG_PORTALS = 1 << 14,
|
||||||
GDK_DEBUG_NO_PORTALS = 1 << 15,
|
GDK_DEBUG_NO_PORTALS = 1 << 15,
|
||||||
GDK_DEBUG_GL_DISABLE = 1 << 16,
|
GDK_DEBUG_GL_DISABLE = 1 << 16,
|
||||||
|
Loading…
Reference in New Issue
Block a user