协程架构重构成功, 下一步准备指针交换 无锁化重构

This commit is contained in:
2026-07-23 08:51:05 +08:00
parent 8c8cc8707b
commit c3e96d2f86
13 changed files with 475 additions and 230 deletions
+2
View File
@@ -17,6 +17,7 @@ namespace YSG {
AfterglowRenderState* sc = pd->renderStateCache();
AfterglowTempData* td = pd->tempDataCache();
SpinLockGuard _guard(&pd->mBufferLock);
RenderEditGuard _editGuard(pd);
sc->frequentPointSize = std::move(t);
sc->update_PointSize(sc->frequentPointSize, sc->powerPointSize);
}
@@ -25,6 +26,7 @@ namespace YSG {
AfterglowRenderState* sc = pd->renderStateCache();
AfterglowTempData* td = pd->tempDataCache();
SpinLockGuard _guard(&pd->mBufferLock);
RenderEditGuard _editGuard(pd);
sc->powerPointSize = std::move(t);
sc->update_PointSize(sc->frequentPointSize, sc->powerPointSize);
}