1 /*
2  * GStreamer
3  * Copyright (C) 2015 Matthew Waters <matthew@centricular.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef _OPENGL_VERSIONS_H_
22 #define _OPENGL_VERSIONS_H_
23 
24 /* list of known OpenGL versions */
25 /* *INDENT-OFF* */
26 static const struct { int major, minor; } opengl_versions[] = {
27    {4, 5},
28    {4, 4},
29    {4, 3},
30    {4, 2},
31    {4, 1},
32    {4, 0},
33 
34    {3, 3},
35    {3, 2},
36    {3, 1},
37    {3, 0},
38 
39    {2, 1},
40    {2, 0},
41 
42    {1, 5},
43    {1, 4},
44    {1, 3},
45    {1, 2},
46    {1, 1},
47    {1, 0},
48 
49    {0, 0} /* end of list */
50 };
51 
52 /* *INDENT-ON* */
53 
54 #endif /* _OPENGL_VERSIONS_H_ */
55