projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[Tizen] Do not call PreRender if rendering will be skipped"
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
adaptor
/
common
/
combined-update-render-controller.cpp
diff --git
a/dali/internal/adaptor/common/combined-update-render-controller.cpp
b/dali/internal/adaptor/common/combined-update-render-controller.cpp
index
c8e0d1b
..
356cec0
100644
(file)
--- a/
dali/internal/adaptor/common/combined-update-render-controller.cpp
+++ b/
dali/internal/adaptor/common/combined-update-render-controller.cpp
@@
-694,7
+694,7
@@
void CombinedUpdateRenderController::UpdateRenderThread()
mDamagedRects.clear();
// Collect damage rects
mDamagedRects.clear();
// Collect damage rects
- mCore.PreRender(
windowRenderStatus,
scene, mDamagedRects);
+ mCore.PreRender(scene, mDamagedRects);
// Render off-screen frame buffers first if any
mCore.RenderScene(windowRenderStatus, scene, true);
// Render off-screen frame buffers first if any
mCore.RenderScene(windowRenderStatus, scene, true);
@@
-702,10
+702,7
@@
void CombinedUpdateRenderController::UpdateRenderThread()
Rect<int> clippingRect; // Empty for fbo rendering
// Switch to the context of the surface, merge damaged areas for previous frames
Rect<int> clippingRect; // Empty for fbo rendering
// Switch to the context of the surface, merge damaged areas for previous frames
- if(windowRenderStatus.NeedsUpdate())
- {
- windowSurface->PreRender(sceneSurfaceResized, mDamagedRects, clippingRect); // Switch GL context
- }
+ windowSurface->PreRender(sceneSurfaceResized, mDamagedRects, clippingRect); // Switch GL context
// Render the surface
mCore.RenderScene(windowRenderStatus, scene, false, clippingRect);
// Render the surface
mCore.RenderScene(windowRenderStatus, scene, false, clippingRect);