"Initial commit to Gerrit"
[profile/ivi/cogl.git] / cogl / winsys / cogl-winsys-wgl-feature-functions.h
1 /*
2  * Cogl
3  *
4  * An object oriented GL/GLES Abstraction/Utility Layer
5  *
6  * Copyright (C) 2011 Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library. If not, see
20  * <http://www.gnu.org/licenses/>.
21  *
22  *
23  * Authors:
24  *   Neil Roberts <neil@linux.intel.com>
25  */
26
27 /* See cogl-winsys-glx-feature-functions.h for a description of how
28    this file is used */
29
30 COGL_WINSYS_FEATURE_BEGIN (swap_control,
31                            "EXT\0",
32                            "swap_control\0",
33                            0,
34                            0,
35                            COGL_WINSYS_FEATURE_SWAP_THROTTLE)
36 COGL_WINSYS_FEATURE_FUNCTION (int, wglSwapInterval,
37                               (int interval))
38 COGL_WINSYS_FEATURE_END ()