summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-02-03 17:44:57 +0000
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2015-02-23 10:07:35 +0900
commit0041eca8884bc2dc626ffd2630f267aadd9dc24d (patch)
tree8c70ca071a42dd4b8d7eef9b23917cbde8b90a35 /ivi-layermanagement-examples
parent0ea58ff8a4575e7b0c7eaa310fad36a1b2f04f17 (diff)
downloadwayland-ivi-extension-0041eca8884bc2dc626ffd2630f267aadd9dc24d.tar.gz
ilmControl: Remove ilm_getNumberOfHardwareLayers
Removed because hardware layers aren't supported in weston Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
Diffstat (limited to 'ivi-layermanagement-examples')
-rw-r--r--ivi-layermanagement-examples/LayerManagerControl/src/control.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
index b7efbc1..f8fd7d4 100644
--- a/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
+++ b/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
@@ -53,7 +53,7 @@ void getCommunicatorPerformance()
{
int runs = 0;
int runtimeInSec = 5;
- unsigned int hwLayerCnt = 0;
+ ilmScreenProperties screenProperties;
cout << "running performance test for " << runtimeInSec << " seconds... ";
flush(cout);
@@ -67,11 +67,11 @@ void getCommunicatorPerformance()
{
t_ilm_uint screenid = 0;
- ilmErrorTypes callResult = ilm_getNumberOfHardwareLayers(screenid, &hwLayerCnt);
+ ilmErrorTypes callResult = ilm_getPropertiesOfScreen(screenid, &screenProperties);
if (ILM_SUCCESS != callResult)
{
cout << "LayerManagerService returned: " << ILM_ERROR_STRING(callResult) << "\n";
- cout << "Failed to get number of hardware layers for screen with ID " << screenid << "\n";
+ cout << "Failed to get properties for screen with ID " << screenid << "\n";
return;
}