- }
- else
- {
- DALI_LOG_RELEASE_INFO( "RenderManager::Render: Skip rendering [%d, %d, %d]\n", haveInstructions, mImpl->lastFrameWasRendered, forceClear );
- }
-
- mImpl->UpdateTrackers();
-
- // If this frame was rendered due to instructions existing, we mark this so we know to clear the next frame.
- mImpl->lastFrameWasRendered = haveInstructions;
-
- /**
- * The rendering has finished; swap to the next buffer.
- * Ideally the update has just finished using this buffer; otherwise the render thread
- * should block until the update has finished.
- */
- mImpl->renderBufferIndex = (0 != mImpl->renderBufferIndex) ? 0 : 1;
-
- DALI_PRINT_RENDER_END();
-}
-
-void RenderManager::DoRender( RenderInstruction& instruction )
-{
- Rect<int32_t> viewportRect;
- Vector4 clearColor;
-
- if ( instruction.mIsClearColorSet )
- {
- clearColor = instruction.mClearColor;
- }
- else
- {
- clearColor = Dali::RenderTask::DEFAULT_CLEAR_COLOR;
- }