cogl: Install cogl-trace.h and include from cogl.h

This is so that cogl-trace.h can start using things from cogl-macros.h,
and so that it doesn't leak cogl-config.h into the world, while exposing
it to e.g. gnome-shell so that it can make use of it as well. There is
no practical reason why we shouldn't just include cogl-trace.h via
cogl.h as we do with everything else.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1059
This commit is contained in:
Jonas Ådahl
2020-02-17 18:32:35 +01:00
parent 8699482475
commit 238e41d493
20 changed files with 75 additions and 69 deletions

View File

@@ -39,7 +39,7 @@
#include <X11/Xutil.h> /* Just for the definition of the various gravities */
#include "clutter/clutter.h"
#include "cogl/cogl-trace.h"
#include "cogl/cogl.h"
#include "meta/common.h"
#include "meta/main.h"
@@ -769,7 +769,7 @@ destroy_later (MetaLater *later)
unref_later (later);
}
#ifdef HAVE_TRACING
#ifdef COGL_HAS_TRACING
static const char *
later_type_to_string (MetaLaterType when)
{