genode/libports/include/EGL/eglplatform.h
2012-01-03 15:35:05 +01:00

35 lines
753 B
C

/*
* \brief Genode-specific EGL platform definitions
* \author Norman Feske
* \date 2010-07-01
*/
/*
* Copyright (C) 2010-2012 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef __eglplatform_h_ /* include-guard named as on the other platforms */
#define __eglplatform_h_
#include <KHR/khrplatform.h>
#ifndef EGLAPI
#define EGLAPI KHRONOS_APICALL
#endif
#ifndef EGLAPIENTRY
#define EGLAPIENTRY KHRONOS_APIENTRY
#endif
#define EGLAPIENTRYP EGLAPIENTRY*
typedef int EGLNativeDisplayType;
typedef void *EGLNativeWindowType;
typedef void *EGLNativePixmapType;
typedef khronos_int32_t EGLint;
#endif /* __eglplatform_h_ */