Repository navigation
rexbox v0.0.27
rexbox v0.0.27
이전 릴리스 v0.0.26 이후의 변경입니다(issue #76). REXBOX_GL_CALLS=time으로 프레임당 GL 드라이버 시간을 진입점별로 잽니다. reexec/reCT3#41(밀집 장면의 CPU 비용)의 크기를 재는 진단 기능입니다.
issue
| issue | 내용 | 커밋 |
|---|---|---|
| #76 | REXBOX_GL_CALLS=time: GL 호출마다 시간을 재고, 프로파일 창마다 gl time 줄(합계, 호출 수, 타이머 추정치, cpu 대비 비율, 진입점 16개)을 출력 |
6e553d7 |
소비자가 할 일
- 코드 변경은 필요 없다. 변수를 켰을 때만 동작하고,
REXBOX_GL_CALLS=1은 지금처럼 횟수만 센다.
확인한 것
| 구성 | 확인 |
|---|---|
| rexbox | CTest 4/4, Python 테스트 6/6 |
| reCT3 Win32 x86 Release | 경고 0, CTest 7/7. 주행에서 밀집 장면(1584 draw)의 GL 시간 7.44 ms/프레임 중 glBindVertexArray가 6.66 ms |
이 기능은 Antigravity가 구현하고 Claude가 설계·검토했습니다.
rexbox v0.0.27 (English)
The changes since v0.0.26 (issue #76). REXBOX_GL_CALLS=time measures the GL driver time per frame by entry point. It is a diagnostic for sizing reexec/reCT3#41 (the CPU cost of dense scenes).
Issue: #76, REXBOX_GL_CALLS=time times every GL call, and each profile window prints a gl time line with the total, the number of calls, the timer estimate, the share of cpu and 16 entry points (6e553d7).
For consumers: no code change is needed. It works only when the variable is set, and REXBOX_GL_CALLS=1 still counts calls only.
Verified: rexbox CTest 4/4 and Python tests 6/6; reCT3 Win32 x86 Release with 0 warnings and CTest 7/7. In a drive, glBindVertexArray took 6.66 ms of the 7.44 ms of GL time per frame in a dense scene (1584 draws).
Implemented by Antigravity, designed and reviewed by Claude.