#include "FUiAnim_GlVisualElementSurfaceImpl.h"
#include "FUiAnim_VisualElementSurfaceManager.h"
+
+#ifdef _OSP_ARMEL_
+#define USE_EGL_IMAGE
+#endif
+
//#define PRINT(...) fprintf(stderr, __VA_ARGS__)
#define PRINT(...)
}
else
{
-#ifdef _OSP_ARMEL_
+#ifdef USE_EGL_IMAGE
__textureInfo.type = TEXTURE_EGL_IMAGE;
#else
__textureInfo.type = TEXTURE_NORMAL;
__textureInfo.pGlContext = (_GlContext*)__pLayer->GetContext();
#endif
-#ifdef _OSP_ARMEL_
+#ifdef USE_EGL_IMAGE
__textureInfo.type = TEXTURE_EGL_IMAGE;
#else
__textureInfo.type = TEXTURE_NORMAL;
__textureInfo.pGlContext = (_GlContext*)__pLayer->GetContext();
#endif
-#ifdef _OSP_ARMEL_
+#ifdef USE_EGL_IMAGE
__textureInfo.type = TEXTURE_EGL_IMAGE;
#else
__textureInfo.type = TEXTURE_NORMAL;
_GlVisualElementSurfaceImpl::SetImage(const String& fileName)
{
#ifndef BUILD_UI_CORE
+
Tizen::Media::Image image;
image.Construct();