guestrendering/guestegl/src/guestegl.cpp
branchbug235_bringup_0
changeset 30 f204b762818d
parent 19 da7c1a80df0d
child 31 e77cac87b397
equal deleted inserted replaced
29:2fcf0803a8bd 30:f204b762818d
  1087 
  1087 
  1088     /* Store the pointer to the pixel data */
  1088     /* Store the pointer to the pixel data */
  1089     aSurfaceInfo.iBuffer0 = aSurfaceInfo.iChunk->Base() + offsetToFirstBuffer;
  1089     aSurfaceInfo.iBuffer0 = aSurfaceInfo.iChunk->Base() + offsetToFirstBuffer;
  1090     aSurfaceInfo.iBuffer1 = aSurfaceInfo.iChunk->Base() + offsetToSecondBuffer;
  1090     aSurfaceInfo.iBuffer1 = aSurfaceInfo.iChunk->Base() + offsetToSecondBuffer;
  1091 
  1091 
  1092     aSurfaceInfo.iBuffer0Index = (chunkHWBase + offsetToFirstBuffer) - VVI_FRAMEBUFFER_BASE_ADDRESS;
  1092     aSurfaceInfo.iBuffer0Index = (chunkHWBase + offsetToFirstBuffer) - VVI_SURFACEBUFFER_BASE_ADDRESS;
  1093     aSurfaceInfo.iBuffer1Index = (chunkHWBase + offsetToSecondBuffer) - VVI_FRAMEBUFFER_BASE_ADDRESS;
  1093     aSurfaceInfo.iBuffer1Index = (chunkHWBase + offsetToSecondBuffer) - VVI_SURFACEBUFFER_BASE_ADDRESS;
  1094     EGL_TRACE("CGuestEGL::EglInternalFunction_CreateSurface %u %x %x %x %x",chunkHWBase, offsetToFirstBuffer, offsetToSecondBuffer,
  1094     EGL_TRACE("CGuestEGL::EglInternalFunction_CreateSurface %u %x %x %x %x",chunkHWBase, offsetToFirstBuffer, offsetToSecondBuffer,
  1095     		aSurfaceInfo.iBuffer0Index,
  1095     		aSurfaceInfo.iBuffer0Index,
  1096     		aSurfaceInfo.iBuffer1Index);
  1096     		aSurfaceInfo.iBuffer1Index);
  1097 
  1097 
  1098     if ( !EglInternalFunction_CallSetSurfaceParams(aThreadState, aDisplay, aSurface, aSurfaceInfo) )
  1098     if ( !EglInternalFunction_CallSetSurfaceParams(aThreadState, aDisplay, aSurface, aSurfaceInfo) )