Commit graph

11 commits

Author SHA1 Message Date
Richard Goedeken
65de6b5d79 fixed OSD crash bug after running a game, disabling OSD, then running another game 2008-06-26 20:01:33 +00:00
Richard Goedeken
a3de4b0436 re-commit for OGLFT measurement optimization. This time it compiles 2008-06-26 13:34:56 +00:00
Richard Goedeken
7d873409fa Reverted commit 682 which broke the build 2008-06-26 13:10:12 +00:00
Richard Goedeken
36b3878520 OGLFT measuring functions were taking a huge chunk of CPU time. Refactored code to measure only once and store the line size and the message sizes instead of re-measuring all the time. This eliminated nearly all of the OSD overhead on my PC 2008-06-26 05:07:57 +00:00
Richard Goedeken
40c6128d09 Refactored OGLFT to do color setting outside of glyph compiling, so the OSD fading doesnt force bitmaps to be continually recreated with calls to renderGlyph. Seems to have cut the excessive cpu usage of the OSD about by half 2008-06-26 04:31:51 +00:00
Richard Goedeken
8ccb157448 removed many unused classes from OGLFT font library code 2008-06-26 04:00:46 +00:00
Richard Goedeken
1774d589c5 issue #111: close screenshot file after saving 2008-06-15 12:38:54 +00:00
Richard Goedeken
88de0f7f80 bugfixes in OSD: no screenshots when OSD was disabled, adding new messages to OSD list even when OSD was disabled 2008-05-30 04:17:46 +00:00
Richard Goedeken
962a58f6ff A few OSD changes: disable OSD with option --noosd, replaced font with Bitstream Vera sans-serif font, used slightly smaller font size which is now also proportional to screen size. Tested with 640x480 and 1280x960 2008-05-28 03:53:32 +00:00
Richard Goedeken
85b700e9cb Moved osd.cpp from main/ into opengl/, moved screenshot code from main.c into opengl/screenshot.cpp, refactored screenshot mechanism to grab screenshots without the OSD overlay 2008-05-18 20:54:10 +00:00
Richard Goedeken
12842f44b8 New feature: On Screen Display. Merged branch r0261-OSD-ebenblues up until rev 450 into trunk 2008-05-16 04:46:48 +00:00