bool NativeRenderSurfaceEcoreWl::PreRender(bool resizingSurface, const std::vector<Rect<int>>& damagedRects, Rect<int>& clippingRect)
{
- if(!clippingRect.IsEmpty())
- {
- mDamagedRects.assign(damagedRects.begin(), damagedRects.end());
- }
- else
- {
- mDamagedRects.clear();
- }
-
- // TODO: Need to support partial update
- // This is now done when the render pass for the render surface begins
- // MakeContextCurrent();
+ // Not support partial update
+ clippingRect = Rect<int32_t>(0, 0, mSurfaceSize.GetWidth(), mSurfaceSize.GetHeight());
return true;
}
if(eglGraphics)
{
Internal::Adaptor::EglImplementation& eglImpl = eglGraphics->GetEglImplementation();
- eglImpl.SwapBuffers(mEGLSurface, mDamagedRects);
+ eglImpl.SwapBuffers(mEGLSurface);
}
if(mRenderNotification)