Bug 1885 "libWFCu.def exports" NewGraphicsArchitecture
authorMatt Plumtree <matt.plumtree@nokia.com>
Thu, 05 Aug 2010 12:20:08 +0100
branchNewGraphicsArchitecture
changeset 141 f5b6a43d0d2d
parent 140 13a436a0995b
child 143 3db46cb3f779
Bug 1885 "libWFCu.def exports"
graphicscomposition/openwfcinterface/bwins/libWFCu.def
graphicscomposition/openwfcinterface/eabi/libWFCu.def
graphicscomposition/openwfcinterface/include/wfcplatform.h
graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c
--- a/graphicscomposition/openwfcinterface/bwins/libWFCu.def	Thu Aug 05 12:17:46 2010 +0100
+++ b/graphicscomposition/openwfcinterface/bwins/libWFCu.def	Thu Aug 05 12:20:08 2010 +0100
@@ -26,7 +26,7 @@
 	wfcGetElementAttribiv @ 25 NONAME
 	wfcGetElementBelow @ 26 NONAME
 	wfcGetError @ 27 NONAME
-	wfcGetOnScreenStream @ 28 NONAME
+	extwfcGetOnScreenStream @ 28 NONAME
 	wfcGetStrings @ 29 NONAME
 	wfcInsertElement @ 30 NONAME
 	wfcIsExtensionSupported @ 31 NONAME
--- a/graphicscomposition/openwfcinterface/eabi/libWFCu.def	Thu Aug 05 12:17:46 2010 +0100
+++ b/graphicscomposition/openwfcinterface/eabi/libWFCu.def	Thu Aug 05 12:20:08 2010 +0100
@@ -26,7 +26,7 @@
 	wfcGetElementAttribiv @ 25 NONAME
 	wfcGetElementBelow @ 26 NONAME
 	wfcGetError @ 27 NONAME
-	wfcGetOnScreenStream @ 28 NONAME
+	extwfcGetOnScreenStream @ 28 NONAME
 	wfcGetStrings @ 29 NONAME
 	wfcInsertElement @ 30 NONAME
 	wfcIsExtensionSupported @ 31 NONAME
--- a/graphicscomposition/openwfcinterface/include/wfcplatform.h	Thu Aug 05 12:17:46 2010 +0100
+++ b/graphicscomposition/openwfcinterface/include/wfcplatform.h	Thu Aug 05 12:20:08 2010 +0100
@@ -30,6 +30,9 @@
 #define WFC_DEFAULT_SCREEN_NUMBER (0)
 #endif
 
+/* for backward compatibility of wfcGetOnScreenStream symbol use */
+#define wfcGetOnScreenStream extwfcGetOnScreenStream
+
 typedef khronos_int32_t     WFCint;
 typedef khronos_float_t     WFCfloat;
 typedef khronos_uint32_t    WFCbitfield;
--- a/graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c	Thu Aug 05 12:17:46 2010 +0100
+++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c	Thu Aug 05 12:20:08 2010 +0100
@@ -1001,7 +1001,7 @@
 /*=========================================================================*/
 
 WFC_API_CALL WFCNativeStreamType WFC_APIENTRY
-wfcGetOnScreenStream(WFCDevice dev, WFCContext ctx) WFC_APIEXIT
+extwfcGetOnScreenStream(WFCDevice dev, WFCContext ctx) WFC_APIEXIT
 {
 	WFC_DEVICE*             device;
 	WFC_CONTEXT*            context;