epoc32/include/WF/wfcplatform.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/WF/wfcplatform.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +/*********************************************************************
     1.5 + *                                                                   *
     1.6 + * Sample implementation of wfcplatform.h, version 1.0, draft 18     *
     1.7 + *                                                                   *
     1.8 + * Copyright � 2007-2009 The Khronos Group                           *
     1.9 + *                                                                   *
    1.10 + *********************************************************************/
    1.11 +
    1.12 +#ifndef _WFCPLATFORM_H_
    1.13 +#define _WFCPLATFORM_H_
    1.14 +
    1.15 +#include <KHR/khrplatform.h>
    1.16 +#include <EGL/egl.h>
    1.17 +
    1.18 +#ifdef __cplusplus
    1.19 +extern "C" {
    1.20 +#endif
    1.21 +
    1.22 +#ifndef WFC_API_CALL
    1.23 +#define WFC_API_CALL KHRONOS_APICALL
    1.24 +#endif
    1.25 +#ifndef WFC_APIENTRY
    1.26 +#define WFC_APIENTRY KHRONOS_APIENTRY
    1.27 +#endif
    1.28 +#ifndef WFC_APIEXIT
    1.29 +#define WFC_APIEXIT KHRONOS_APIATTRIBUTES
    1.30 +#endif
    1.31 +
    1.32 +#ifndef WFC_DEFAULT_SCREEN_NUMBER
    1.33 +#define WFC_DEFAULT_SCREEN_NUMBER (0)
    1.34 +#endif
    1.35 +
    1.36 +typedef khronos_int32_t     WFCint;
    1.37 +typedef khronos_float_t     WFCfloat;
    1.38 +typedef khronos_uint32_t    WFCbitfield;
    1.39 +typedef khronos_uint32_t    WFCHandle;
    1.40 +
    1.41 +typedef EGLDisplay          WFCEGLDisplay;
    1.42 +typedef void*               WFCEGLSync;   /* An opaque handle to an EGLSyncKHR */
    1.43 +typedef WFCHandle           WFCNativeStreamType;
    1.44 +
    1.45 +#ifdef __cplusplus
    1.46 +}
    1.47 +#endif
    1.48 +
    1.49 +#endif /* _WFCPLATFORM_H_ */