mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
52 lines
1.4 KiB
/********************************************************************* |
|
* * |
|
* Sample implementation of wfcplatform.h, version 1.0, draft 19 * |
|
* * |
|
* Copyright (c) 2007-2009 The Khronos Group * |
|
* * |
|
*********************************************************************/ |
|
|
|
#ifndef _WFCPLATFORM_H_ |
|
#define _WFCPLATFORM_H_ |
|
|
|
#include "../KHR/khrplatform.h" |
|
#include "../EGL/egl.h" |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
#ifndef WFC_API_CALL |
|
#define WFC_API_CALL KHRONOS_APICALL |
|
#endif |
|
#ifndef WFC_APIENTRY |
|
#define WFC_APIENTRY KHRONOS_APIENTRY |
|
#endif |
|
#ifndef WFC_APIEXIT |
|
#define WFC_APIEXIT KHRONOS_APIATTRIBUTES |
|
#endif |
|
|
|
#ifndef WFC_DEFAULT_SCREEN_NUMBER |
|
#define WFC_DEFAULT_SCREEN_NUMBER (0) |
|
#endif |
|
|
|
typedef enum { |
|
WFC_FALSE = 0, |
|
WFC_TRUE = 1, |
|
WFC_BOOLEAN_FORCE_32BIT = 0x7FFFFFFF |
|
} WFCboolean; |
|
|
|
typedef khronos_int32_t WFCint; |
|
typedef khronos_float_t WFCfloat; |
|
typedef khronos_uint32_t WFCbitfield; |
|
typedef khronos_uint32_t WFCHandle; |
|
|
|
typedef EGLDisplay WFCEGLDisplay; |
|
typedef void *WFCEGLSync; /* An opaque handle to an EGLSyncKHR */ |
|
typedef WFCHandle WFCNativeStreamType; |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /* _WFCPLATFORM_H_ */
|
|
|