• Alexander Larsson's avatar
    Add GDK_GL env var and GdkGLFlags · 90a5fa80
    Alexander Larsson authored
    This moves the GDK_ALWAYS_USE_GL env var to GDK_GL=always.
    It also changes GDK_DEBUG=nogl to GDK_GL=disable, as GDK_DEBUG
    is really only about debug loggin.
    It also adds some completely new flags:
       Always use software fallback for drawing gl content to a cairo_t.
       This disables the fastpaths that exist for drawing directly to
       a window and instead reads back the pixels into a cairo image
       Always use software fallback for drawing cairo surfaces onto a
       gl-using window.  This disables e.g. texture-from-pixmap on X11.
       Enables both the above.
gdkglobals.c 1.43 KB