exch-bms2 / beatoraja

Cross-platform rhythm game based on Java and libGDX.
GNU General Public License v3.0
635 stars 148 forks source link

add skin Paformance counter only if debug on. #818

Closed ich59669 closed 1 month ago

ich59669 commented 1 month ago

デバッグ時の情報テキストの位置をpublic static finalで定義ました。 デバッグ時のみ、F1で表示される情報にスキン描画パフォーマンスカウンタを追加しました。 skinObjectのサブクラス毎にPrepare, Drawで分けて0.1μs単位で計測しています。 7つの数字は左から、オブジェクト数、Prepare時間、移動平均、最大、Draw時間、移動平均、最大