diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-07-01 14:11:14 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-07-06 18:41:04 +0900 |
commit | 9c1540cad13ada16f0088dcaab702b1423c7e56e (patch) | |
tree | d066c80b626bd90a2102df61c57719785f684950 /ivi-layermanagement-examples | |
parent | d29b94e6bc9220676010a268959507409f2de24e (diff) | |
download | wayland-ivi-extension-9c1540cad13ada16f0088dcaab702b1423c7e56e.tar.gz |
LayerManagerControl: remove ilm_surfaceSetNativeContent calls
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'ivi-layermanagement-examples')
-rw-r--r-- | ivi-layermanagement-examples/LayerManagerControl/src/common.cpp | 7 | ||||
-rw-r--r-- | ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp | 13 |
2 files changed, 0 insertions, 20 deletions
diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/common.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/common.cpp index 8bfe376..a0be389 100644 --- a/ivi-layermanagement-examples/LayerManagerControl/src/common.cpp +++ b/ivi-layermanagement-examples/LayerManagerControl/src/common.cpp @@ -479,13 +479,6 @@ void setScene(t_scene_data* pScene, bool clean) t_ilm_surface surface = it->first; ilmSurfaceProperties& props = it->second; - ilm_surfaceSetNativeContent(props.nativeSurface, - props.origSourceWidth, - props.origSourceHeight, - (e_ilmPixelFormat) props.pixelformat, - surface); - ilm_commitChanges(); - ilm_surfaceSetOpacity(surface, props.opacity); ilm_commitChanges(); diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp index 96f9422..787034b 100644 --- a/ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp +++ b/ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp @@ -496,19 +496,6 @@ void restoreSceneHelper(IlmSurface* pIlmsurface) pIlmsurface->get("id", &surfaceId); ilmSurfaceProperties props = getSurfaceProperties(pIlmsurface); - ilmPixelFormat pixelFormat; - pixelFormat = toPixelFormat(props.pixelformat); - - ilmErrorTypes callResult = ilm_surfaceSetNativeContent(props.nativeSurface, props.origSourceWidth, - props.origSourceHeight, pixelFormat, surfaceId); - if (ILM_SUCCESS != callResult) - { - cout << "LayerManagerService returned: " << ILM_ERROR_STRING(callResult) << "\n"; - cout << "Failed to set native content for surface with ID " << surfaceId << ")\n"; - } - - ilm_commitChanges(); - ilm_surfaceSetOpacity(surfaceId, props.opacity); ilm_commitChanges(); ilm_surfaceSetOrientation(surfaceId, props.orientation); |