equal
deleted
inserted
replaced
|
1 /********************************************************************* |
|
2 * * |
|
3 * Sample implementation of wfcplatform.h, version 1.0, draft 18 * |
|
4 * * |
|
5 * Copyright � 2007-2009 The Khronos Group * |
|
6 * * |
|
7 *********************************************************************/ |
|
8 |
|
9 #ifndef _WFCPLATFORM_H_ |
|
10 #define _WFCPLATFORM_H_ |
|
11 |
|
12 #include <KHR/khrplatform.h> |
|
13 #include <EGL/egl.h> |
|
14 |
|
15 #ifdef __cplusplus |
|
16 extern "C" { |
|
17 #endif |
|
18 |
|
19 #ifndef WFC_API_CALL |
|
20 #define WFC_API_CALL KHRONOS_APICALL |
|
21 #endif |
|
22 #ifndef WFC_APIENTRY |
|
23 #define WFC_APIENTRY KHRONOS_APIENTRY |
|
24 #endif |
|
25 #ifndef WFC_APIEXIT |
|
26 #define WFC_APIEXIT KHRONOS_APIATTRIBUTES |
|
27 #endif |
|
28 |
|
29 #ifndef WFC_DEFAULT_SCREEN_NUMBER |
|
30 #define WFC_DEFAULT_SCREEN_NUMBER (0) |
|
31 #endif |
|
32 |
|
33 typedef khronos_int32_t WFCint; |
|
34 typedef khronos_float_t WFCfloat; |
|
35 typedef khronos_uint32_t WFCbitfield; |
|
36 typedef khronos_uint32_t WFCHandle; |
|
37 |
|
38 typedef EGLDisplay WFCEGLDisplay; |
|
39 typedef void* WFCEGLSync; /* An opaque handle to an EGLSyncKHR */ |
|
40 typedef WFCHandle WFCNativeStreamType; |
|
41 |
|
42 #ifdef __cplusplus |
|
43 } |
|
44 #endif |
|
45 |
|
46 #endif /* _WFCPLATFORM_H_ */ |