PDA

View Full Version : Sj30/U 8-bit CopyRectangle trouble


Gold
02-20-2003, 05:49 AM
peg-sj30/u, LCD in 160x160 mode. First digit is time of WinCopyRectangle 160x160xX from offscreen to offscreen, second is offscreen to screen

1bpp: 3.31, 3.48ms
2bpp: 4.41, 4.65ms
4bpp: 6.76, 7.15ms
8bpp: 10.05, 35.18ms

35ms??? Must be about 11ms :( Where is source of this problem? It is not lo/hires problem, because i can copy 8bpp directly from offscreen bits to video memory 6.29ms and see good picture. But i don't want work sirectly with video mevory, i want to use only comatible system functions. It is not palette problem, i call winPaletteSetToDefault at startup. Who can help me with this problem? :(

ps. sorry for my english :)

Gold
02-20-2003, 06:22 AM
ps. if to clear forScreen bit at screen bitmap before WinCopyRectangle and set it back after, then it work 11ms...