guestrendering/guestegl/src/guestegl.cpp
branchbug235_bringup_0
changeset 32 b23067389fdf
parent 31 e77cac87b397
child 42 2865e884ac3b
equal deleted inserted replaced
31:e77cac87b397 32:b23067389fdf
  1083     (void)CVghwUtils::MapToHWAddress(aSurfaceInfo.iChunk->Handle(), chunkHWBase);
  1083     (void)CVghwUtils::MapToHWAddress(aSurfaceInfo.iChunk->Handle(), chunkHWBase);
  1084     // FAISALMEMON write code to handle errors in the above function
  1084     // FAISALMEMON write code to handle errors in the above function
  1085     EGL_TRACE("CGuestEGL::EglInternalFunction_CreateSurface AFTER VGHWUtils::MapToHWAddress");
  1085     EGL_TRACE("CGuestEGL::EglInternalFunction_CreateSurface AFTER VGHWUtils::MapToHWAddress");
  1086 
  1086 
  1087 	TUint32 surfaceBufferBaseAddress(0);
  1087 	TUint32 surfaceBufferBaseAddress(0);
  1088 	(void)CVghwUtils::GetSurfaceBufferBaseAddress(frameBufferBaseAddress);
  1088 	(void)CVghwUtils::GetSurfaceBufferBaseAddress(surfaceBufferBaseAddress);
  1089 	EGL_TRACE("CGuestEGL::egliCreateSurface AFTER VGHWUtils::MapToHWAddress");
  1089 	EGL_TRACE("CGuestEGL::egliCreateSurface AFTER VGHWUtils::MapToHWAddress");
  1090 
  1090 
  1091     /* Store the pointer to the pixel data */
  1091     /* Store the pointer to the pixel data */
  1092     aSurfaceInfo.iBuffer0 = aSurfaceInfo.iChunk->Base() + offsetToFirstBuffer;
  1092     aSurfaceInfo.iBuffer0 = aSurfaceInfo.iChunk->Base() + offsetToFirstBuffer;
  1093     aSurfaceInfo.iBuffer1 = aSurfaceInfo.iChunk->Base() + offsetToSecondBuffer;
  1093     aSurfaceInfo.iBuffer1 = aSurfaceInfo.iChunk->Base() + offsetToSecondBuffer;