diff options
author | Dongeup Ham <dongeup.ham@samsung.com> | 2012-12-21 17:01:27 +0900 |
---|---|---|
committer | Dongeup Ham <dongeup.ham@samsung.com> | 2012-12-21 17:01:27 +0900 |
commit | e26e2c8c9c8ea73a710ad8e8c4e4ece1512c55cb (patch) | |
tree | 07ebfa28cba12b58b349bae8f9f5731779f6bee2 /src/XmlHandler/ManifestHandler.cpp | |
parent | 52e23c7accf3fcfd82835d3ad40cf19d2aacb927 (diff) | |
download | installer-e26e2c8c9c8ea73a710ad8e8c4e4ece1512c55cb.tar.gz installer-e26e2c8c9c8ea73a710ad8e8c4e4ece1512c55cb.tar.bz2 installer-e26e2c8c9c8ea73a710ad8e8c4e4ece1512c55cb.zip |
HwAcceleration feature applied
Change-Id: I81ee563a5b891e736c564495bb5065a9b51f6089
Signed-off-by: Dongeup Ham <dongeup.ham@samsung.com>
Diffstat (limited to 'src/XmlHandler/ManifestHandler.cpp')
-rwxr-xr-x | src/XmlHandler/ManifestHandler.cpp | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/src/XmlHandler/ManifestHandler.cpp b/src/XmlHandler/ManifestHandler.cpp index 62060b4..7cc8a5f 100755 --- a/src/XmlHandler/ManifestHandler.cpp +++ b/src/XmlHandler/ManifestHandler.cpp @@ -427,11 +427,20 @@ ManifestHandler::OnUiAppStartElement(void) AppLogTag(OSP_INSTALLER, " - MainmenuVisible=%s", pMainmenuVisible); } - char* pGlFrame = pAttr->Find("GlFrame"); - if (pGlFrame) + char* pHwAcceleration = pAttr->Find("HwAcceleration"); + if (pHwAcceleration) { - AddAppFeature("GlFrame", pGlFrame); - AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame); + AddAppFeature("HwAcceleration", pHwAcceleration); + AppLogTag(OSP_INSTALLER, " - HwAcceleration=%s", pHwAcceleration); + } + else + { + char* pGlFrame = pAttr->Find("GlFrame"); + if (pGlFrame) + { + AddAppFeature("GlFrame", pGlFrame); + AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame); + } } char* pCategory = pAttr->Find("Category"); @@ -562,11 +571,20 @@ ManifestHandler::OnServiceAppStartElement(void) AppLogTag(OSP_INSTALLER, "<UseUi=%s>", pUseUi); } - char* pGlFrame = pAttr->Find("GlFrame"); - if (pGlFrame) + char* pHwAcceleration = pAttr->Find("HwAcceleration"); + if (pHwAcceleration) { - AddAppFeature("GlFrame", pGlFrame); - AppLogTag(OSP_INSTALLER, "<GlFrame=%s>", pGlFrame); + AddAppFeature("HwAcceleration", pHwAcceleration); + AppLogTag(OSP_INSTALLER, " - HwAcceleration=%s", pHwAcceleration); + } + else + { + char* pGlFrame = pAttr->Find("GlFrame"); + if (pGlFrame) + { + AddAppFeature("GlFrame", pGlFrame); + AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame); + } } String app_id; |