[AD] [ alleg-Bugs-2781153 ] Bug with text outputs |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Bugs item #2781153, was opened at 2009-04-25 10:47
Message generated for change (Settings changed) made by brunoja
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2781153&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 4.9
Status: Open
Resolution: None
>Priority: 5
Private: No
Submitted By: Bruno Adami (brunoja)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug with text outputs
Initial Comment:
I have noticed that the text ouput is slowing a little my game, making it use more and more CPU time.
I made a test with ex_ttf.c and the same thing happens.
There is a thread here on Allegro.cc that discusses it:
http://www.allegro.cc/forums/thread/599845
Thank you :)
----------------------------------------------------------------------
Comment By: Lucas Junqueira Adami (lucasadami)
Date: 2009-05-14 13:00
Message:
I'm Bruno's brother,
I'm under Windows. I tested it with OpenGL and it stills use too much CPU.
I will try to explain better this bug with 2 examples that my brother will
attach here:
The first example is a loop where a bitmap (relative big bitmap) is drawn
on the screen. The CPU usage for this program is around 2%.
The second example is a loop where a text is drawn on the screen. The CPU
usage for this program is around 40%!
Text routines are using too much CPU and making the program run slowly.
I hope this explain better the bug :)
----------------------------------------------------------------------
Comment By: Elias Pschernig (elias)
Date: 2009-05-13 17:11
Message:
Can't reproduce. Which platform are you using? If Windows, did you try with
the OpenGL instead of DirectX driver, and does it fix the problem?
----------------------------------------------------------------------
Comment By: Bruno Adami (brunoja)
Date: 2009-05-13 16:10
Message:
No replies? :/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2781153&group_id=5665