Ticket Hash: | ba20d6742936838e2b34b46dc9914f0baa55296d | |||
Title: | DrawChar is a bit slow | |||
Status: | Closed | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2016-09-16 18:28:43 | |||
Version Found In: | ||||
User Comments: | ||||
ziggurat29 added on 2015-03-03 15:18:17:
It would be worthwhile to study the DrawChar routines to see if a (dramatic) speedup is possible. Switching into and out of wide character mode is quite slow (e.g. spacewarp driving into a star), and emulation of video intensive operations is slowed. I don't have any specific ideas at the moment, but the fact that the character bit patterns are rotated 90 degrees does surprise me. Another thing maybe: color optimized blitting, which may simplify the code path in cases like 'green on black'. ziggurat29 added on 2016-09-16 18:28:43: font and draw char were reworked to use a row first implementation. this greatly improved blitting speed. |