mirror of
https://github.com/brl/mutter.git
synced 2025-08-02 14:44:40 +00:00
core: Add private utility function to get Clutter debug flags
This will be used to fetch the debug flags from backend code. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1862>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
#include "clutter/clutter.h"
|
||||
#include "clutter/clutter-mutter.h"
|
||||
#include "cogl/cogl.h"
|
||||
#include "meta/common.h"
|
||||
#include "meta/main.h"
|
||||
@@ -769,6 +769,14 @@ meta_remove_clutter_debug_flags (ClutterDebugFlag debug_flags,
|
||||
clutter_remove_debug_flags (debug_flags, draw_flags, pick_flags);
|
||||
}
|
||||
|
||||
void
|
||||
meta_get_clutter_debug_flags (ClutterDebugFlag *debug_flags,
|
||||
ClutterDrawDebugFlag *draw_flags,
|
||||
ClutterPickDebugFlag *pick_flags)
|
||||
{
|
||||
clutter_get_debug_flags (debug_flags, draw_flags, pick_flags);
|
||||
}
|
||||
|
||||
void
|
||||
meta_add_debug_paint_flag (MetaDebugPaintFlag flag)
|
||||
{
|
||||
|
Reference in New Issue
Block a user