xref: /aosp_15_r20/external/mesa3d/src/egl/main/eglconfigdebug.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /**************************************************************************
2  * Copyright 2017 Imagination Technologies.
3  * All Rights Reserved.
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the
7  * "Software"), to deal in the Software without restriction, including
8  * without limitation the rights to use, copy, modify, merge, publish,
9  * distribute, sub license, and/or sell copies of the Software, and to
10  * permit persons to whom the Software is furnished to do so, subject to
11  * the following conditions:
12  *
13  * The above copyright notice and this permission notice (including the
14  * next paragraph) shall be included in all copies or substantial portions
15  * of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23  * DEALINGS IN THE SOFTWARE.
24  *
25  **************************************************************************/
26 
27 #ifndef EGLCONFIGDEBUG_INCLUDED
28 #define EGLCONFIGDEBUG_INCLUDED
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 #include "egltypedefs.h"
35 
36 /**
37  * Print the list of configs and the associated attributes.
38  */
39 void
40 eglPrintConfigDebug(const _EGLDisplay *const disp,
41                     const EGLConfig *const configs, EGLint numConfigs,
42                     EGLBoolean printChosen);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* EGLCONFIGDEBUG_INCLUDED */
49