| 128 | } |
| 129 | |
| 130 | void RenderThread::StopAlgorithm() { |
| 131 | OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_PRINT_DOMAIN, "RenderThread", |
| 132 | "StopAlgorithm."); |
| 133 | PostTask([this](EglRenderContext &renderContext) { |
| 134 | algorithm_running_ = false; |
| 135 | algorithm_.reset(); |
| 136 | }); |
| 137 | } |
| 138 | |
| 139 | void RenderThread::UpdateSplitRatio(float ratio) { |
| 140 | OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_PRINT_DOMAIN, "RenderThread", |