diff -r b3f964e007c8 -r 841b49c57c50 egl/egltest/src/egltestcommoninisettings.cpp --- a/egl/egltest/src/egltestcommoninisettings.cpp Wed May 19 14:34:22 2010 +0100 +++ b/egl/egltest/src/egltestcommoninisettings.cpp Tue Jun 01 15:04:40 2010 +0100 @@ -153,7 +153,40 @@ { return size; } - return TSize(0,0); } +EXPORT_C TSize CEglTestCommonIniSettings::GetWindowSize(const TDesC& aSectioName) + { + _LIT(KKeyWindowWidth, "WindowWidth"); + _LIT(KKeyWindowHeight, "WindowHeight"); + TSize size(0, 0); + if(iIniData->FindVar(aSectioName, KKeyWindowWidth, size.iWidth) && + iIniData->FindVar(aSectioName, KKeyWindowHeight, size.iHeight)) + { + return size; + } + return TSize(0,0); + } + +EXPORT_C TInt CEglTestCommonIniSettings::GetThresholdGPUUsedMemory(const TDesC& aSectioName) + { + _LIT(KKeyThresholdGPUUsedMemory, "ThresholdGPUUsedMemory"); + TInt thresholdGPUUsedMemory = 0; + if(iIniData->FindVar(aSectioName, KKeyThresholdGPUUsedMemory, thresholdGPUUsedMemory)) + { + return thresholdGPUUsedMemory; + } + return 0; + } + +EXPORT_C TInt CEglTestCommonIniSettings::GetThresholdLastIteration(const TDesC& aSectioName) + { + _LIT(KKeyThresholdLastIteration, "ThresholdLastIteration"); + TInt thresholdLastIteration = 0; + if(iIniData->FindVar(aSectioName, KKeyThresholdLastIteration, thresholdLastIteration)) + { + return thresholdLastIteration; + } + return 0; + }