diff -r bbf46f59e123 -r 25ffed67c7ef egl/egltest/src/egltest_image_multiprocess.cpp --- a/egl/egltest/src/egltest_image_multiprocess.cpp Tue Aug 31 16:31:06 2010 +0300 +++ b/egl/egltest/src/egltest_image_multiprocess.cpp Wed Sep 01 12:39:21 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -19,7 +19,9 @@ */ #include // for ASSERT macros -#include +#ifndef __INIPARSER_H__ +#include +#endif // __INIPARSER_H__ #include #include "egltest_image_multiprocess.h" @@ -516,10 +518,7 @@ ASSERT_EQUALS(rSgImageLocal.Open(sgImageId), KErrNone); } - // Wait for both processes to reach this point - Rendezvous(aIdx); - - INFO_PRINTF2(_L("Process %d, Creating an EGLImage from the shared RSgImage"),aIdx); + INFO_PRINTF2(_L("Process %d, Creating an EGLImage from the shared RSgImage"),aIdx); CleanupClosePushL(rSgImageLocal); EGLImageKHR eglImageLocal = iEglSess->eglCreateImageKhrL(iDisplay, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, &rSgImageLocal, KEglImageAttribsPreservedTrue); ASSERT_EGL_TRUE(eglImageLocal != EGL_NO_IMAGE_KHR); @@ -696,9 +695,6 @@ ASSERT_EQUALS(rSgImageLocal.Open(sgImageId),KErrNone); } - // Wait for both processes to reach this point - Rendezvous(aIdx); - INFO_PRINTF2(_L("Process %d, Creating an EGLImage from the shared RSgImage"),aIdx); CleanupClosePushL(rSgImageLocal); EGLImageKHR eglImageLocal = iEglSess->eglCreateImageKhrL(iDisplay, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, &rSgImageLocal, KEglImageAttribsPreservedTrue); @@ -1466,7 +1462,6 @@ TInt stride = bitmap->DataStride(); address += (bitmapSize.iHeight - 1) * stride; vgWritePixels(address, -stride, iSurfaceFormat, 0,0, bitmapSize.iWidth, bitmapSize.iHeight); - eglWaitClient(); // wait for writing to finish delete bitmap; bitmap = NULL; ASSERT_TRUE(vgGetError()==VG_NO_ERROR); @@ -2111,9 +2106,6 @@ ASSERT_EQUALS(rSgImageLocal.Open(sgImageId),KErrNone); } - // Wait for both processes to reach this point - Rendezvous(aIdx); - INFO_PRINTF2(_L("Process %d, Creating an EGLImage from the shared RSgImage"),aIdx); CleanupClosePushL(rSgImageLocal); EGLImageKHR eglImageLocal = iEglSess->eglCreateImageKhrL(iDisplay, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, &rSgImageLocal, KEglImageAttribsPreservedTrue);