Mir
egl_sync_extensions.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2016 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * authored by: Kevin DuBois <kevin.dubois@canonical.com>
17  */
18 
19 #ifndef MIR_GRAPHICS_EGL_SYNC_EXTENSIONS_H_
20 #define MIR_GRAPHICS_EGL_SYNC_EXTENSIONS_H_
21 
22 #define GL_GLEXT_PROTOTYPES
23 #define EGL_EGLEXT_PROTOTYPES
24 
25 //Xenial egl has started needing a header (android/native_window.h)
26 //That we don't have in the android-headers package yet.
27 #include <EGL/egl.h>
28 #include <EGL/eglext.h>
29 #include <GLES2/gl2.h>
30 #include <GLES2/gl2ext.h>
31 
32 namespace mir
33 {
34 namespace graphics
35 {
36 
38 {
40  PFNEGLCREATESYNCKHRPROC const eglCreateSyncKHR;
41  PFNEGLDESTROYIMAGEKHRPROC const eglDestroySyncKHR;
42  PFNEGLCLIENTWAITSYNCKHRPROC const eglClientWaitSyncKHR;
43 };
44 
45 }
46 }
47 
48 #endif /* MIR_GRAPHICS_EGL_SYNC_EXTENSIONS_H_ */
All things Mir.
Definition: atomic_callback.h:25
PFNEGLDESTROYIMAGEKHRPROC const eglDestroySyncKHR
Definition: egl_sync_extensions.h:41
Definition: egl_sync_extensions.h:37
PFNEGLCREATESYNCKHRPROC const eglCreateSyncKHR
Definition: egl_sync_extensions.h:40
PFNEGLCLIENTWAITSYNCKHRPROC const eglClientWaitSyncKHR
Definition: egl_sync_extensions.h:42
EGLSyncExtensions()
Definition: egl_sync_extensions.cpp:25

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016