cogl-winsys-egl-wayland: Report an error if we can't find the globals we need

Instead of spinning forever, do a roundtrip, which guarantees that the
global messages have been sent by the time we read the sync message.

If the proper globals aren't initialized yet, error out immediately. This
does mean that users can't use CoglOnscreen with foreign custom surface
types without xdg_shell, but when a use case comes for this, we'll
investigate then...

Reviewed-by: Neil Roberts <neil@linux.intel.com>
cogl-winsys-egl-kms: Add cogl_kms_renderer_set_kms_fd

Reviewed-by: Neil Roberts <neil@linux.intel.com>
cogl-winsys-egl-kms: Make sure to close our connection to DRM at shutdown

Reviewed-by: Neil Roberts <neil@linux.intel.com>
Set COGL_WINSYS_FEATURE_BUFFER_AGE on EGL

This winsys feature flag is exposed via the deprecated
cogl_clutter_winsys_has_feature function and Clutter is curently
relying on it. Previously the EGL winsys was only setting the internal
COGL_EGL_WINSYS_FEATURE_BUFFER_AGE flag and there was no mapping to
the public flag. Therefore the feature would only be used on GLX. This
patch just adds the mapping.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
cogl-gst-plugin: Fix the license name in the plugin description

In commit 1b83ef938f the license in the plugin description was changed
from “LGPL” to “MIT”. GStreamer strictly whitelists the names of the
licenses and the correct name for the MIT license is “MIT/X11” so it
was rejecting the plugin.

Reviewed-by: Robert Bragg <robert.bragg@intel.com>
cogl/cogl-renderer.c: Avoid Clash with Newer Windows SDKs

The DriverCallback is a function that is defined by the Windows SDK 8.0+
headers, which was initially used for device driver development.  The use
of DriverCallback would cause a clash, causing things to break when built
with newer Windows SDKs, so rename DriverCallback to CoglDriverCallback to
avoid this problem.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 001cffd783cfcce9f68bd976891f11760b2f89cc)
cogl-pango-pipeline-cache.c: Include forgotten header

The private header is needed as the cogl_texture_get_format API was made
private, so that C4013 (implicit declaration of ...) warnings/errors can
be avoided

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit bb10532f4b11cba169ace6d9e26543fe6f70ad8f)
mingw: Try adding a -w64 suffix when searching for a suitable compiler

On 64-bit fedora the 32-bit MinGW compiler is called
i686-w64-mingw32-gcc which wasn't being picked up by the
mingw-fetch-depdencies script.

Reviewed-by: Robert Bragg <robert.bragg@intel.com>