mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
43 lines
852 B
C
43 lines
852 B
C
/*
|
|
* \brief Genode-specific EGL platform definitions
|
|
* \author Norman Feske
|
|
* \date 2010-07-01
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2010-2013 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 *EGLNativePixmapType;
|
|
|
|
struct Genode_egl_window
|
|
{
|
|
int width;
|
|
int height;
|
|
unsigned char *addr;
|
|
};
|
|
|
|
typedef struct Genode_egl_window *EGLNativeWindowType;
|
|
|
|
typedef khronos_int32_t EGLint;
|
|
|
|
#endif /* __eglplatform_h_ */
|