Fix XDisplay_DrawLCDWindow (). I put useless calculations out of the loop.

Fix WWDisplay_DrawScreen ().  I put useless calculations out of the loop.

After examining the hotspot, the drawing part of X (XDisplay_DrawLCDWindow () in XDisplay.c
Loop part) became a hot spot, so arrange the array for each pixel
I made it and raised drawing speed.

Version 0.0.5 alpha - from wonx-a05.tar.gz
This commit is contained in:
Hiroaki Sakai
2000-10-03 12:00:00 +09:00
committed by Godzil
parent aa38e7adab
commit 0cc1bd45ae
4 changed files with 69 additions and 40 deletions

View File

@@ -2,8 +2,8 @@ XINCLUDEDIR = /usr/X11R6/include
INCLUDEDIR = .
XLIBDIR = /usr/X11R6/lib
VERSION = Wonx-a04
PKGNAME = wonx-a04
VERSION = Wonx-a05
PKGNAME = wonx-a05
OBJS = WWCharacter.o WWColorMap.o WWDisplay.o WWLCDPanel.o WWPalette.o WWScreen.o WWSprite.o WonxDisplay.o XDisplay.o bank.o comm.o disp.o text.o key.o sound.o system.o timer.o etc.o wonx.o