_IndicatorManager::ReleaseInstance();
-#ifdef VE_EFL
- _DisplayManager::ReleaseInstance();
- _AnimationManager::ReleaseInstance();
-#else
- _GlDisplayManager::ReleaseInstance();
- _AnimationManager::ReleaseInstance();
-#endif
+
_AccessibilityManager::ReleaseInstance();
_KeyEventManager::ReleaseInstance();
_DimmingManager::ReleaseInstance();
_UiEventManager::Release();
-
+#ifdef VE_EFL
+ _DisplayManager::ReleaseInstance();
+ _AnimationManager::ReleaseInstance();
+#else
+ _GlDisplayManager::ReleaseInstance();
+ _AnimationManager::ReleaseInstance();
+#endif
}
_Window*
#define PRINT printf
+#ifndef GL_BGRA_EXT
+#warning "GL_BGRA_EXT is not support. GL_BGRA_EXT is defined with GL_BGRA value."
+#ifndef GL_BGRA
+#error "GL_BGRA is not support"
+#endif
+#define GL_BGRA_EXT GL_BGRA
+#endif
+
namespace Tizen { namespace Ui { namespace Animations {
#define NATIVE_PIXMAP_PADDING_VALUE 2 // depends on target
{
if (IsSupportedBGRA())
{
-#if defined(_OSP_EMUL_)
- //glTexImage2D(GL_TEXTURE_2D, 0, GL_BGRA, pTextureInfo->width, pTextureInfo->height, 0, GL_BGRA, GL_UNSIGNED_BYTE, pTextureInfo->pPixels);
- glTexImage2D(GL_TEXTURE_2D, 0, GL_BGRA_EXT, pTextureInfo->width, pTextureInfo->height, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, pTextureInfo->pPixels);
-#else
glTexImage2D(GL_TEXTURE_2D, 0, GL_BGRA_EXT, pTextureInfo->width, pTextureInfo->height, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, pTextureInfo->pPixels);
-#endif
}
else
{
{
if (IsSupportedBGRA())
{
-#if defined(_OSP_EMUL_)
- //glTexSubImage2D(GL_TEXTURE_2D, 0, pSurfaceInfo->x, pSurfaceInfo->y, pSurfaceInfo->width, pSurfaceInfo->height, GL_BGRA, GL_UNSIGNED_BYTE, pSurfaceInfo->pPixels);
- glTexSubImage2D(GL_TEXTURE_2D, 0, pSurfaceInfo->x, pSurfaceInfo->y, pSurfaceInfo->width, pSurfaceInfo->height, GL_BGRA_EXT, GL_UNSIGNED_BYTE, pSurfaceInfo->pPixels);
-#else
glTexSubImage2D(GL_TEXTURE_2D, 0, pSurfaceInfo->x, pSurfaceInfo->y, pSurfaceInfo->width, pSurfaceInfo->height, GL_BGRA_EXT, GL_UNSIGNED_BYTE, pSurfaceInfo->pPixels);
-#endif
}
else
{