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

15
HISTORY
View File

@@ -1,3 +1,18 @@
2000/10/3(火)
wonx-a05 公開
XDisplay_DrawLCDWindow() を修正.無駄な計算をループ外に出した.
WWDisplay_DrawScreen() を修正.無駄な計算をループ外に出した.
ホットスポットを調べたらXの描画部分(XDisplay.c の XDisplay_DrawLCDWindow()の
ループ部分)がホットスポットになっていたので,ピクセルごとに配列を
作って,描画速度を上げた.
2000/9/30(土)
wonx-a04 公開