Skip to content

rexbox v0.0.28

Choose a tag to compare

@github-actions github-actions released this 07 Nov 02:37
· 5 commits to main since this release
f552fac

rexbox v0.0.28

이전 릴리스 v0.0.27 이후의 변경입니다(issue #78). 모든 draw가 정점 배열(VAO) 하나를 씁니다. 캐시된 정점 구간마다 VAO를 두던 방식(#23)은, 밀집 장면에서 드라이버가 VAO마다 검증하는 비용 때문에 프레임당 수 ms를 썼습니다.

issue

issue 내용 커밋
#78 구간별 VAO를 걷어내고 스트림 VAO 하나로 그림. 실험 스위치로 두 방식을 비교한 뒤 결정 198d97c, 158477e

소비자가 할 일

  • 코드 변경은 필요 없다. 설정도 없다(실험 스위치 REXBOX_GL_VAO는 결정 뒤 걷어냈다).

확인한 것

구성 확인
rexbox CTest 4/4, Python 테스트 6/6
reCT3 Win32 x86 Release 경고 0, CTest 7/7. 밀집 주행 구간(draw 12301300) 59.259.3 fps, cpu 8.38.9 ms/프레임, GL 0.9 ms/프레임(전에는 5457 fps, cpu 12.714.3 ms, GL 4.14.6 ms)

이 변경은 Antigravity가 구현하고 Claude가 설계·검토·측정했습니다.


rexbox v0.0.28 (English)

The changes since v0.0.27 (issue #78). Every draw uses one vertex array (VAO). The VAO per cached vertex range (#23) cost several ms per frame in dense scenes, because the driver validates each VAO.

Issue: #78, the per-range VAOs are removed and draws go through the one stream VAO, decided after comparing both with an experiment switch (198d97c, 158477e).

For consumers: no code change and no setting. The experiment switch REXBOX_GL_VAO was removed after the decision.

Verified: rexbox CTest 4/4 and Python tests 6/6; reCT3 Win32 x86 Release with 0 warnings and CTest 7/7. In the dense driving stretches (1230–1300 draws) the game ran at 59.2–59.3 fps with 8.3–8.9 ms of CPU and 0.9 ms of GL per frame, against 54–57 fps, 12.7–14.3 ms and 4.1–4.6 ms before.

Implemented by Antigravity; designed, reviewed and measured by Claude.