Add MMP files to build libOpenVG_sw.lib which uses LINKAS to redirect to libOpenVG.dll (and
the same for libEGL_sw.lib and libOpenVGU_sw.lib).
Only the libEGL_sw.lib redirection isn't activated - this can't happen until there is a merged
libEGL.dll which supports the OpenWF synchronisation and also implements the graphical support functions.
The overall aim is to eliminate the *_sw.dll implementations, at least as a compile-time way of choosing
a software-only implementation.The correct way to choose is to put the right set of libraries into a ROM
with suitable renaming, and in the emulator to use the "switching DLL" technique to pick the right set.
As the Symbian Foundation doesn't have any alternative implementations, we don't need the switching DLLs
and we can build directly to the correct name.
/*********************************************************************
* *
* Sample implementation of wfcplatform.h, version 1.0, draft 18 *
* *
* Copyright � 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 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_ */