# HG changeset patch # User Jon Medhurst # Date 1287761561 -3600 # Node ID 07904b9e3bd7285a02d67188514aef70eb150f4f # Parent 3e31350c24909def4cb6ca6af39bef2d5ce7a185 Update EGL surface creation to initialise the surface stride. This gets the EBT test program to finally draw it's red line! diff -r 3e31350c2490 -r 07904b9e3bd7 guestrendering/guestegl/src/guestegl.cpp --- a/guestrendering/guestegl/src/guestegl.cpp Fri Oct 22 14:10:40 2010 +0100 +++ b/guestrendering/guestegl/src/guestegl.cpp Fri Oct 22 16:32:41 2010 +0100 @@ -286,6 +286,8 @@ surfaceInfo->iConfigId = aConfig; surfaceInfo->iSurfaceManager.Open(); surfaceInfo->iSurfaceManager.CreateSurface(buf, surfaceInfo->iSurfaceId); + surfaceInfo->iStride = attributes.iStride; + TInt err = surfaceInfo->iSurfaceManager.MapSurface(surfaceInfo->iSurfaceId, surfaceInfo->iChunk); EGL_TRACE("CGuestEGL::eglCreateWindowSurface surface manager returned chunk %x and ret val %d", surfaceInfo->iChunk, err); RemoteFunctionCallData rfcdata;