equal
deleted
inserted
replaced
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
158 else if (aStepName == KBenchmark_DrawImage) testStep = new CEglTest_Benchmark_DrawImage; |
158 else if (aStepName == KBenchmark_DrawImage) testStep = new CEglTest_Benchmark_DrawImage; |
159 |
159 |
160 // Benchmark - SwapBuffers |
160 // Benchmark - SwapBuffers |
161 else if (aStepName == KBenchmark_SwapBuffers) testStep = new CEglTest_Benchmark_SwapBuffers; |
161 else if (aStepName == KBenchmark_SwapBuffers) testStep = new CEglTest_Benchmark_SwapBuffers; |
162 |
162 |
163 //OOM |
163 //OOM - SgImage |
164 else if (aStepName == KOOM_CloseVGImageWithTermination) testStep = new CEglTest_OOM_CloseVGImageWithTermination; |
164 else if (aStepName == KOOM_CloseVGImageWithTermination) testStep = new CEglTest_OOM_CloseVGImageWithTermination; |
165 else if (aStepName == KOOM_CloseVGImage) testStep = new CEglTest_OOM_CloseVGImage; |
165 else if (aStepName == KOOM_CloseVGImage) testStep = new CEglTest_OOM_CloseVGImage; |
166 else if (aStepName == KOOM_ClosePixmapSurfaceWithTermination) testStep = new CEglTest_OOM_ClosePixmapSurfaceWithTermination; |
166 else if (aStepName == KOOM_ClosePixmapSurfaceWithTermination) testStep = new CEglTest_OOM_ClosePixmapSurfaceWithTermination; |
167 else if (aStepName == KOOM_ClosePixmapSurface) testStep = new CEglTest_OOM_ClosePixmapSurface; |
167 else if (aStepName == KOOM_ClosePixmapSurface) testStep = new CEglTest_OOM_ClosePixmapSurface; |
|
168 else if (aStepName == KOOM_CloseSgImageDifferentProcess) testStep = new CEglTest_OOM_CloseSgImageDifferentProcess; |
|
169 else if (aStepName == KOOM_CloseSgImageSameThread) testStep = new CEglTest_OOM_CloseSgImageSameThread; |
168 |
170 |
169 //Stress |
171 //Stress - SgImage |
170 else if (aStepName == KStress) testStep = new CEglTest_Stress; |
172 else if (aStepName == KStress) testStep = new CEglTest_Stress; |
171 |
173 |
172 return testStep; |
174 return testStep; |
173 } |
175 } |