1 /*
2  * Copyright (C) 2021 Red Hat Inc.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef META_REF_TEST_H
19 #define META_REF_TEST_H
20 
21 #include <glib.h>
22 
23 #include "clutter/clutter/clutter.h"
24 #include "meta/boxes.h"
25 
26 typedef enum _MetaReftestFlag
27 {
28   META_REFTEST_FLAG_NONE = 0,
29   META_REFTEST_FLAG_UPDATE_REF = 1 << 0,
30 } MetaReftestFlag;
31 
32 void meta_ref_test_verify_view (ClutterStageView *view,
33                                 const char       *test_name,
34                                 int               test_seq_no,
35                                 MetaReftestFlag   flags);
36 
37 MetaReftestFlag meta_ref_test_determine_ref_test_flag (void);
38 
39 #endif /* META_REF_TEST_H */
40