Ticket #19335

テキスト描画がむちゃんこ遅い

Open Date: 2009-10-25 18:14 Last Update: 2009-10-25 18:20

Reporter:
Owner:
(None)
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

20描画くらいでFPS40くらいにまで落ちるんだけど・・・。

どうも ID3DXFont::DrawText() 自体がクソ遅いとの噂も散見。

http://www3.pf-x.net/~chopper/home2/DirectX/CDX29.html

絶望的か・・・

Ticket History (3/5 Histories)

2009-10-25 18:14 Updated by: myun2
  • New Ticket "テキスト描画がむちゃんこ遅い" created
2009-10-25 18:15 Updated by: myun2
  • Type Update from Support Request to Feature Requests
2009-10-25 18:16 Updated by: myun2
  • Type Update from Feature Requests to パフォーマンス問題
  • Details Updated
2009-10-25 18:18 Updated by: myun2
Comment

案その1:  使う文字を全部、どっかのテクスチャに描いておいて、後はそっから1文字ずつ張り付ける。・・・とか・・・。ああ、でも幅が固定じゃないフォントは無理か・・・。

2009-10-25 18:20 Updated by: myun2
Comment

CMglText::Draw() にてスプライト全体描画にしてるのが原因かな、とも思ってみたが、全然関係なかった。(FPS変わらず・・・)

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login