Pause the Adaptor
The window is rotated or resized
ForceNextUpdate - it may be by texture uploading
CombinedUpdateRenderController::mUploadWithoutRendering = true;
So rendering is skipped
We should render the scene to send an ack to the window server in case of the window rotaion even though the Adaptor is paused.
Change-Id: Ibd3ea8eb7a91a601537a89b6db5b72955c54a45b
LOG_UPDATE_RENDER_TRACE;
// For thread safe
- bool uploadOnly = mUploadWithoutRendering;
+ bool uploadOnly = mUploadWithoutRendering;
+ unsigned int surfaceResized = mSurfaceResized;
// Performance statistics are logged upon a VSYNC tick so use this point for a VSync marker
AddPerformanceMarker(PerformanceInterface::VSYNC);
// Upload shared resources
mCore.PreRender(renderStatus, mForceClear);
- if(!uploadOnly)
+ if(!uploadOnly || surfaceResized)
{
// Go through each window
WindowContainer windows;